Example #1
0
 private void ExecSpiritualRest(Character player, Character target)
 {
     Debug.Log(MethodBase.GetCurrentMethod());
     if (target.IsStun)
     {
         target.RemoveStun();
         StartAnimation(target.objGroup.gameObject, Fix.EFFECT_REMOVE_STUN, Fix.COLOR_NORMAL);
     }
     target.objBuffPanel.AddBuff(prefab_Buff, Fix.BUFF_RESIST_STUN, SecondaryLogic.SpiritualRest_Turn(player), 0, 0);
     StartAnimation(target.objGroup.gameObject, Fix.BUFF_RESIST_STUN, Fix.COLOR_NORMAL);
 }