Advertisement
marlosgama

Untitled

Apr 6th, 2020
624
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.29 KB | None | 0 0
  1.   def change_damage(hp_damage, mp_damage, critical = false, animation_id = 0)
  2.     return if @animation_id == Configs::LEVEL_UP_ANIMATION_ID
  3.     actor.result.hp_damage = hp_damage
  4.     actor.result.mp_damage = mp_damage
  5.     actor.result.critical = critical
  6.     @animation_id = animation_id
  7.   end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement