Esempio n. 1
0
 private void OnUse()
 {
     if (spell.Circle != 100)
     {
         KeyData key = HotKey.Get(spell.Name);
         if (key == null)
         {
             spell.OnCast(new CastSpellFromMacro((ushort)spell.GetID()));
         }
         else
         {
             key.Callback();
         }
         OpenEUO.SetAsync("LSpell", spell.GetID() - 1);
     }
     else
     {
         OpenEUO.CallAsync("Macro", spell.Number == 0 ? 35 : 36, 0);
     }
 }
Esempio n. 2
0
 private void OnUse()
 {
     new Assistant.Macros.UseSkillAction((int)skill).Perform();
     World.Player.LastSkill = (int)skill;
     OpenEUO.SetAsync("LSkill", (int)skill);
 }