/// <summary> /// New instance for death animation. /// </summary> public BattleAnimation(BattleSystem bs, Mon mon, float anim_duration) { this.mon = mon; this.anim_duration = anim_duration; }
public int total_damage; // damage before hp reduction /// <summary> /// New instance for healthbar animation. /// </summary> public BattleAnimation(BattleSystem bs, Mon mon, int total_damage) { this.mon = mon; this.total_damage = total_damage; this.anim_duration = 4f; }