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); } }
private static void OnServerOrCharList(PacketReader p, PacketHandlerEventArgs args) { OpenEUO.CallAsync("Key", "ENTER"); }