Hello , i had nothing to do so i made this small boss fight.. This is only the lua file.. You will hafto make the monster by yourself wich isnt so hard..
How to setup this:
1: Open Up Notepad.
2:Copy and Paste the code
3:Save As .LUA
4:Place the .LUA file in your LUA Directory in ascent. It might work also if you place it in the script folder in ascent. NOT Script_Bin!! , If you dont have an Script folder then just make one an name it "scripts".
5: Create the monster , Make the monster in ADE program or by Navicat/Sql Yogh or whatever. Most importent of all is that you use this ID : 99999 or else this wont work.
And you are done!
Info about this Boss Event :
This is an Murloc Boss .. So when you do the monster name it "King Murloc" .
There are 4 Pages :
First one at 75% Health he will change hies scale to 2 , And do an WhirlWind that crits arround 3000. Load time : Arround 10 secs
Second one at 50% He will change hies scale to 3 ,And charge someone. Load time : Arround 10 secs
Third one at 25% He will change hies scale to 4 , And start loading an AoE that crits arround 11000 so watchout!. Load time : arround 10 secs
Fourth one at 0% (when he is dead) he will change his scale to 1 again.
And under the Combat he will do Pyroblasts 8 times , and they crits kinda hard. He will also do shadowbolts 8 times.
Some tip about how the monster could be :
Entry : 99999 (Have to be that orelse the fight wont work!)
DisplayID: 21723 , Wich is the murloc custome
Level : Arround 70
Faction : 18 wich is some Murloc faction.
Health : High! 50.000 ? Maby More??
Mana : He needs mana becuse many spells he uses needs mana. Maby 70.000?
Scale : 1 Ofc , He will scale up in the pages.
Attacktime: 1600 ?
Mindamage : 1000 ?
Maxdamage : 4000 ?
Armor : 15.000 or more dunno how high
Fire Resistance : 150?
Frost Resistance : 100??
Nature Resistance : 100?
Arcane Resistance : 80?
Holy Resistance : 80 ?
Shadow Resistance : 150?
Make him boss (??)
Note that this is just an tip.
-----------------------------------------------------------------------------------------------------------
ENJOJ!Code:function Murloc_Check1 (pUnit, Event) if pUnit:GetHealthPct() < 75 then pUnit:SendChatMessage (12, 0,"WHO DO YOU THINK YOU ARE?!") pUnit:SetScale (2) pUnit:CastSpellOnTarget(41195, pUnit:GetRandomPlayer(0)) end function Murloc_Check2 (pUnit, Event) if pUnit:GetHealthPct() < 50 then pUnit:SendChatMessage (12, 0,"I AM THE MURLOC KING FEAR MEEEE!") pUnit:SetScale (3) pUnit:CastSpellOnTarget(38907, pUnit:GetRandomPlayer(4)) end function Murloc_Check3 (pUnit, Event) if pUnit:GetHealthPct() < 25 then pUnit:SendChatMessage (12, 0,"YOU GUYS ARE STRONGER THEN I THOUGHT I WILL HAFTO IMPROVISE!") pUnit:SetScale (4) pUnit:CastSpellOnTarget(29973, pUnit:GetRandomPlayer(0)) end function Murloc_OnCombat (pUnit, Event) Unit:RegisterEvent("Murloc_Shadowbolt", 6000, 8) Unit:RegisterEvent("Murloc_Pyroblast" , 7000, 8) Unit:RegisterEvent("Murloc_Check1", 10000, 1) Unit:RegisterEvent("Murloc_Check2", 10000, 1) Unit:RegisterEvent("Murloc_Check3", 10000, 1) end function Murloc_Shadowbolt (pUnit, Event) pUnit:CastSpellOnTarget (11661, pUnit:GetRandomPlayer(0)) end function Murloc_Pyroblast (pUnit, Event) pUnit:CastSpellOnTarget (33938, pUnit:GetClosestPlayer()) end function Murloc_OnLeaveCombat (pUnit, Event) pUnit:SendChatMessage (12, 0,"Thats What I Thought HAHAHAH!") end function Murloc_OnDied (pUnit, Event) if pUnit:SetScale (1) pUnit:SendChatMessage (12, 0,"REEEEVENGE MEEEEE!") end function Murloc_OnKilledTarget (pUnit, Event) pUnit:SendchatMessage (12, 0,"DEAD!") end function Murloc_OnDied (Unit, Event) Unit:RemoveEvents() Unit:RegisterEvent("Murloc_OnDied") end function Murloc_OnKilledTarget (Unit, Event) Unit:RegisterEvent("Murloc_OnKilledTarget") end function Murloc_OnLeaveCombat (Unit, Event) Unit:RegisterEvent("Murloc_OnLeaveCombat") Unit:RemoveEvents() end RegisterUnitEvent(99999, 1, "Murloc_OnCombat") RegisterUnitEvent(99999, 2, "Murloc_OnLeaveCombat") RegisterUnitEvent(99999, 3, "Murloc_OnKilledTarget") RegisterUnitEvent(99999, 4, "Murloc_OnDied")


Reply With Quote![[Release] King Murloc LUA Script!](http://ragezone.com/hyper728.png)


