In VX you could use the following line in the damage formula of a skill to apply a buff on a character:
a.add_buff(2,3); a.mat*1.5-b.mdf*1
(just an example)
This doesn't seem to work anymore in the damage field of MV. Is there any equivalent for it?
Same question about the rand()
[a.atk*1-b.def*1, 1+rand(2)].max
(again, just an example)
This was working on Ace but no longer is on MV. Any equivalent?
And finally (sorry for the many questions) what is the way (if any) to use a variable and to test a condition (for instance if a switch is on) through the damage formula?
a.add_buff(2,3); a.mat*1.5-b.mdf*1
(just an example)
This doesn't seem to work anymore in the damage field of MV. Is there any equivalent for it?
Same question about the rand()
[a.atk*1-b.def*1, 1+rand(2)].max
(again, just an example)
This was working on Ace but no longer is on MV. Any equivalent?
And finally (sorry for the many questions) what is the way (if any) to use a variable and to test a condition (for instance if a switch is on) through the damage formula?