public override void Action(AAnimal myself) { myself.TakeBuff("Break_The_Limit"); SetMotionAndDurationAndUseHPSP(myself); }
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); }
public override void Action(AAnimal myself) { myself.TakeBuff("MagicChargeIV"); SetMotionAndDurationAndUseHPSP(myself); }
protected override void ChargingAction(AAnimal myself) { myself.TakeBuff("Guarding"); }