protected void HurtNpc() { // hit Npc, and update the stats thisNpcBehavior.OnNormalDamage(); thisUiManager.UpdateNpcText(); if (thisNpcBehavior.GetNpcHitPoints() > 0) { thisUiManager.StopAnySlash(thisNpcBehavior.gameObject); thisUiManager.ActivateSingleSlash(thisNpcBehavior.gameObject); } }
protected void OnHeal() { thisHitPoints += 3; thisUiManager.ActivateLeaf(this.gameObject); thisUiManager.UpdateNpcText(); thisUiManager.StartInGameLine("Moon", this.gameObject); }