Thanks to Feretorix Inspired Noddy
http://gamingonstero...ything-in-here/
Cassiopeia [please disable Orbwalking - only mouse right click and wp]:
Spoiler
testscript1.lua
Cassiopeia.lua:
testscript1.lua
Spoiler
pcall( require, GetObjectName(GetMyHero()) )
Cassiopeia.lua:
Spoiler
PrintChat("Cassiopeia")
OnLoop(function(myHero)
local target = GetCurrentTarget()
local myHero = GetMyHero()
local h = GetOrigin(myHero)
if target == nil or GetOrigin(target) == nil or IsImmune(target,myHero) or IsDead(target) or not IsVisible(target) or GetTeam(target) == GetTeam(myHero) then
return false end
local t = GetOrigin(target)
local d = math.sqrt((h.x-t.x)^2+(h.y-t.y)^2+(h.z-t.z)^2)
local qbuff = GotBuff(target,"cassiopeianoxiousblastpoison")
local wbuff = GotBuff(target,"cassiopeiamiasmapoison")
if CanUseSpell(myHero, _E) == READY and d<800 then
if qbuff > 0 or wbuff > 0 then
CastTargetSpell(target, _E) end end
if d<1200 then
if GetMagicResist(target)<50 and (GetCurrentHP(target)/GetMaxHP(target))<0.2 then
local QPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,75,false,false)
if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
if wbuff == 0 then
CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z) end end
local WPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,70,false,false)
if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
if qbuff == 0 then
CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z) end end
elseif GetMagicResist(target)<50 and (GetCurrentHP(target)/GetMaxHP(target))<0.4 then
local QPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,75,false,false)
if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
if wbuff == 0 then
CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z) end end
local WPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,70,false,false)
if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
if qbuff == 0 then
CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z) end end
elseif GetMagicResist(target)<50 and (GetCurrentHP(target)/GetMaxHP(target))<0.6 then
local QPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,75,false,false)
if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
if wbuff == 0 then
CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z) end end
local WPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,70,false,false)
if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
if qbuff == 0 then
CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z) end end
elseif GetMagicResist(target)<50 and (GetCurrentHP(target)/GetMaxHP(target))<0.8 then
local QPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,75,false,false)
if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
if wbuff == 0 then
CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z) end end
local WPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,70,false,false)
if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
if qbuff == 0 then
CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z) end end
elseif GetMagicResist(target)<50 and (GetCurrentHP(target)/GetMaxHP(target))<=1.0 then
local QPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,75,false,false)
if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
if wbuff == 0 then
CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z) end end
local WPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,70,false,false)
if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
if qbuff == 0 then
CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z) end end
elseif GetMagicResist(target)<70 and (GetCurrentHP(target)/GetMaxHP(target))<0.2 then
local QPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,75,false,false)
if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
if wbuff == 0 then
CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z) end end
local WPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,70,false,false)
if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
if qbuff == 0 then
CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z) end end
elseif GetMagicResist(target)<70 and (GetCurrentHP(target)/GetMaxHP(target))<0.4 then
local QPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,75,false,false)
if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
if wbuff == 0 then
CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z) end end
local WPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,70,false,false)
if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
if qbuff == 0 then
CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z) end end
elseif GetMagicResist(target)<70 and (GetCurrentHP(target)/GetMaxHP(target))<0.6 then
local QPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,75,false,false)
if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
if wbuff == 0 then
CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z) end end
local WPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,70,false,false)
if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
if qbuff == 0 then
CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z) end end
elseif GetMagicResist(target)<70 and (GetCurrentHP(target)/GetMaxHP(target))<0.8 then
local QPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,75,false,false)
if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
if wbuff == 0 then
CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z) end end
local WPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,70,false,false)
if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
if qbuff == 0 then
CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z) end end
elseif GetMagicResist(target)<70 and (GetCurrentHP(target)/GetMaxHP(target))<=1.0 then
local QPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,75,false,false)
if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
if wbuff == 0 then
CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z) end end
local WPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,70,false,false)
if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
if qbuff == 0 then
CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z) end end
elseif GetMagicResist(target)<100 and (GetCurrentHP(target)/GetMaxHP(target))<0.2 then
local QPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,75,false,false)
if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
if wbuff == 0 then
CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z) end end
local WPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,70,false,false)
if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
if qbuff == 0 then
CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z) end end
elseif GetMagicResist(target)<100 and (GetCurrentHP(target)/GetMaxHP(target))<0.4 then
local QPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,75,false,false)
if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
if wbuff == 0 then
CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z) end end
local WPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,70,false,false)
if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
if qbuff == 0 then
CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z) end end
elseif GetMagicResist(target)<100 and (GetCurrentHP(target)/GetMaxHP(target))<0.6 then
local QPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,75,false,false)
if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
if wbuff == 0 then
CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z) end end
local WPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,70,false,false)
if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
if qbuff == 0 then
CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z) end end
elseif GetMagicResist(target)<100 and (GetCurrentHP(target)/GetMaxHP(target))<0.8 then
local QPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,75,false,false)
if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
if wbuff == 0 then
CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z) end end
local WPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,70,false,false)
if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
if qbuff == 0 then
CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z) end end
elseif GetMagicResist(target)<100 and (GetCurrentHP(target)/GetMaxHP(target))<=1.0 then
local QPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,75,false,false)
if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
if wbuff == 0 then
CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z) end end
local WPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,70,false,false)
if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
if qbuff == 0 then
CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z) end end
elseif GetCurrentHP(target)/GetMaxHP(target)<0.2 then
local QPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,75,false,false)
if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
if wbuff == 0 then
CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z) end end
local WPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,70,false,false)
if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
if qbuff == 0 then
CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z) end end
elseif GetCurrentHP(target)/GetMaxHP(target)<0.4 then
local QPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,75,false,false)
if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
if wbuff == 0 then
CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z) end end
local WPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,70,false,false)
if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
if qbuff == 0 then
CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z) end end
elseif GetCurrentHP(target)/GetMaxHP(target)<0.6 then
local QPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,75,false,false)
if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
if wbuff == 0 then
CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z) end end
local WPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,70,false,false)
if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
if qbuff == 0 then
CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z) end end
elseif GetCurrentHP(target)/GetMaxHP(target)<0.8 then
local QPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,75,false,false)
if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
if wbuff == 0 then
CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z) end end
local WPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,70,false,false)
if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
if qbuff == 0 then
CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z) end end
elseif GetCurrentHP(target)/GetMaxHP(target)<=1.0 then
local QPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,75,false,false)
if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
if wbuff == 0 then
CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z) end end
local WPred = GetPredictionForPlayer(GetOrigin(myHero),target,GetMoveSpeed(target),1500,250,850,70,false,false)
if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
if qbuff == 0 then
CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z) end end end end end)
Kalista [please disable Orbwalking]
IGLO KALISTA ORBWALKING - ULTRA FAST - much faster than GOS Orbwalking
(2 jumps without q high as)
Spoiler
testscript1.lua
Kalista.lua:
testscript1.lua
Spoiler
pcall( require, GetObjectName(GetMyHero()) )
Kalista.lua:
Spoiler
PrintChat("Kalista")
local lastAttack = 0;
local passive = 0;
local percentage = 0;
local damage = 0;
local reddamage = 0;
local bufcount = 0;
OnLoop(function(myHero)
if GetCastLevel(myHero,_E) == 1 then
passive = 10;
percentage = 0.2; end
if GetCastLevel(myHero,_E) == 2 then
passive = 14;
percentage = 0.225; end
if GetCastLevel(myHero,_E) == 3 then
passive = 19;
percentage = 0.25; end
if GetCastLevel(myHero,_E) == 4 then
passive = 25;
percentage = 0.275; end
if GetCastLevel(myHero,_E) == 5 then
passive = 32;
percentage = 0.3; end
if KeyIsDown(0x20) then
if lastAttack + 50 <= GetTickCount() then
AttackUnit(GetCurrentTarget());
lastAttack = GetTickCount();
else
MoveToXYZ(GetMousePos()); end end end)
OnObjectLoop(function(Object,myHero)
if GetObjectType(Object) == Obj_AI_Hero and GetTeam(Object) ~= GetTeam(GetMyHero()) then
for i = 0,50 do
if GetBuffCount(Object,i) > 0 and GetBuffName(Object,i) == "kalistaexpungemarker" then
bufcount = GetBuffCount(Object,i);
if CanUseSpell(myHero, _E) == READY then
damage = ((bufcount * (passive + (percentage * (GetBonusDmg(myHero)+GetBaseDamage(myHero))))) + (10 + (10 * GetCastLevel(myHero,_E)) + ((GetBonusDmg(myHero)+GetBaseDamage(myHero)) * 0.6)));
reddamage = (damage * (100 / (100 + ((GetArmor(Object) * GetArmorPenPercent(myHero)) - GetArmorPenFlat(myHero)))));
if GetCurrentHP(Object) < reddamage then
CastSpell(_E); end end end end end end)
Lucian:
Spoiler
testscript1.lua
Lucian.lua:
testscript1.lua
Spoiler
pcall( require, GetObjectName(GetMyHero()) )
Lucian.lua:
Spoiler
QEW Combo:
EQW Combo
QW Combo:
V1 resetonly:
BEST V2 resetonly:
QEW Combo:
Spoiler
PrintChat("Lucian-QEW")
OnLoop(function(myHero)
local myTarget = GetCurrentTarget()
local myHero = GetMyHero()
local h = GetOrigin(myHero)
local mouse = GetMousePos()
if myTarget ~= nil and IsVisible(myTarget) and not IsDead(myTarget) and not IsImmune(myTarget,myHero) and IsTargetable(myTarget) then
local t = GetOrigin(myTarget)
local pas = GotBuff(myHero,"lucianpassivebuff")
local d = math.sqrt((h.x-t.x)^2+(h.y-t.y)^2+(h.z-t.z)^2)
if d<675 then
if pas>0 then
AttackUnit(myTarget) end
if CanUseSpell(myHero,_Q)==READY and pas==0 then
CastTargetSpell(myTarget,_Q) end
if CanUseSpell(myHero,_E)==READY and CanUseSpell(myHero,_Q)==ONCOOLDOWN and pas==0 then
CastSkillShot(_E, mouse.x, mouse.y, mouse.z) end
if CanUseSpell(myHero,_W)==READY and CanUseSpell(myHero,_Q)==ONCOOLDOWN and CanUseSpell(myHero,_E)==ONCOOLDOWN and pas==0 then
local wp=GetPredictionForPlayer(GetOrigin(myHero),myTarget,GetMoveSpeed(myTarget),2000,400,1000,60,true,true)
if wp.HitChance==1 then
CastSkillShot(_W,wp.PredPos.x,wp.PredPos.y,wp.PredPos.z) end end end end end)
EQW Combo
Spoiler
PrintChat("Lucian-EQW")
OnLoop(function(myHero)
local myTarget = GetCurrentTarget()
local myHero = GetMyHero()
local h = GetOrigin(myHero)
local mouse = GetMousePos()
if myTarget ~= nil and IsVisible(myTarget) and not IsDead(myTarget) and not IsImmune(myTarget,myHero) and IsTargetable(myTarget) then
local t = GetOrigin(myTarget)
local pas = GotBuff(myHero,"lucianpassivebuff")
local d = math.sqrt((h.x-t.x)^2+(h.y-t.y)^2+(h.z-t.z)^2)
if d<675 then
if pas>0 then
AttackUnit(myTarget) end
if CanUseSpell(myHero,_E)==READY and pas==0 then
CastSkillShot(_E, mouse.x, mouse.y, mouse.z) end
if CanUseSpell(myHero,_Q)==READY and CanUseSpell(myHero,_E)==ONCOOLDOWN and pas==0 then
CastTargetSpell(myTarget,_Q) end
if CanUseSpell(myHero,_W)==READY and CanUseSpell(myHero,_Q)==ONCOOLDOWN and CanUseSpell(myHero,_E)==ONCOOLDOWN and pas==0 then
local wp=GetPredictionForPlayer(GetOrigin(myHero),myTarget,GetMoveSpeed(myTarget),2000,400,1000,60,true,true)
if wp.HitChance==1 then
CastSkillShot(_W,wp.PredPos.x,wp.PredPos.y,wp.PredPos.z) end end end end end)
QW Combo:
Spoiler
PrintChat("Lucian-QW")
OnLoop(function(myHero)
local myTarget = GetCurrentTarget()
local myHero = GetMyHero()
local h = GetOrigin(myHero)
if myTarget ~= nil and IsVisible(myTarget) and not IsDead(myTarget) and not IsImmune(myTarget,myHero) and IsTargetable(myTarget) then
local t = GetOrigin(myTarget)
local pas = GotBuff(myHero,"lucianpassivebuff")
local d = math.sqrt((h.x-t.x)^2+(h.y-t.y)^2+(h.z-t.z)^2)
if d<675 then
if pas>0 then
AttackUnit(myTarget) end
if CanUseSpell(myHero,_Q)==READY and pas==0 then
CastTargetSpell(myTarget,_Q) end
if CanUseSpell(myHero,_W)==READY and CanUseSpell(myHero,_Q)==ONCOOLDOWN and pas==0 then
local wp=GetPredictionForPlayer(GetOrigin(myHero),myTarget,GetMoveSpeed(myTarget),2000,400,1000,60,true,true)
if wp.HitChance==1 then
CastSkillShot(_W,wp.PredPos.x,wp.PredPos.y,wp.PredPos.z) end end end end end)
V1 resetonly:
Spoiler
PrintChat("V1-Lucian-resetonly")
OnLoop(function(myHero)
local myTarget = GetCurrentTarget()
local myHero = GetMyHero()
local h = GetOrigin(myHero)
if myTarget ~= nil and IsVisible(myTarget) and not IsDead(myTarget) and not IsImmune(myTarget,myHero) and IsTargetable(myTarget) then
local t = GetOrigin(myTarget)
local pas = GotBuff(myHero,"lucianpassivebuff")
local d = math.sqrt((h.x-t.x)^2+(h.y-t.y)^2+(h.z-t.z)^2)
if d<675 and pas>0 then
AttackUnit(myTarget) end end end)
BEST V2 resetonly:
Spoiler
PrintChat("V2-Lucian-resetonly")
local pas=false
OnLoop(function(myHero)
local myTarget = GetCurrentTarget()
local myHero = GetMyHero()
local h = GetOrigin(myHero)
if myTarget ~= nil and IsVisible(myTarget) and not IsDead(myTarget) and not IsImmune(myTarget,myHero) and IsTargetable(myTarget) then
local t = GetOrigin(myTarget)
local d = math.sqrt((h.x-t.x)^2+(h.y-t.y)^2+(h.z-t.z)^2)
if d<675 and pas==true then
AttackUnit(myTarget) end end end)
OnProcessSpell(function(unit,spell)
if unit==GetMyHero() then
if spell.name=="LucianQ" or spell.name=="LucianW" or spell.name=="LucianE" then
if pas==false then
pas=true end end
if spell.name=="LucianPassiveAttack" or spell.name=="LucianBasicAttack" or spell.name=="LucianBasicAttack2" or spell.name=="LucianCritAttack" or spell.name=="LucianCritAttack2" then
if pas==true then
pas=false end end end end)
Sign In
Create Account

Back to top
Report








