Example #1
0
 public override void Action(AAnimal myself)
 {
     myself.TakeBuff("Break_The_Limit");
     SetMotionAndDurationAndUseHPSP(myself);
 }
Example #2
0
 public override void Action(AAnimal myself)
 {
     string buffnum = "";
     if (myself.Mind.FindChild("Mage"))
     {
         AMind mage = myself.Mind.FindChild("Mage").GetComponent<AMind>();
         if (mage.MindLevel >= 4 && myself.Buffs.FindChild("MagicCharge")) { buffnum = "II"; }
         if (mage.MindLevel >= 6 && myself.Buffs.FindChild("MagicChargeII")) { buffnum = "III"; }
         if (mage.MindLevel >= 8 && myself.Buffs.FindChild("MagicChargeIII")) { buffnum = "IV"; }
     }
     else { }
     myself.TakeBuff("MagicCharge" + buffnum);
     GiveProficiency(myself);
     SetMotionAndDurationAndUseHPSP(myself);
 }
Example #3
0
 public override void Action(AAnimal myself)
 {
     myself.TakeBuff("MagicChargeIV");
     SetMotionAndDurationAndUseHPSP(myself);
 }
Example #4
0
 protected override void ChargingAction(AAnimal myself)
 {
     myself.TakeBuff("Guarding");
 }