-- Initialize Orbwalker
function Onload()
if not LegitOrbwalker then
LoadPaidScript(PaidScript.REBORN_ORB)
end
end
LegitOrbwalker:WaitingForMinion() -- returns if Hero is Waiting for a minion to last hit
LegitOrbwalker:IsAttacking() -- returns if Hero is Attacking
LegitOrbwalker:IsOrbWalking() -- returns if Hero is OrbWalking
LegitOrbwalker:CanAttack() -- returns if Hero can Attack
LegitOrbwalker:CanMove() -- returns if Hero can Move
LegitOrbwalker:MoveTo(position) -- Moves to passed position, if nothing is passed moves to mousePos
LegitOrbwalker:Attack(unit) -- Attacks passed unit (without range check)
LegitOrbwalker:BlockAttack(bool) -- Blocks attacks // true or false
LegitOrbwalker:BlockMove(bool) -- Blocks movement // true or false
LegitOrbwalker:IsAttackBlocked() -- returns if Hero attacks have been blocked
LegitOrbwalker:IsMoveBlocked() -- returns if Hero moves have been blocked
LegitOrbwalker:GetProjectileSpeed(unit) -- returns to the actual AA Projectile Speed of the unit
LegitOrbwalker:GetMode() -- returns the current OrbWalker Mode
LegitOrbwalker:HpPred(unit, time) -- returns predicted unit health after time
LegitOrbwalker:GetTarget(range, position) -- returns the Current OrbWalker Target
LegitOrbwalker:SetTarget(target, time) -- Enforces a target, target - any Valid Unit, time (optional) - Only force till RiotClock.time+time, If you use a time < RiotClock.time it will assume that you meant RiotClock.time+time. Target will be unset if out of range or time runs out
LegitOrbwalker:UnSetTarget() -- Unsets the enforced Target
LegitOrbwalker:GetForcedTarget() -- Table with the Forced Target and time until it should be enforced
LegitOrbwalker:AutoAttackCooldown() -- returns the next AA time
LegitOrbwalker:AutoAttackOnCooldown() -- returns if Hero attacks on Cooldown
LegitOrbwalker:AttackSpeed() -- returns to the actual AA speed of the unit
LegitOrbwalker:ResetAA() -- resets the AA timer
LegitOrbwalker:AddCallback(callback, function)
callback's:
OnAttack -- Triggers after an AA is recognized
OnAfterAttack -- Triggers after an AA is done
OnBeforeAttack -- Triggers just before an AA is recognized
CanMove -- Triggers when the Champion can move again
CanAttack -- Triggers when the Champion can AA again
LegitOrbwalker:RemoveCallback(function) -- removes a callback
LegitOrbwalker:GetCallbacks() -- Table of all registered Callbacks
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}