Hi, this is a script from Gastricpenguin, I modded a few things, like where minons spawn, and his entry id, ofc, but he doesnt work, please look over it and see what've i've messed up
+++++ALL CREDITS TO GASTRICPENGUIN++++++++
- Gastricpenguin - PrimordialFire.lua
Second boss ive finished. This one is so bad ass, you can't
kill him. He does an average hit of 2k , with fire spells.
Also summons invisible triggers to erupt the ground in flames.
Spells/data:
33077, agility buff,casts when summoning voids
33082, stamina buff, casts when summoning
22080, i think its a debuff, cant remember
27237, slow heal self over time
28900, chain lightning
24437, health leech
Voids:
Explode on combat
attack target for 10 seconds before dying
-- By Gastricpenguin ]]
function PrimeordialFlameA(Unit)
if Unit:GetHealthPct() < 75 then
Unit:CastSpell(33077)
Unit:SendChatMessage(12, 0, "Let the flames consume you!")
Unit:SpawnCreature(101005, 856.956360, 834.965360, -228.768555, 0.1, 409, 36000)
Unit:SpawnCreature(101005, 856.956360, 834.965360, -228.768555, 0.1, 409, 36000)
Unit:SpawnCreature(101005, 856.956360, 834.965360, -228.768555, 0.1, 409, 36000)
end
end
function PrimeordialFlameB(Unit)
if Unit:GetHealthPct() < 50 then
Unit:CastSpell(33082)
Unit:SendChatMessage(12, 0, "Is it hot in here or what?")
Unit:SpawnCreature(101005, 856.956360, 834.965360, -228.768555, 0.1, 409, 36000)
Unit:SpawnCreature(101005, 856.956360, 834.965360, -228.768555, 0.1, 409, 36000)
Unit:SpawnCreature(101005, 856.956360, 834.965360, -228.768555, 0.1, 409, 36000)
end
end
function PrimeordialFlameC(Unit)
if Unit:GetHealthPct() < 25 then
Unit:CastSpell(33080)
Unit:SendChatMessage(12, 0, "Feel the burn?")
Unit:SpawnCreature(101005, 856.956360, 834.965360, -228.768555, 0.1, 409, 36000)
Unit:SpawnCreature(101005, 856.956360, 834.965360, -228.768555, 0.1, 409, 36000)
Unit:SpawnCreature(101005, 856.956360, 834.965360, -228.768555, 0.1, 409, 36000)
end
end
function PrimeordialFlameD(Unit)
if Unit:GetHealthPct() < 10 then
Unit:CastSpell(27237)
Unit:SendChatMessage(12, 0, "That's ENOUGH!")
Unit:SpawnCreature(101005, 856.956360, 834.965360, -228.768555, 0.1, 409, 36000)
Unit:SpawnCreature(101005, 856.956360, 834.965360, -228.768555, 0.1, 409, 36000)
Unit:SpawnCreature(101005, 856.956360, 834.965360, -228.768555, 0.1, 409, 36000)
end
end
function Voider_OnSpawn (Unit, Event)
Unitespawn (10000, 0)
end
RegisterUnitEvent (101005, 6, "Voider_OnSpawn")
function Voider_onCombat (Unit, Event)
Unit:CastSpell(33132)
end
RegisterUnitEvent (101005, 1, "Voider_onCombat")
function Fire_Pillar(Unit)
Unit:CastSpell(59517)
Unit:SendChatMessage(12, 0, "Lightning!")
end
function Fire_Leech(Unit)
Unit:CastSpell(61090)
Unit:SendChatMessage(12, 0, "Your health feeds me.")
end
function PrimeordialFlame_OnCombat(Unit, Event)
Unit:SendChatMessage (11, 0, "Who dares desturb my peace!")
Unit:RegisterEvent("PrimeordialFlameA",10000, 0)
Unit:RegisterEvent("PrimeordialFlameB",14000, 0)
Unit:RegisterEvent("PrimeordialFlameC",17000, 0)
Unit:RegisterEvent("PrimeordialFlameD",21000, 0)
Unit:RegisterEvent("Fire_Pillar",20000, 0)
Unit:RegisterEvent("Fire_Leech",31000, 0)
end
function PrimeordialFlame_OnLeaveCombat(Unit)
Unit:RemoveEvents()
end
function PrimeordialFlame_KilledTarget(Unit)
Unit:SendChatMessage(12, 0, "Ding!")
Unit:CastSpell(27237)
Unit:RemoveEvents()
end
function PrimeordialFlame_OnDied(Unit)
Unit:SendChatMessage(12, 0, "So c-cold..!")
Unit:RemoveEvents()
end
RegisterUnitEvent(101006, 1, "PrimeordialFlame_OnCombat")
RegisterUnitEvent(101006, 2, "PrimeordialFlame_OnLeaveCombat")
RegisterUnitEvent(101006, 3, "PrimeordialFlame_OnKilledTarget")
RegisterUnitEvent(101006, 4, "PrimeordialFlame_OnDied")