Пример #1
0
 public override void OnClick()
 {
     if (!blocked)
     {
         if (spell.DoesRequireTarget())
         {
             screen.BeginTargeting(spell, this);
         }
         else
         {
             Game.client.Send(GameMsg.CastSpell, new GameMsg.MsgCastSpell()
             {
                 spellId = spell.GetId()
             });
         }
     }
 }