Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Config = scriptConfig("Leona", "Leona")
- Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
- Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
- Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
- Config.addParam("R", "Use R in combo", SCRIPT_PARAM_ONOFF, true)
- PrintChat("Blue Eagle Solari 0.1 by N7Reny")
- OnLoop(function(myHero)
- local rang = GetTarget(1700)
- if KeyIsDown(0x20) then
- if ValidTarget(rang, 1250) then
- if Config.E then
- local EPred = GetPredictionForPlayer(GetMyHeroPos(),rang,GetMoveSpeed(rang),1900,500,875,70,true,true)
- if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
- CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
- end
- if Config.Q then
- if CanUseSpell(myHero, _Q) == READY and IsInDistance(rang, 400) then
- CastTargetSpell(rang,_Q)
- end
- if Config.W then
- if CanUseSpell(myHero, _W) == READY and IsInDistance(rang, 600) then
- CastTargetSpell(myHero,_W)
- end
- if Config.R then
- local RPred = GetPredictionForPlayer(GetMyHeroPos(),rang,GetMoveSpeed(rang),1900,500,1200,70,true,true)
- if CanUseSpell(myHero, _R) == READY and RPred.HitChance == 1 and READY then
- CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
- end
- end
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment