Utgarde Pinnacle Lua´s
Hey everyone, just like the title says, these are Utgarde pinnacle Lua scripts.
Just started Lua scripting bosses/mobs so please, feel free to edit the script anyway you want.
Includes; Seer Lua´s making them cast lightning bolts(healing wave removed or the mob will spam Healing wave), a Hulk that casts Death and decay(The Hooks thingy don't work).
More will be coming soon, bosses and what alike for this instance.
The Lua´s
Dragonflayer seer:
Code:
function Seer_Lightning_Bolt(Unit, event, miscunit, misc)
print "Seer Lightning Bolt"
Unit:FullCastSpellOnTarget(49238,Unit:GetClosestPlayer())
end
function Seer(unit, event, miscunit, misc)
print "Seer"
unit:RegisterEvent("Seer_Lightning_Bolt",15000,0)
end
RegisterUnitEvent(3002020,1,"Seer")
Hulk:
Code:
function Hulk_Death_Decay(Unit, event, miscunit, misc)
print "Hulk Death Decay"
Unit:FullCastSpellOnTarget(49938,Unit:GetClosestPlayer())
end
function Hulk(unit, event, miscunit, misc)
print "Hulk"
unit:RegisterEvent("Hulk_Death_Decay",15000,0)
end
RegisterUnitEvent(26555,1,"Hulk")
Just Search for 26555 in your creature_names or creature_proto to edit the hulk to fit your needs.
_______________________
Edit:Svala Sorrowgave Inserted.
Code:
Code:
function Svala_Frosfire_bolt(Unit, event, miscunit, misc)
print "Svala Frosfire bolt"
Unit:SendChatMessage(14, 0, "WITH THE POWER OF THE FROST AND FIRE!")
Unit:FullCastSpellOnTarget(47610,Unit:GetClosestPlayer())
end
function Svala_summon_minion(Unit)
print "Svala summon minion"
Unit:SendChatMessage(14, 0, "Arise my minions!")
Unit:FullCastSpell(42650)
local X = Unit:GetX()
local Y = Unit:GetY()
local Z = Unit:GetZ()
local O = Unit:GetO()
Unit:SpawnCreature(31812, X, Y, Z, o, 21, 0)
local X = Unit:GetX()
local Y = Unit:GetY()
local Z = Unit:GetZ()
local O = Unit:GetO()
Unit:SpawnCreature(31812, X, Y, Z, o, 21, 0)
end
function Svala(unit, event, miscunit, misc)
print "Svala"
unit:RegisterEvent("Svala_summon_minion",10000,0)
unit:RegisterEvent("Svala_Frosfire_bolt",15000,0)
end
RegisterUnitEvent(29281,1,"Svala")
Note: Since Half the Spells that the bosses use do not work, i´ve just modified the Ritual of the sword to Army of the Dead, summoning minions at 2 locations.
Call Flames: Changed to Frostfire bolt since the Flames are buged. (Atleast on my test server)
Another note:Remember to change the displayid of Svala in the database to: To make it look like the real one, just modify the NPC to make it fit your needs.
______________
Edit2:Gortok Palehoof added.
Script:
Code:
function Gortok_Spear(Unit, event, miscunit, misc)
print "Gortok Spear"
Unit:SendChatMessage(14, 0, "You die now!")
Unit:FullCastSpellOnTarget(50255,Unit:GetClosestPlayer())
end
function Gortok_Impale(Unit)
print "Gortok Impale"
Unit:SendChatMessage(14, 0, "I will impale thy!")
Unit:FullCastSpellOnTarget(59268,Unit:GetClosestPlayer())
end
function Gortok(unit, event, miscunit, misc)
print "Gortok"
unit:RegisterEvent("Gortok_Spear",10000,0)
unit:RegisterEvent("Gortok_Impale",21000,0)
end
RegisterUnitEvent(26687,1,"Gortok")
Note: Added Poison spear to make the battle more interesting.
The boss needs modifications, like giving it more health and stuff like that.
Like said before Edit the script anyway you want it to be.
_____________
Edit3:Skadi the ruthless and Grauf added.
Skadi The Ruthless:
Code:
function Skadi_Whirlwind(Unit, event, miscunit, misc)
print "Skadi Whirlwind"
Unit:SendChatMessage(14, 0, "Hahahaha!")
Unit:FullCastSpellOnTarget(50228,Unit:GetClosestPlayer())
end
function Skadi(unit, event, miscunit, misc)
print "Skadi"
unit:RegisterEvent("Skadi_Whirlwind",10000,0)
end
RegisterUnitEvent(26693,1,"Skadi")
Note: This aint like the event on retail its just him standing there whirlwinding AT YOU.
Grauf:
Code:
function Grauf_Firebreath(Unit, event, miscunit, misc)
print "Grauf Firebreath"
Unit:SendChatMessage(14, 0, "rawr!")
Unit:FullCastSpellOnTarget(39128,Unit:GetClosestPlayer())
end
function Grauf(unit, event, miscunit, misc)
print "Grauf"
unit:RegisterEvent("Grauf_Firebreath",10000,0)
end
RegisterUnitEvent(26893,1,"Grauf")
Note:He´s unmounted if you want to have them both together you just spawn them standing together.
Yes I know its a Firebreath potion but it was the best I could find.
THESE SCRIPTS ARE ALL MOBS/BOSSES IN UTGARDE PINNALCE HEROIC/NORMAL, that cast something.
Comment if you need help.
~Iday~