API:
IOW::Mode() -- returns active mode "Combo", "Harass", "LastHit", "LaneClear" IOW::AddCallback(callbackType, function) -- adds callback; callbackTypes := BEFORE_ATTACK, ON_ATTACK, AFTER_ATTACK IOW::PredictHealth(unit, time) -- returns predicted health of a unit IOW::CanOrb(target) -- returns true/false if target is orbable IOW::ResetAA() -- resets auto attack IOW::GetDmg(source, target) -- returns auto attack dmg (with bonus dmg's) IOW.isWindingUp -- true/false IOW.isWindingDown -- true/false IOW.forcePos -- set this to a pos or nil IOW.forceTarget -- set this to a target or nil IOW.attacksEnabled -- set this to true/false IOW.movementEnabled -- set this to true/false IOW.mobs -- iow's minion manager MinionManager() -- returns minionmanager instance MinionManager.objects -- returns a table, containing ALL minions MinionManager.maxObjects -- returns max object countExample:
IOW:AddCallback(AFTER_ATTACK, function(target) CastSkillShot(_Q, GetOrigin(target)) end) IOW.forcePos = {x = 0, y = 0, z = 0} OnTick(function() if IOW:Mode() == "Combo" then if IOW.target then CastSpell(IOW.target, _W) end end end)