Kitty Corp Meow Mix Forums

Help & Tutorials => A/A Tutorials => Topic started by: ABloodyCanadian on December 27, 2012, 10:26:29 PM



Title: How to Create A Luck-Based Attack (Roll a Die Event)
Post by: ABloodyCanadian 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.


Title: Re: How to Create A Luck-Based Attack
Post by: Chaoszard 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 ?


Title: Re: How to Create A Luck-Based Attack
Post by: ABloodyCanadian 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...


Title: Re: How to Create A Luck-Based Attack
Post by: Chaoszard 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.


Title: Re: How to Create A Luck-Based Attack
Post by: ABloodyCanadian 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?


Title: Re: How to Create A Luck-Based Attack
Post by: Chaoszard 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 ?


Title: Re: How to Create A Luck-Based Attack
Post by: ABloodyCanadian 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...


Title: Re: How to Create A Luck-Based Attack
Post by: Fortresst 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.


Title: Re: How to Create A Luck-Based Attack
Post by: ABloodyCanadian on August 23, 2013, 01:59:48 PM
I'm confused... Are you not setting them to different ids or what?