Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def change_damage(hp_damage, mp_damage, critical = false, animation_id = 0)
- return if @animation_id == Configs::LEVEL_UP_ANIMATION_ID
- actor.result.hp_damage = hp_damage
- actor.result.mp_damage = mp_damage
- actor.result.critical = critical
- @animation_id = animation_id
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement