How wasn't this made before? WoW NEEDS vorpal bunnies!
Basic outline:
Phase 1: Simple, just attack. Will claw the tank once in a while.
Phase 2: Starts growing, +15% damage every time he grows, stacks up to 30 times. Also starts clawing a random close player.
Phase 3: The fun part . He starts summoning Feral Bunnies to help him! Each feral bunny has around 1500HP and does 206 DPS
Phase 4: Bites the tank to regain some health.
Phase 5: Bunny doom.
Code:
--[[
Vorpal Bunny!
200,000 HP, 1700~ damage speed 2.3 739 DPS (5 man)
Phase 1:
Claws the tank once in a while 15608
Phase 2:
Starts growing (Growth 40318)
Now also claws random player in range
Phase 3:
Summons many bunnies to help it!
1500HP per bunny
Still growing ;)
Phase 4:
Bites!
Summons more bunnies!
Phase 5:
Bunny hell!
]]--
function Vbunny_Claw (pUnit, Event)
pUnit:FullCastSpellOnTarget(15608, pUnit:GetMainTank())
end
function Vbunny_ClawRand (pUnit, Event)
pUnit:FullCastSpellOnTarget(15608, pUnit:GetRandomPlayer(1))
end
function Vbunny_Growth (pUnit, Event)
pUnit:CastSpell(40318)
end
function Vbunny_Bite (pUnit, Event)
pUnit:FullCastSpellOnTarget(36383, pUnit:GetMainTank())
end
function Vbunny_Spawn (pUnit, Event)
tx = pUnit:GetX()
ty = pUnit:GetY()
tz = pUnit:GetZ()
to = pUnit:GetO()
mx = math.random(5, 7)
my = math.random(5, 7)
mz = 5
pUnit:SpawnCreature(100667, tx+mx, ty+my, tz+mz, to, 17, 0);
end
--========================Events========================-
function Vbunny_Death (pUnit, Event)
pUnit:RemoveEvents()
-- rest in peace my furry little friend :(
end
function Vbunny_Phase5 (pUnit, Event)
if pUnit:GetHealthPct() < 10
--Attack my bunnies, full speed ahead!!
pUnit:RemoveEvents()
pUnit:RegisterEvent("Vbunny_Spawn", 1000, 0)
pUnit:RegisterEvent("Vbunny_ClawRand", 3500, 0)
pUnit:RegisterEvent("Vbunny_Growth", 10500, 0)
end
end
function Vbunny_Phase4 (pUnit, Event)
if pUnit:GetHealthPct() < 30
--Uh oh
pUnit:RemoveEvents()
pUnit:RegisterEvent("Vbunny_Claw", 4500, 0)
pUnit:RegisterEvent("Vbunny_ClawRand", 6500, 0)
pUnit:RegisterEvent("Vbunny_Growth", 13000, 0)
pUnit:RegisterEvent("Vbunny_Spawn", 2000, 0)
pUnit:RegisterEvent("Vbunny_Bite", 5500, 0)
pUnit:RegisterEvent("Vbunny_Phase4", 1000, 0)
end
end
function Vbunny_Phase3 (pUnit, Event)
if pUnit:GetHealthPct() < 75
--Call our buddies!
pUnit:RemoveEvents()
pUnit:RegisterEvent("Vbunny_Claw", 4500, 0)
pUnit:RegisterEvent("Vbunny_ClawRand", 7000, 0)
pUnit:RegisterEvent("Vbunny_Growth", 13000, 0)
pUnit:RegisterEvent("Vbunny_Spawn", 4000, 0)
pUnit:RegisterEvent("Vbunny_Phase4", 1000, 0)
end
function Vbunny_Phase2 (pUnit, Event)
if pUnit:GetHealthPct() < 90
--Stronger, and STRONGER
pUnit:RemoveEvents()
pUnit:RegisterEvent("Vbunny_Claw", 5000, 0)
pUnit:RegisterEvent("Vbunny_ClawRand", 8000, 0)
pUnit:RegisterEvent("Vbunny_Growth", 13000, 0)
pUnit:RegisterEvent("Vbunny_Phase3", 1000, 0)
end
end
function Vbunny_Combat (pUnit, Event)
pUnit:RegisterEvent("Vbunny_Claw", 5000, 0)
pUnit:RegisterEvent("Vbunny_Phase2", 1000, 0)
end
RegisterUnitEvent(100666, 1, "Vbunny_Combat")
RegisterUnitEvent(100666, 4, "Vbunny_Death")