PDA

View Full Version : Gnome Elementalists



Kreegoth
10-09-08, 09:38 AM
Heres Yet another Lua scripted boss fight i did
It is two gnomes.. Arkim and Mikra...
One is Immune to all types of Magic except fire
One is Immune to all types of Magic except Ice.
They have decent melee damage
One only casts Fire damage spells
One only casts Ice Damage spells
Both also cast stuns and roots and such and put out pretty decent DPS spellwise
Alot of neat spell graphics thrown in here so its actually a pretty cool looking fight.

Spawn ids are 888781 and 888782


INSERT INTO creature_names (entry, name, subname, info_str, Flags1, type, family, rank, male_displayid, female_displayid, male_displayid2, female_displayid2, civilian, leader) VALUES ('888781','Gnome Arcanist Arkim','Elementalist','','0','7','0','3','10215',' 0','0','0','0','0');
INSERT INTO creature_proto (entry, minlevel, maxlevel, faction, minhealth, maxhealth, mana, scale, npcflags, attacktime, mindamage, maxdamage, rangedattacktime, rangedmindamage, rangedmaxdamage, mountdisplayid, equipmodel1, equipmodel2, equipmodel3, respawntime, armor, resistance1, resistance2, resistance3, resistance4, resistance5, resistance6, combat_reach, auras, boss, money, invisibility_type, death_state, walk_speed, run_speed, fly_speed) VALUES ('888781','72','72','1787','112831','114123','7712 2','0','1600','2421','4212','0','0','0','0','0','0 ','0','36000','2455','99','0','99','99','99','99', '1','0','1','0','0','0','2.5','8','14');
INSERT INTO creature_names (entry, name, subname, info_str, Flags1, type, family, rank, male_displayid, female_displayid, male_displayid2, female_displayid2, civilian, leader) VALUES ('888782','Gnome Arcanist Mikra','Elementalist','','0','7','0','3','10215',' 0','0','0','0','0');
INSERT INTO creature_proto (entry, minlevel, maxlevel, faction, minhealth, maxhealth, mana, scale, npcflags, attacktime, mindamage, maxdamage, rangedattacktime, rangedmindamage, rangedmaxdamage, mountdisplayid, equipmodel1, equipmodel2, equipmodel3, respawntime, armor, resistance1, resistance2, resistance3, resistance4, resistance5, resistance6, combat_reach, auras, boss, money, invisibility_type, death_state, walk_speed, run_speed, fly_speed) VALUES ('888782','72','72','1787','112831','114123','7712 2','0','1600','2421','4212','0','0','0','0','0','0 ','0','36000','2455','99','99','99','0','99','99', '1','0','1','0','0','0','2.5','8','14');

Luas


function Firegnome_EnterCombat (pUnit, event)
pUnit:SendChatMessage(14, 0, "It all will burn...")
pUnit:RegisterEvent("Firegnome_Fireshield", 3000, 1)
pUnit:RegisterEvent("Firegnome_Fire", 6000, 0)
pUnit:RegisterEvent("Firegnome_Phase2", 1000, 0)
pUnit:CastSpell(42048)
end
function Firegnome_Fire (pUnit, event)
pUnit:FullCastSpellOnTarget(26660, pUnit:GetClosestPlayer())
end
function Firegnome_Fireshield (pUnit, event)
pUnit:CastSpell(19630)
end
function Firegnome_Phase2 (pUnit, event)
if pUnit:GetHealthPct() < 76 then
pUnit:RemoveEvents()
pUnit:SendChatMessage(14, 0, "Revel in the Chaos!")
pUnit:RegisterEvent("Firegnome_Firechain", 5000, 0)
pUnit:RegisterEvent("Firegnome_Fireflare", 4000, 0)
pUnit:RegisterEvent("Firegnome_Phase3", 1000, 0)
end
end
function Firegnome_Firechain (pUnit, event)
pUnit:FullCastSpellOnTarget(32982, pUnit:GetMainTank())
end
function Firegnome_Fireflare (pUnit, event)
pUnit:FullCastSpellOnTarget(46101, pUnit:GetMainTank())
end
function Firegnome_Phase3 (pUnit, event)
if pUnit:GetHealthPct() < 49 then
pUnit:RemoveEvents()
pUnit:RegisterEvent("Firegnome_Firebomb", 6000, 0)
pUnit:RegisterEvent("Firegnome_Fireycast", 5000, 0)
pUnit:RegisterEvent("Firegnome_Phase4", 1000, 0)
end
end
function Firegnome_Firebomb (pUnit, event)
pUnit:FullCastSpellOnTarget(20679, pUnit:GetMainTank())
end
function Firegnome_Fireycast (pUnit, event)
pUnit:FullCastSpellOnTarget(21670, pUnit:GetMainTank())
end
function Firegnome_Phase4 (pUnit, event)
if pUnit:GetHealthPct() < 20 then
pUnit:RemoveEvents()
pUnit:SendChatMessage(14, 0, "Reduced to smoldering ruins")
pUnit:CastSpell(29652)
end
end
function Firegnome_LeaveCombat (pUnit, event)
pUnit:RemoveEvents()
end
function Firegnome_Die (pUnit, event)
pUnit:RemoveEvents()
pUnit:SendChatMessage(14, 0, "The flames! I feel them")
end
RegisterUnitEvent(888782, 1, "Firegnome_EnterCombat")
RegisterUnitEvent(888782, 2, "Firegnome_LeaveCombat")
RegisterUnitEvent(888782, 4, "Firegnome_Die")



