View Full Version : [SOLVED] Custom boss messed up between scripts :)

01-06-2014, 09:26 PM
Hi guys,

I'll be simple and clear :D

I have a custom boss which doesn't have a C++ script, it has some spells and text added in smart_scripts, and it works just fine.

The problem is, I have added a C++ script to my server, which announces that a specific boss has been killed, and awards the players with a specific buff.

After I have updated the boss ( which untill now had nothing inside World DB - creature_template - ScriptName table filled ) with the name of the script ( updated in ScriptName with boss_kill_script ) , the boss is a veggie, he does nothing...

What I want to know, is there any way I can have him do both ? Have the spells/text from smart_scripts table and also be connected to the C++ script ?

Thanks in advance!

01-06-2014, 10:07 PM
You could either use player hooks (playerscript) for the boss announce script
Or you can for example port the SAI script to C++ as well.

01-07-2014, 05:41 AM
Understood thx