• We just launched and are currently in beta. Join us as we build and grow the community.

Making my own BoL Script [HELP]

Nami Games

Tokenization Advocate
N Rep
0
0
0
Rep
0
N Vouches
0
0
0
Vouches
0
Posts
72
Likes
155
Bits
2 MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1 400 XP
Code:
if myHero.charName ~= 'Cassiopeia' or not VIP_USER then return end
require "VPrediction"
require "DivinePred"
require "SxOrbWalk"
local ts
local QRange = 850
local WRange = 850
local ERange = 700
local RRange = 825
local QREADY, WREADY, EREADY, RREADY = false
function OnLoad()
PrintChat("GosuCassiopeia Loaded!")
GosuMenu()
end
function GosuMenu()
Config = scriptConfig("GosuCassiopeia", "gosu")
Config:addParam("drawCircle", "Draw Circle", SCRIPT_PARAM_ONOFF, true)
Config:addParam("combo", "GosuMechanics", SCRIPT_PARAM_ONKEYDOWN, false, string.byte (" "))
Config:addParam("lasthit", "LastHit Mode", SCRIPT_PARAM_ONKEYDOWN, false, string.byte ("A"))
Config:addParam("harras", "HarrasMode Mode", SCRIPT_PARAM_ONKEYDOWN, false, string.byte ("C"))
Config:addParam("laneclear", "LaneClear Mode", SCRIPT_PARAM_ONKEYDOWN, false, string.byte ("X"))
ts = TargetSelector(TARGET_LESS_CAST_PRIORITY, 650)
Config:addSubMenu("OrbWalker", "SxOrb")
SxOrb:LoadToMenu(Config.SxOrb)
end
function OnTick()
ts:update()
if (ts.target ~= nil) then
if (Config.combo)then
if (myHero:CanUseSpell(_Q) == READY) then
CastSpell(_Q, ts.target.x, ts.target.z)
end
if (myHero:CanUseSpell(_E) == READY) then
CastSpell(_E, ts.target)
end
if (myHero:CanUseSpell(_W) == READY) then
CastSpell(_W, ts.target.x, ts.target.z)
end
end
end
end
this is my WIP script.. how can i integrate/use Divine Prediction for my script or any other predictions ..its currenty my problem now ..my skill Q & E prediction is horrible right now ..pls tell me how can i use Divine Pred for my script to work fine..
Edited by tulisan69, 14 May 2015 - 06:35 PM.
 

442,401

317,942

317,951

Top