NPC behaviour of NPCs with no core script assigned in database

Hi everyone!

Maybe a very simple question but I didn't find a related topic and couldn't figure it out by myself.

I'm curious: what defines NPC behaviour of NPCs that don't have a core scripts assigned in database (in table 'creature_template', column 'ScriptName')? Branch: TC 3.3.5a.

For example: I want to modify the combat behaviour of the bosses Lord Cobrahn, Lord Pythas, Lady Anacondra and Lord Serpentis in the 'Wailing Caverns' dungeon. More abilities, maybe more difficult mechanics, something like that. However, these NPCs don't have a script assigned in the database. And since their death is related to the final event of the 'Wailing Caverns' dungeon I'm afraid that simply adding a custom core script to their 'ScriptName' column would break the dungeon.

Where are those scripts hidden so I can modify them? I searched my core and could not find anything.

Thanks and have a great week!
Srzm

SmartAI is the keyword to search for. (Script Instructions are in the Database)

Thanks, this helped a lot! I found the smart_scripts table and I’m going to read the wiki article about it.

Topic can be closed. =)