Log in

View Full Version : Problem with NPC's casting spells


Kupper1
12-26-2009, 02:48 PM
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?