Beispiel #1
0
 public void GuardStartSpellNukeCheckLOS(GamePlayer player, ushort response, ushort targetOID)
 {
     if ((response & 0x100) == 0x100)
     {
         SpellMgr.CastNukeSpell(this, TargetObject as GameLiving);
     }
 }
Beispiel #2
0
 public void GuardStartSpellHealCheckLOS(GamePlayer player, ushort response, ushort targetOID)
 {
     if ((response & 0x100) == 0x100 && HealTarget != null)
     {
         TargetObject = HealTarget;
         SpellMgr.CastHealSpell(this, HealTarget as GameLiving);
     }
 }