[Complete] Nagrand - All Mobs


I have been working on Nagrand for the past two days and I must say that it’s working out quite well thus far. /emoticons/default_smile.png Here is what is done!

I’d also like to thank Piero for helping me gather extra information since he has access to retail. Thanks buddy! And of course Malcrom for showing me how to properly use timed action lists. /emoticons/default_smile.png (source_type 9)

Striked through means that it was pushed to the repository.

Closes issues:

#442, #1541, #1544, #1540, #1542.

SAI for all mobs in Nagrand



[A] Totem of Kar’dash

http://paste2.org/p/1607514 - C++

http://paste2.org/p/1602619 - SQL

[H] Finding the Survivors

http://paste2.org/p/1607515 - C++

http://paste2.org/p/1604634 - SQL

Bring me the Egg!


Blessing of Incineratus


What the Soul Sees


Returning the Favor (just a condition, but it fixes it)


Ruthless Cunning (just a condition, but it fixes it)


Sunspring Villager - need spellscript for quest item… =/ (quest credits didn’t work with core scripts either)




Nothing big, just a few small DB fixes. (mainly fixes the bombs)


Core scripts over to SAI

Shattered Rumbler






Lantresor of the Blade



Wild Sparrowhawk



Altruis the Sufferer



Removal of those from nagrand.cpp


Ring of Blood

OK, here it becomes interesting. This event was REALLY tough to script, I have spend many hours on it so some help on the last details would be very welcome. Right now it works perfectly fine apart from the last encounter. When accepting the last quest, Gurthock (goblin - questgiver) should say a text and run the script. In the script we define that line X occurs 13 seconds after quest accept, whereas the same timed event should link to ANOTHER timed event.

So, you accept the quest, Gurthock runs the first script. 13 seconds after accepting the quest he says something AND starts to run another script. This other script should make Mogor (last encounter creature) do a waypoint and some basic stuff at last point.

http://paste2.org/p/1599818 - I have put some lines so you know what works and what does not work. /emoticons/default_smile.png With this script it repeatedly crashes when it comes to the the point where Mogor’s event should be occurring.

Also, another thing would be if there is a possibility to say something when one of the encounters dies. For example if Brokentoe dies, Gurthock should yell something. I tried a lot of different ways without any luck thus far.


you dont really need the hacks if you fix it properly

Updated main post. Take a look please. /emoticons/default_smile.png

Updated. /emoticons/default_smile.png

Nicely done. Nagrand is an enjoyable area.

Updated again, almost ready for push.


Updated patch file and added last missing SAI and some last touches.

This is my favorite topic of the week. :slight_smile:


Updated topic again, it seems like I’m all done now apart from Ring of Blood which is under construction by Lopin (in cpp). Could someone move this over to SAI section? Made a mistake posting it here. /emoticons/default_smile.png

Also updated all links one more time and I confirm everything works as I had intend it to work. Enjoy!


Ready for push. /emoticons/default_smile.png

Great work! One little addition, Lump changes to friendly at 30% instead of 20% (just checked on Aggy EU)

That’s the kind of help I appreciate. Thanks, changed. /emoticons/default_smile.png

If you neef sniffs/fraps let me know got an active account on aggy ( and no, nobody wants to raid BWL) :wink:

Hah, I don’t need BWL! x)

I could use some sniffs from Netherstorm. Actually a lot… /emoticons/default_tongue.png

Can you get on IRC?

Nice one Discover ;]


I need to say this… BRAVO!

People keep surprising me with their effort and time put in this project! Well done! Just one question… Do these corrections find their way inside the core eventually? It would be a shame to waste all that good work…

Edit: Do you have it, or plan to have the patch in github?


Yes most likely it will, eventually, be pushed. It’s sad that only Nayd looks at those though, I mean there should be other people looking at this kind of stuff as well. But I believe he will review, change and push it soon. /emoticons/default_smile.png

And no, I don’t have my own repo. Last time I tried that it somehow bugged my whole core. =/

Your a hard working Jerk Discover /emoticons/default_tongue.png

I sure am. /emoticons/default_smile.png


That’s kind of shocking. I’d have thought getting working content into the core/database would be a top priority. I was thinking I’d only have to wait a few days for it to show up in my semi-regular pulls. Still, as long as it shows up eventually it’ll still be awesome. As always much appreciation to everyone that helps make Trinity so awesome.

i am testing your files at the moment and just finished with the SAI http://paste2.org/p/1627675

line 286 you switched the last two numbers: 15967 instead of 15976

line 843 to 854

imp summon did not work, added 2 castflags. i also added missing spell immolate, just used once in fight.

a problem i coudn’t solve was that the imp doesn’t support the warlock on summon.

SET @ENTRY := 22363;

SET @SPELL_SUMMON_IMP := 38980; -- Summon Twilight Ridge Imp

SET @SPELL_SHADOW_BOLT := 9613; -- Shadow Bolt

SET @SPELL_DEMON_ARMOR := 13787; -- Demon Armor

SET @SPELL_IMMOLATE := 11962; -- Immolate

UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;

DELETE FROM `creature_ai_scripts` WHERE `creature_id`=@ENTRY;

DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY;

INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES

(@ENTRY,0,0,0,1,0,100,1,0,0,0,0,11,@SPELL_DEMON_ARMOR,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deathshadow Warlock - Out of Combat - Cast Demon Armor"),

(@ENTRY,0,1,0,4,0,100,0,0,0,0,0,11,@SPELL_SUMMON_IMP,3,0,0,0,0,0,0,0,0,0,0,0,0,"Deathshadow Warlock - On Aggro - Cast Summon Twilight Ridge Imp"),

(@ENTRY,0,2,0,0,0,100,0,3500,3500,3500,3500,11,@SPELL_SHADOW_BOLT,0,0,0,0,0,2,0,0,0,0,0,0,0,"Deathshadow Warlock - In Combat - Cast Shadow Bolt"),

(@ENTRY,0,3,0,0,0,100,1,1000,1000,0,0,11,@SPELL_IMMOLATE,0,0,0,0,0,2,0,0,0,0,0,0,0,"Deathshadow Warlock - In Combat - Cast Immolate");

line 1045 you have a wrong entry: 19149 instead of 18407

line 1164 the script isn’t working. i changed the script that it worked, but i saw the buff is applied to the caster himselfe and also it is a positive buff, so you can just klick it away.