Rayne the Druid
2 posters
Twist Gaming :: Gaming and Server Development :: MMORPGs Emulation & Chat :: World of Warcraft :: Emulation :: Releases
Page 1 of 1
Rayne the Druid
Ok this is my newest boss i created using phases. +rep if you enjoy and heres a little description. So this boss's name is Rayne the Druid. In his first face he will cast three spells. Moonfire, starfall,starfire. when he enters the first phase, he will transform into a bear and use clawsipe, next phase he transform into a cat also using clawsipe, phase after that he transforms back into normal and casts the first three spells. heres a picture
- Code:
Rayne = {
NPCID = 8000090
}
local Spells = {
Starfire = 67947,
Clawswipe = 60776,
Starfall = 64378,
Moonfire = 67946,
}
--Normal form
function Rayne.Combat(pUnit, event)
pUnit:SendChatMessage(14, 0, "You will die for damaging these lands!")
pUnit:RegisterEvent("Rayne.Starfire", 3500,0)
pUnit:RegisterEvent("Rayne.Starfall", 10000,0)
pUnit:RegisterEvent("Rayne.Moonfire", 1500,0)
pUnit:RegisterEvent("Rayne.Phase2", 1000, 0)
end
--Cat form
function Rayne.Phase2(pUnit, event, player)
if pUnit:GetHealthPct() <= 80 then
pUnit:RemoveEvents()
pUnit:SendChatMessage(14, 0, "I will tear you to pieces!")
pUnit:CastSpell(5487)
pUnit:SetModel(719)
pUnit:RegisterEvent("Rayne.Clawswipe", 1000,0)
pUnit:RegisterEvent("Rayne.Phase3", 1000, 0)
end
end
--Bear form
function Rayne.Phase3(pUnit, event, player)
if pUnit:GetHealthPct() <= 50 then
pUnit:RemoveEvents()
pUnit:SendChatMessage(14, 0, "No matter.. I will claw your face!")
pUnit:CastSpell(57655)
pUnit:SetModel(892)
pUnit:RegisterEvent("Rayne.Clawswipe", 1000,0)
pUnit:RegisterEvent("Rayne.Phase4", 1000, 0)
end
end
--Normal form
function Rayne.Phase4(pUnit, event, player)
if pUnit:GetHealthPct() <= 30 then
pUnit:RemoveEvents()
pUnit:SendChatMessage(14, 0, "You will face the wrath of nature itself!")
pUnit:SetModel(24029)
pUnit:RegisterEvent("Rayne.Starfire", 3500,0)
pUnit:RegisterEvent("Rayne.Starfall", 10000,0)
pUnit:RegisterEvent("Rayne.Moonfire", 1500,0)
end
end
function Rayne.Starfire(pUnit, event)
local target = pUnit:GetRandomPlayer(0)
if target ~= nil then
pUnit:CastSpellOnTarget(Spells.Starfire, target)
end
end
function Rayne.Clawswipe(pUnit, event)
local target = pUnit:GetRandomPlayer(0)
if target ~= nil then
pUnit:CastSpellOnTarget(Spells.Clawswipe, target)
end
end
function Rayne.Starfall(pUnit, event)
local target = pUnit:GetRandomPlayer(0)
if target ~= nil then
pUnit:CastSpellOnTarget(Spells.Starfall, target)
pUnit:SendChatMessage(42, 0, "Starfall!")
end
end
function Rayne.Moonfire(pUnit, event)
local target = pUnit:GetRandomPlayer(0)
if target ~= nil then
pUnit:CastSpellOnTarget(Spells.Moonfire, target)
end
end
function Rayne.Wipe(pUnit, event, player)
pUnit:RemoveEvents()
pUnit:SendChatMessage(14, 0, "You are no match for the earth's wrath!")
end
function Rayne.Death(pUnit, event)
pUnit:RemoveEvets()
pUnit:SendChatMessage(12, 0, "I am infused in the... earth's soil..")
end
RegisterUnitEvent(Rayne.NPCID, 1, "Rayne.Combat")
RegisterUnitEvent(Rayne.NPCID, 2, "Rayne.Wipe")
RegisterUnitEvent(Rayne.NPCID, 4, "Rayne.Death")
mykael- Member
- Posts : 11
Reputation : 6
Warning :
Re: Rayne the Druid
looks very nice :O but how do i put him into my server?? im just new to all of this (actually yesterday)
could some1 help me with my questions and such things???
(need to upgrade my server to 3.3.5 too)
could some1 help me with my questions and such things???
(need to upgrade my server to 3.3.5 too)
Blaszix- Member
- Posts : 5
Reputation : 0
Warning :
Twist Gaming :: Gaming and Server Development :: MMORPGs Emulation & Chat :: World of Warcraft :: Emulation :: Releases
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum