- Joined
- Mar 14, 2015
- Messages
- 109
- Reaction score
- 18
- First Language
- French
- Primarily Uses
Hi. I've recently started messing with the damage formula. What I'm trying to do is trying to make a skill that is togglable on/off; It would both add a state to the user that would remove mana every turn, but also add a state to enemies that would deal damage every turn.
This is my current formula (with only the first state applied, damage will come later as I figure the first part)
if a.state?(68);a.remove_state(68);else:a.add_state(68);end
Which may be worded wrong. Any advice on that one?
This is my current formula (with only the first state applied, damage will come later as I figure the first part)
if a.state?(68);a.remove_state(68);else:a.add_state(68);end
Which may be worded wrong. Any advice on that one?
