Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Ascent [LUA Script]

Newbie Spellweaver
Joined
Aug 2, 2008
Messages
30
Reaction score
0
Can someone help me with a custom lua script for kil'jaeden that works

pls :)
 
www.Warforge.Online
Joined
Jun 25, 2008
Messages
534
Reaction score
0
You can find one
 
Newbie Spellweaver
Joined
Aug 2, 2008
Messages
30
Reaction score
0
I can't find a full script there just this
Code:
function Kil_OnCombat(Unit, Event)
Unit:SendChatMessage(12, 0, "The expendable have perished. So be it. Now I shall succeed where Sargeras could not. I will bleed this wretched world and secure my place as the true master of the Burning Legion. The end has come. Let the unravelling of this world commence!
")
Unit:PlaySoundToSet(12500)
end

function Kil_OnLeaveCombat(Unit, Event)
Unit:RemoveEvents()
Unit:SendChatMessage(12, 0, "All my plans have lead to this.")
Unit:PlaySoundToSet(12495)
end

function Kil_OnDied(Unit, Event)
Unit:RemoveEvents()
Unit:SendChatMessage(12, 0, "Uggh.. the powers of the Sunwell turned against me... What have you done? What have you done?!")
Unit:PlaySoundToSet(12510)
end

function Kil_OnKilledTarget(Unit, Event)
Unit:SendChatMessage(12, 0, "Another step towards destruction.")
Unit:PlaySoundToSet(12501)
end

RegisterUnitEvent(2, 1, "Kil_OnCombat")
RegisterUnitEvent(2, 2, "Kil_OnLeaveCombat")
RegisterUnitEvent(2, 3, "Kil_OnKilledTarget")
RegisterUnitEvent(2, 4, "Kil_OnDied")


and this is just the talking ... i want the spells and all if someone has it pls share it :)
 
www.Warforge.Online
Joined
Jun 25, 2008
Messages
534
Reaction score
0
Add the damn spells your self.. pUnit:FullCastSpellOnTarget(SPELLID,(0))
 
Newbie Spellweaver
Joined
Aug 2, 2008
Messages
30
Reaction score
0
here is my version of lua
but is a little messed up :D

Code:
function Kil_OnCombat(Unit, Event) 
Unit:SendChatMessage(14, 0, "The expendible have perished... So be it! Now I shall succeed where Sargeras could not! I will bleed this wretched world and secure my place as the true master of the Burning Legion. The end has come! Let the unraveling of this world commence!")
Unit:RegisterEvent("Kil_01", 500, 1)
Unit:RegisterEvent("Kil_02", 32000, 0)
Unit:RegisterEvent("Kil_03", 51000, 0)
Unit:RegisterEvent("Kil_04", 120000, 0)
Unit:RegisterEvent("Kil_05", 91000, 0)
Unit:RegisterEvent("Kil_06", 79000, 0)
Unit:RegisterEvent("Kil_07", 159000, 0)
Unit:RegisterEvent("Kil_08", 97000, 0)
Unit:RegisterEvent("Kil_09", 15000, 0)
Unit:RegisterEvent("Kil_10", 210000, 0)
end

function Kil_01(pUnit, Event) 
pUnit:CastSpell(35177, pUnit:GetClosestPlayer()) 
pUnit:PlaySoundToSet(12500)
end

function Kil_02(pUnit, Event) 
pUnit:SendChatMessage(14, 0, "Chaos!")
pUnit:FullCastSpellOnTarget(47248, pUnit:GetMainTank()) 
pUnit:PlaySoundToSet(12505)
end

function Kil_03(pUnit, Event) 
pUnit:SendChatMessage(14, 0, "Destruction!")
pUnit:FullCastSpellOnTarget(39023, pUnit:GetMainTank()) 
pUnit:PlaySoundToSet(12506)
end

function Kil_04(pUnit, Event) 
pUnit:SendChatMessage(14, 0, "Oblivion!")
pUnit:CastSpell(38627, pUnit:GetMainTank()) 
pUnit:PlaySoundToSet(12507)
end

function Kil_05(pUnit, Event) 
pUnit:SendChatMessage(14, 0, "Destruction!")
pUnit:CastSpell(38533, pUnit:GetMainTank()) 
pUnit:PlaySoundToSet(12506)
end

function Kil_06(pUnit, Event) 
pUnit:SendChatMessage(14, 0, "Oblivion!")
pUnit:FullCastSpellOnTarget(38441, pUnit:GetRandomPlayer(0)) 
pUnit:PlaySoundToSet(12507)
end

function Kil_07(pUnit, Event) 
pUnit:SendChatMessage(14, 0, "I will not be denied! This world shall fall!")
pUnit:FullCastSpellOnTarget(512, pUnit:GetMainTank())
pUnit:PlaySoundToSet(12508) 
end

function Kil_08(pUnit, Event) 
pUnit:SendChatMessage(14, 0, "Do not harbor false hope. You cannot win!")
pUnit:CastSpell(17668, pUnit:GetMainTank()) 
pUnit:PlaySoundToSet(12509)
end

function Kil_09(pUnit, Event) 
pUnit:FullCastSpellOnTarget(40876, pUnit:GetRandomPlayer(0)) 
end

function Kil_10(pUnit, Event) 
pUnit:SendChatMessage(14, 0, "Ragh! The powers of the Sunwell turn against me! What have you done? What have you done?!")
pUnit:CastSpell(44998, pUnit:GetMainTank()) 
pUnit:PlaySoundToSet(12510)
end

function Kil_OnLeaveCombat(Unit, Event) 
Unit:RemoveEvents() 
pUnit:SendChatMessage(14, 0, "Oblivion!")
pUnit:PlaySoundToSet(12507)
end

function Kil_OnDied(Unit, Event) 
Unit:RemoveEvents() 
Unit:SendChatMessage(14, 0, "Another step towards destruction!") 
pUnit:PlaySoundToSet(12501)
end

function Kil_OnKilledTarget(Unit, Event) 
Unit:SendChatMessage(14, 0, "You are no match for my forces!!") 
pUnit:PlaySoundToSet(12504)
end

RegisterUnitEvent(25315, 1, "Kil_OnCombat")
RegisterUnitEvent(25315, 2, "Kil_OnLeaveCombat")
RegisterUnitEvent(25315, 3, "Kil_OnKilledTarget")
RegisterUnitEvent(25315, 4, "Kil_OnDied")


I really appreciate if someone is willing to correct my mistakes or the spell timers :)
 
Newbie Spellweaver
Joined
Aug 2, 2008
Messages
30
Reaction score
0
It's working fine but don't do damage with the bolts and he is running in circles :)) instead to stay put.

don't know why :\
 
Back
Top