Likes: 0
Results 11 to 15 of 15
-
15-10-09, 02:57 PM #11
Register to remove this adyes not only casting fireball's also speaking
› See More: [Release] Ching [Custom Lua Boss]
-
15-10-09, 05:18 PM #12Code:
function Ching_OnCombat(pUnit, Event) pUnit:SendChatMessage(14, 0, "Muhahaha, you have finally here...") pUnit:RegisterEvent("Phase_1", 1000, 0) end function Ching_OnDied(pUnit, Event) pUnit:RemoveEvents() end function Ching_LeaveCombat (pUnit, Event) pUnit:RemoveEvents() end function Phase_1(pUnit, Event) if pUnit:GetHealthPct() <= 75 then pUnit:RemoveEvents() pUnit:SendChatMessage(14, 0, "I will kill you, and eat you...!") pUnit:RegisterEvent("FireBall", 18392, 0) pUnit:RegisterEvent("Phase_2", 1000, 0) end end function Phase_2(pUnit, Event) if pUnit:GetHealthPct() <= 50 then pUnit:RemoveEvents() pUnit:RegisterEvent("FireBall", 18392, 0) pUnit:SendChatMessage(14, 0, "Hmmmm.....") end end pUnit:CastSpellOnTarget(25449, pUnit:GetRandomPlayer(0)) function HealingWave(pUnit, Event) pUnit:CastSpell(49273) end #GetClosestPlayer() --Gets the closest player. #GetMainTank() --Returns main tank. #GetAddTank() --Returns offtank. RegisterUnitEvent(98347, 1, "Ching_OnCombat") RegisterUnitEvent(98347, 2, "Ching_OnLeaveCombat") RegisterUnitEvent(98347, 4, "Ching_OnDied")
1 pUnit:RegisterEvent("FireBall", 18392, 0)
2 pUnit:RegisterEvent("FireBall", 18392, 0)
and .. there is other spells
pUnit:CastSpellOnTarget(25449, pUnit:GetRandomPlayer(0))
function HealingWave(pUnit, Event)
pUnit:CastSpell(49273)
Well i haven't tested but it looks like you made this lua in like 2 minutes try make a longer and add more spells, Less QQ more PewPew!No touching please.
-
17-10-09, 08:13 AM #13
Lbniese isn't capable of less QQ...
me if I have helped you in anyway ^^ Example: Sharing a repack, answering questions... Well you know the rest xD. As long as I help you!
-
19-10-09, 04:01 PM #14
-
19-10-09, 10:28 PM #15
Register to remove this adBan who? :O
me if I have helped you in anyway ^^ Example: Sharing a repack, answering questions... Well you know the rest xD. As long as I help you!