function Icegnome_EnterCombat (pUnit, event)
pUnit:SendChatMessage(14, 0, "Hee hee Foolish...")
pUnit:RegisterEvent("Icegnome_Iceshield", 100, 1)
pUnit:RegisterEvent("Icegnome_Ice", 4000, 0)
pUnit:RegisterEvent("Icegnome_Phase2", 1000, 0)
pUnit:CastSpell(42049)
end
function Icegnome_Ice (pUnit, event)
pUnit:FullCastSpellOnTarget(46194, pUnit:GetClosestPlayer())
end
function Icegnome_Iceshield (pUnit, event)
pUnit:CastSpell(36881)
end
function Icegnome_Phase2 (pUnit, event)
if pUnit:GetHealthPct() < 76 then
pUnit:RemoveEvents()
pUnit:SendChatMessage(14, 0, "Hee hee hee hee")
pUnit:RegisterEvent("Icegnome_Icechain", 5000, 0)
pUnit:RegisterEvent("Icegnome_Iceflare", 4000, 0)
pUnit:RegisterEvent("Icegnome_Phase3", 1000, 0)
end
end
function Icegnome_Icechain (pUnit, event)
pUnit:FullCastSpellOnTarget(512, pUnit:GetMainTank())
end
function Icegnome_Iceflare (pUnit, event)
pUnit:FullCastSpellOnTarget(3130, pUnit:GetMainTank())
end
function Icegnome_Phase3 (pUnit, event)
if pUnit:GetHealthPct() < 49 then
pUnit:RemoveEvents()
pUnit:RegisterEvent("Icegnome_Frostbomb", 6000, 0)
pUnit:RegisterEvent("Icegnome_Iceycast", 25000, 0)
pUnit:RegisterEvent("Icegnome_Phase4", 1000, 0)
end
end
function Icegnome_Frostbomb (pUnit, event)
pUnit:FullCastSpellOnTarget(16869, pUnit:GetMainTank())
end
function Icegnome_Iceycast (pUnit, event)
pUnit:FullCastSpellOnTarget(28522, pUnit:GetMainTank())
end
function Icegnome_Phase4 (pUnit, event)
if pUnit:GetHealthPct() < 20 then
pUnit:RemoveEvents()
pUnit:SendChatMessage(14, 0, "Having fun yet?")
pUnit:CastSpell(46194)
end
end
function Icegnome_LeaveCombat (pUnit, event)
pUnit:RemoveEvents()
end
function Icegnome_Die (pUnit, event)
pUnit:RemoveEvents()
pUnit:SendChatMessage(14, 0, "No...No... Its impossible!")
end
RegisterUnitEvent(888781, 1, "Icegnome_EnterCombat")
RegisterUnitEvent(888781, 2, "Icegnome_LeaveCombat")
RegisterUnitEvent(888781, 4, "Icegnome_Die")


http://img228.imageshack.us/img228/328/gnomesportalsxq7.th.jpg (http://img228.imageshack.us/my.php?image=gnomesportalsxq7.jpg)
http://img160.imageshack.us/img160/8503/gnomescombatoa4.th.jpg (http://img160.imageshack.us/my.php?image=gnomescombatoa4.jpg)

StickyIcky
10-09-08, 01:37 PM
Damn real nice...
+rep