How to inflict a state to user and target at the same time.

Lord Vectra

Master Eventer
Veteran
Joined
Dec 6, 2015
Messages
211
Reaction score
336
First Language
English
Primarily Uses
RMVXA
This does not require eventing.
 
This is how you do it.
State 1 = State to Target
State 2 = State to Caster
 
b.add_state(1); if b.state?(1); a.add_state(2); else; 0; end; damage formula
 
There you go   :D
 
If you want it to be done by chance, I suggest using this:
Let's say you want a 60% chance for states to work
 
rand(100) <= 60 ? b.add_state(1); if b.state?(1); a.add_state(2); else; 0; end; damage formula
 
Any questions or problems?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,990
Members
137,562
Latest member
tamedeathman
Top