- -- 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