Exemplo n.º 1
0
 public static void CastSpellByIDAndPosition(UInt32 spellId, Point postion)
 {
     try
     {
         ClickOnTerrain.Spell(spellId, postion);
     }
     catch (Exception exception)
     {
         Logging.WriteError("CastSpellByIDAndPosition(UInt32 spellId, Point postion): " + exception);
     }
 }
Exemplo n.º 2
0
 public static void UseItem(int entry, Class.Point point)
 {
     try
     {
         string itemName = GetItemNameById(entry);
         ClickOnTerrain.Item(entry, point);
         Logging.WriteFight("Use item " + itemName + " (SpellName: " + GetItemSpell(itemName) + ")");
     }
     catch (Exception exception)
     {
         Logging.WriteError("UseItem(int entry, Class.Point point): " + exception);
     }
 }