npc persistent pets
Per request of So_1337, here's the code necessary to make npc pets remain and fight after their master is slain.
This change brought to you by Ladoth, bringer of classic code. He is the lead source developer for project1999, and without him, we wouldn't have lots of cool stuff. in zone/mob.cpp, change this line 1420 Code:
void Mob::SetOwnerID(int16 NewOwnerID) { Code:
void Mob::SetOwnerID(int16 NewOwnerID) { |
You may experience a slight bug in this. Sometimes for NPC's if you feign off the pet aggro they'll return to the point where they were summoned and go indifferent. Not sure if the fix for this was put into the code yet or not as I know zip all about source code.
|
All times are GMT -4. The time now is 10:15 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.