EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Database/World Building (https://www.eqemulator.org/forums/forumdisplay.php?f=596)
-   -   Problem with NPC's casting spells (https://www.eqemulator.org/forums/showthread.php?t=30169)

Kupper1 12-26-2009 02:48 PM

Problem with NPC's casting spells
 
Hello, im creating a custom NPC, and i was trying to get it to cast spells from different classes, i managed to get it to cast 2 spells, but when i change the npc_spells_id to a different spell id, and repop the mobs they are still casting the old spells and not the new spells i changed to.

is this information stored anywhere else besides npc_spells_entries tab that im not aware of? Or does the server just need a reboot instead of just updating the DB, then repopping the mob?

GeorgeS 12-26-2009 05:26 PM

I would try and restart the server. NPC's are loaded once the server starts in shared memory, and repop does not reload from DB

GeorgeS

Kupper1 12-26-2009 06:13 PM

ok, will try that, also, is there a way to make mobs Ready to attack, but have them not assist each other, like if you pull one, the other ones in a certain distance come as well, or do you just need to space them apart more in order to avoid that?


All times are GMT -4. The time now is 10:42 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.