public static void PlayHitEffect(float hpDrop) { if (hpDrop > 1) { inst.Hit(hpDrop); PeCamera.PlayShakeEffect(0, 0.2f, 0); } }
void HandleAliveEntityHpChange(SkillSystem.SkEntity caster, float hpChange) { if (hpChange < 0) { Hit(-hpChange); PeCamera.PlayShakeEffect(0, 0.2f, 0); } }