Hey guys, I need alil help again :/ (sorry hehe) my scripts from my old server (witch was 3.3.3a) doesn't work on my new server (3.3.5), i have created the mobs for them but it doesn't work. Any ideas on how to help?
lua scripts -local NPC_ID = 1100092
function boss_OnCombat(pUnit, Event)
pUnit:SendChatMessage(14, 0, " Ahh guests. Lets hope you can survive.")
pUnit:RegisterEvent(boss_rend, 20000, 1) -- start phase one
pUnit:RegisterEvent(boss_bs, 1000, 1)
pUnit:RegisterEvent(boss_charge, 30000, 20)
pUnit:RegisterEvent(boss_thunderclap, 32000, 5)
pUnit:RegisterEvent(boss_whirlwind, 35000, 20) -- end of phase one
pUnit:RegisterEvent(boss_ds, 60000, 1) -- start phase two
pUnit:RegisterEvent(boss_sunder, 62000, 0)
pUnit:RegisterEvent(boss_shout, 61000, 0)
pUnit:RegisterEvent(boss_shieldwall, 63000, 0)
pUnit:RegisterEvent(boss_rend2, 64000, 1) -- end of phase two
pUnit:RegisterEvent(boss_berserkst, 67000, 0)
pUnit:RegisterEvent(boss_whirlwind2, 69000, 20)
pUnit:RegisterEvent(boss_cleave, 73000, 0)
pUnit:RegisterEvent(boss_bloodshirt, 75000, 0)
pUnit:RegisterEvent(boss_Recklessness, 77000, 0)
end
function boss_rend(pUnit, Event)
pUnit:CastSpell()
end
function boss_bs(pUnit, Event)
pUnit:CastSpell(2457)
end
function boss_charge(pUnit, Event)
pUnit:FullCastSpellOnTarget(38907, pUnit:GetRandomPlayer(0))
end
function boss_whirlwind(pUnit, Event)
pUnit:FullCastSpellOnTarget(63784, pUnit:GetRandomPlayer(0))
end
function boss_thunderclap(pUnit, Event)
pUnit:CastSpell(71147)
end
function boss_ds(pUnit, Event)
pUnit:CastSpell(53790)
end
function boss_sunder(pUnit, Event)
pUnit:CastSpell(60842, pUnit:GetMainTank(0))
end
function boss_shout(pUnit, Event)
pUnit:CastSpell(61044)
end
function boss_shieldwall(pUnit, Event)
pUnit:CastSpell(29390, pUnit:GetRandomPlayer(0))
end
function boss_rend2(pUnit, Event)
pUnit:CastSpell()
end
function boss_berserkst(pUnit, Event)
pUnit:CastSpell(53971)
end
function boss_whirlwind2(pUnit, Event)
pUnit:FullCastSpellOnTarget(63784, pUnit:GetRandomPlayer(0))
end
function boss_cleave(pUnit, Event)
pUnit:CastSpell(31345, pUnit:GetRandomPlayer(0))
end
function boss_bloodthirst(pUnit, Event)
pUnit:CastSpell(5596
end
function boss_Recklessness(pUnit, Event)
pUnit:CastSpell(13847)
end
function boss_OnLeaveCombat(pUnit, Event)
pUnit:RemoveEvents()
pUnit:SendChatMessage(14, 0, "I though you would be a challenge")
end
function boss_OnKilledTarget(pUnit, Event)
pUnit:RemoveEvents()
pUnit:SendChatMessage(14, 0, "Haha! another one down, your turn now...")
end
function boss_OnDied(pUnit, Event)
pUnit:RemoveEvents()
pUnit:SendChatMessage(14, 0, "No! What did I do wrong... master..")
end
RegisterUnitEvent(1100092, 1, "boss_OnCombat")
RegisterUnitEvent(1100092, 2, "boss_OnLeaveCombat")
RegisterUnitEvent(1100092, 3, "boss_OnKilledTarget")
RegisterUnitEvent(1100092, 4, "boss_OnDied")
And I have a teleporter one too that isn't working for me, thanks so much![]()