aMMo
Test Automation Pro
2
MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1
300 XP
Got pissed from veigar 1 shot you
i found in forums this script,it do block veigar r using zhonya,spell shields,it is simple yet effective script
Enjpy
Copy paste in your bol script folder
local items = {
[3157] = { name = "ZhonyasHourglass", range = 0 }
}
function GetSlotItem(id, unit)
unit = unit or myHero
if (not items[id]) then
return ___GetInventorySlotItem(id, unit)
end
local name = items[id].name
for slot = ITEM_1, ITEM_7 do
local item = unit:GetSpellData(slot).name
if ((#item > 0) and (item:lower() == name:lower())) then
return slot
end
end
end
function CastItem(itemID, var1, var2)
assert(type(itemID) == "number", "CastItem: wrong argument types ( expected)")
local slot = GetSlotItem(itemID)
if slot == nil then return false end
if (player:CanUseSpell(slot) == READY) then
if (var2 ~= nil) then CastSpell(slot, var1, var2)
elseif (var1 ~= nil) then CastSpell(slot, var1)
else CastSpell(slot)
end
return true
end
return false
end
function ItemReady(id)
if GetSlotItem(id) ~= nil and myHero:CanUseSpell(GetSlotItem(id)) == READY then
return true
else
return false
end
end
function OnProcessSpell(unit, spell)
if spell.name == "VeigarPrimordialBurst" then
if unit and spell and spell.target and spell.target.isMe then
if GetSlotItem(3157) ~= nil and ItemReady(3157) then
DelayAction(function()
CastItem(3157)
end, 0.25)
end
end
end
end
function OnLoad()
InitMenu()
end
function InitMenu()
menu = scriptConfig(">>> Anti Veigar R", "avr")
menu:addParam("status", "Activate", SCRIPT_PARAM_ONOFF, true)
PrintChat("[Anti Veigar R] by Kaikina loaded sucessfully !")
end
i found in forums this script,it do block veigar r using zhonya,spell shields,it is simple yet effective script
Enjpy
Copy paste in your bol script folder
local items = {
[3157] = { name = "ZhonyasHourglass", range = 0 }
}
function GetSlotItem(id, unit)
unit = unit or myHero
if (not items[id]) then
return ___GetInventorySlotItem(id, unit)
end
local name = items[id].name
for slot = ITEM_1, ITEM_7 do
local item = unit:GetSpellData(slot).name
if ((#item > 0) and (item:lower() == name:lower())) then
return slot
end
end
end
function CastItem(itemID, var1, var2)
assert(type(itemID) == "number", "CastItem: wrong argument types ( expected)")
local slot = GetSlotItem(itemID)
if slot == nil then return false end
if (player:CanUseSpell(slot) == READY) then
if (var2 ~= nil) then CastSpell(slot, var1, var2)
elseif (var1 ~= nil) then CastSpell(slot, var1)
else CastSpell(slot)
end
return true
end
return false
end
function ItemReady(id)
if GetSlotItem(id) ~= nil and myHero:CanUseSpell(GetSlotItem(id)) == READY then
return true
else
return false
end
end
function OnProcessSpell(unit, spell)
if spell.name == "VeigarPrimordialBurst" then
if unit and spell and spell.target and spell.target.isMe then
if GetSlotItem(3157) ~= nil and ItemReady(3157) then
DelayAction(function()
CastItem(3157)
end, 0.25)
end
end
end
end
function OnLoad()
InitMenu()
end
function InitMenu()
menu = scriptConfig(">>> Anti Veigar R", "avr")
menu:addParam("status", "Activate", SCRIPT_PARAM_ONOFF, true)
PrintChat("[Anti Veigar R] by Kaikina loaded sucessfully !")
end