Home Gallery Resources The Team Rules chat Login Register
Pages: [1]
Author Topic: How to Create A Luck-Based Attack (Roll a Die Event)  (Read 543 times)
0 Members and 1 Guest are viewing this topic.
ABloodyCanadian
Ellipsis Abuser…
Brawl Vault Staff
****
Offline Offline

Posts: 2953


Background processes...

  • Awards KCMM Veteran Super Saiyan Topic Hey! Listen! Famous Hacker Ceiling Cat

  • View Profile Awards
    « on: December 27, 2012, 10:26:29 PM »


    Ever wanted to create an attack in PSA that works pretty similar to Mr.Game&Watch's Side Special? Well good! Here's a little something that would help out! And you don't need to use Multiple Actions/SubActions to do this! That's right! You can create a Luck-Based Jab if you want to! So without further ado, open the spoilers to see the command list.

    If Value: (Requirement: Roll a Die) (Value: X)
       *1st Case here*
    Else If Value: (Requirement: Roll a Die) (Value: X)
       *2nd Case here*
    End If


    If you want to, you can add more than 2 cases by adding another Else If Value Event between your previous case, and your End If Event. The Value is how often the case would occur. Let's say if I placed the number 5. The case has a 1 in 5 chance of doing it.

    I hope this will be helpful in future PSAs. I will update this as more is discovered about this.
    « Last Edit: September 10, 2014, 04:47:21 PM by A Bloody Canadian » Logged


    Chaoszard
    Extreme Kitten
    *******
    Offline Offline

    Posts: 357


    Everyone have a dark side.

  • Awards Sniper Warm Welcomer Concerned Elector Tutorial Writer

  • View Profile Awards
    « Reply #1 on: January 08, 2013, 11:55:20 AM »


    I already noticed this event and i used it for some characters.
    I noticed something that may be useful to know, when i tried to put more than 4 "roll a dice" it did not work properly. With 5 i had 1 - 2 - 3 - 5 which were working but not the 4th. I didn't try more.
    So, do you have the same issue ?
    Logged


    No more into brawl hacking as long as Fighter.pac remains not editable, also i don't have time for that anymore for the moment.
    PSA/Moveset HERE : http://forums.kc-mm.com/index.php?topic=41974.0
    STAGES HERE : http://forums.kc-mm.com/index.php?topic=60399.0

    ABloodyCanadian
    Ellipsis Abuser…
    Brawl Vault Staff
    ****
    Offline Offline

    Posts: 2953


    Background processes...

  • Awards KCMM Veteran Super Saiyan Topic Hey! Listen! Famous Hacker Ceiling Cat

  • View Profile Awards
    « Reply #2 on: January 09, 2013, 11:59:37 AM »


    What I found is that the number is the 1/X chance that it will happen. So if that chance did not meet, it will go to the next Else if Event. Which is pretty much 1/X -1. If you're saying 4 does not work... idk...
    « Last Edit: January 09, 2013, 12:01:07 PM by A Bloody Canadian » Logged


    Chaoszard
    Extreme Kitten
    *******
    Offline Offline

    Posts: 357


    Everyone have a dark side.

  • Awards Sniper Warm Welcomer Concerned Elector Tutorial Writer

  • View Profile Awards
    « Reply #3 on: January 11, 2013, 07:13:34 AM »


    In fact i had a collision in all dice rolls and the 4th was always ignored. No hit, no damage.
    Logged


    No more into brawl hacking as long as Fighter.pac remains not editable, also i don't have time for that anymore for the moment.
    PSA/Moveset HERE : http://forums.kc-mm.com/index.php?topic=41974.0
    STAGES HERE : http://forums.kc-mm.com/index.php?topic=60399.0

    ABloodyCanadian
    Ellipsis Abuser…
    Brawl Vault Staff
    ****
    Offline Offline

    Posts: 2953


    Background processes...

  • Awards KCMM Veteran Super Saiyan Topic Hey! Listen! Famous Hacker Ceiling Cat

  • View Profile Awards
    « Reply #4 on: January 11, 2013, 07:46:19 AM »


    Okay, let's say I have 3 Cases... Here's how it looks...

    If Value (Requirement: Roll a Die) (Value: 3)
       *1st Case Here*
    Else If Value (Value: 2)
       *2nd Case Here*
    Else If Value (Value: 1)
       *3rd Case Here*
    End If


    Notice how I subtracted the number Value by 1? Let's say it goes to the 3rd Case. And the Value is 2. There's a 50% chance that the 3rd Case will happen. If it does not do the 3rd Case, nothing will happen because it already bypassed the 1st and 2nd cases. Does that make sense?
    « Last Edit: January 11, 2013, 07:49:20 AM by A Bloody Canadian » Logged


    Chaoszard
    Extreme Kitten
    *******
    Offline Offline

    Posts: 357


    Everyone have a dark side.

  • Awards Sniper Warm Welcomer Concerned Elector Tutorial Writer

  • View Profile Awards
    « Reply #5 on: January 11, 2013, 09:23:52 AM »


    I'm not saying i can't get this to work, of course it works ! Mostly i have 4 cases and everything works perfectly.
    BUT when i wanted to do 5 cases, something weird happened, cases 1, 2, 3 and 5 were working, but not the 4th !
    Now what i want to know is : have you ever tried with 5 cases or more, and if yes, did it work perfcectly ?
    Logged


    No more into brawl hacking as long as Fighter.pac remains not editable, also i don't have time for that anymore for the moment.
    PSA/Moveset HERE : http://forums.kc-mm.com/index.php?topic=41974.0
    STAGES HERE : http://forums.kc-mm.com/index.php?topic=60399.0

    ABloodyCanadian
    Ellipsis Abuser…
    Brawl Vault Staff
    ****
    Offline Offline

    Posts: 2953


    Background processes...

  • Awards KCMM Veteran Super Saiyan Topic Hey! Listen! Famous Hacker Ceiling Cat

  • View Profile Awards
    « Reply #6 on: January 11, 2013, 09:26:49 AM »


    I'll try that when I get home... if what you're saying is true, then I guess I better change this to tell them to make no more than 4 Cases...
    Logged


    Fortresst
    Advanced Kitten
    ***
    Offline Offline

    Posts: 27


    Toan PQCDT

  • Awards RAGE!!

  • View Profile Awards
    « Reply #7 on: August 23, 2013, 12:14:18 AM »


    I found out that with mario's fireball you can just add more special offense collisions and it will work, but you can't change how often it will occur.
    Logged

    ABloodyCanadian
    Ellipsis Abuser…
    Brawl Vault Staff
    ****
    Offline Offline

    Posts: 2953


    Background processes...

  • Awards KCMM Veteran Super Saiyan Topic Hey! Listen! Famous Hacker Ceiling Cat

  • View Profile Awards
    « Reply #8 on: August 23, 2013, 01:59:48 PM »


    I'm confused... Are you not setting them to different ids or what?
    Logged


    Pages: [1]
    Print
    Jump to: