- Joined
- Aug 6, 2016
- Messages
- 95
- Reaction score
- 5
- First Language
- English
- Primarily Uses
Hey guys.
Quick question here.... I want to apply a state to user when using an attacking skill.
On the script, I used something like this:
when /customdamage/i
value+=a.add_state(7);(120 + a.atk * 4 - b.def * 2)*(b.state?(9) ? 0 : 1)*(b.state?(32) ? 0 : 1);
But everytime the skill hits, it says "Nil cannot be coerced into Fixnum"
Is it possible to do this? Thanks.
Quick question here.... I want to apply a state to user when using an attacking skill.
On the script, I used something like this:
when /customdamage/i
value+=a.add_state(7);(120 + a.atk * 4 - b.def * 2)*(b.state?(9) ? 0 : 1)*(b.state?(32) ? 0 : 1);
But everytime the skill hits, it says "Nil cannot be coerced into Fixnum"
Is it possible to do this? Thanks.
Last edited by a moderator:

