Utilise du code C#
var sortPrincipal = new Spell("SpellNameInEnglish");
new Spell("SpellNameInEnglish").Launch(true, false);
Thread.Sleep(1000 + Usefuls.Latency);
while (Conditions.InGameAndConnected && ObjectManager.Me.IsCast)
{
if (sortPrincipal.IsSpellUsable)
{
Lua.LuaDoString("SpellStopCasting();");
sortPrincipal.Launch(true, true, true);
}
}
(pas testé)
Tu dois configurer manuellement les options du sort (distance, ...)