public void HitOrDie(WeaponCtrl target, bool doHitAnimation) { if (staMgr.HP <= 0) { //already dead; } else { staMgr.Add(-1 * target.GetAtk()); if (staMgr.HP > 0) { if (doHitAnimation) { Hit(); } //do some vfx, like splatter blood... } else { Die(); } } }