Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Menu
- Config = scriptConfig("Vel'Koz", "Vel'Koz")
- 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", SCRIPT_PARAM_ONOFF, true)
- --Start
- OnLoop(function(myHero)
- AutoIgnite()
- if IWalkConfig.Combo then
- local unit = GetCurrentTarget()
- if ValidTarget(unit, 1550) then
- -- Nidalee Human Trap
- if Config.E then
- if GetCastName(myHero, _E) == "VelkozE" then
- local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,850,50,false,true)
- if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
- CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
- end
- end
- end
- -- Nidalee human spear
- if Config.W then
- if GetCastName(myHero, _W) == "VelkozW" then
- local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,true,true)
- if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
- CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
- end
- end
- end
- -- Nidalee human heal --THANKS SNOWBALL
- if Config.Q then
- if GetCastName(myHero, _Q) == "VelkozQ" then
- local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1050,55,true,true)
- if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
- CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
- end
- end
- end
- -- Tansform to cougar
- if Config.R then
- if GetCastName(myHero, _R) == "VelkozR" then
- local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,false,true)
- if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1550) 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
Advertisement