Code:
local Caster = nil
RegisterDummySpell(686, "ShadowBoltOne_Cast")
RegisterDummySpell(695, "ShadowBoltTwo_Cast")
RegisterDummySpell(705, "ShadowBoltThree_Cast")
RegisterDummySpell(1088, "ShadowBoltFour_Cast")
RegisterDummySpell(1106, "ShadowBoltFive_Cast")
RegisterDummySpell(7641, "ShadowBoltSix_Cast")
RegisterDummySpell(11659, "ShadowBoltSeven_Cast")
RegisterDummySpell(11660, "ShadowBoltEight_Cast")
RegisterDummySpell(11661, "ShadowBoltNine_Cast")
RegisterDummySpell(25307, "ShadowBoltTen_Cast")
RegisterDummySpell(27209, "ShadowBoltEleven_Cast")
RegisterDummySpell(47808, "ShadowBoltTwelve_Cast")
RegisterDummySpell(47809, "ShadowBoltThirteen_Cast")
function ShadowBolt_CastOne(effectIndex, Spell)
local Caster = Spell:GetCaster()
if (Spell:GetSpellState() == 0) then
if (Caster:GetManaPct() => 9%) then
Spell:Cast()
else
end
else
end
end
function ShadowBolt_CastTwo(effectIndex, Spell)
local Caster = Spell:GetCaster()
if (Spell:GetSpellState() == 0) then
if (Caster:GetManaPct() => 11%) then
Spell:Cast()
else
end
else
end
end
function ShadowBolt_CastThree(effectIndex, Spell)
local Caster = Spell:GetCaster()
if (Spell:GetSpellState() == 0) then
if (Caster:GetManaPct() => 15%) then
Spell:Cast()
else
end
else
end
end
function ShadowBolt_CastFour(effectIndex, Spell)
local Caster = Spell:GetCaster()
if (Spell:GetSpellState() == 0) then
if (Caster:GetManaPct() => 16%) then
Spell:Cast()
else
end
else
end
end
function ShadowBolt_CastFive(effectIndex, Spell)
local Caster = Spell:GetCaster()
f (Spell:GetSpellState() == 0) then
if (Caster:GetManaPct() => 16%) then
Spell:Cast()
else
end
else
end
end
function ShadowBolt_CastSix(effectIndex, Spell)
local Caster = Spell:GetCaster()
if (Spell:GetSpellState() == 0) then
if (Caster:GetManaPct() => 16%) then
Spell:Cast()
else
end
else
end
end
function ShadowBolt_CastSeven(effectIndex, Spell)
local Caster = Spell:GetCaster()
if (Spell:GetSpellState() == 0) then
if (Caster:GetManaPct() => 16%) then
Spell:Cast()
else
end
else
end
end
function ShadowBolt_CastEight(effectIndex, Spell)
local Caster = Spell:GetCaster()
if (Spell:GetSpellState() == 0) then
if (Caster:GetManaPct() => 16%) then
Spell:Cast()
else
end
else
end
end
function ShadowBolt_CastNine(effectIndex, Spell)
local Caster = Spell:GetCaster()
if (Spell:GetSpellState() == 0) then
if (Caster:GetManaPct() => 16%) then
Spell:Cast()
else
end
else
end
end
function ShadowBolt_CastTen(effectIndex, Spell)
local Caster = Spell:GetCaster()
if (Spell:GetSpellState() == 0) then
if (Caster:GetManaPct() => 16%) then
Spell:Cast()
else
end
else
end
end
function ShadowBolt_CastEleven(effectIndex, Spell)
local Caster = Spell:GetCaster()
if (Spell:GetSpellState() == 0) then
if (Caster:GetManaPct() => 16%) then
Spell:Cast()
else
end
else
end
end
function ShadowBolt_CastTwelve(effectIndex, Spell)
local Caster = Spell:GetCaster()
if (Spell:GetSpellState() == 0) then
if (Caster:GetManaPct() => 16%) then
Spell:Cast()
else
end
else
end
end
function ShadowBolt_CastThirteen(effectIndex, Spell)
local Caster = Spell:GetCaster()
if (Spell:GetSpellState() == 0) then
if (Caster:GetManaPct() => 16%) then
Spell:Cast()
else
end
else
end
end
This script is a fix for a old ArcEmu ticket which i dont know if its fixed or not.