View Full Version : Npc pets?
ChaosSlayer
07-19-2008, 12:32 PM
I wanted to ask for longest time but kee forgeting - why npc do not summon pets?
cavedude
07-19-2008, 12:38 PM
They do, if they have a pet spell in their spell list. Back in the day, all NPC casters had pet spells which is wrong, obviously. So, Angelox created two lists per class, one with pets and one without. Since then, we've been manually assigning the pet lists to NPCs that are confirmed to have pets. If you are using PEQ, check out the Crusaders around Cabilis (not in the city), you'll see they have their skelly pets trailing them.
GeorgeS
07-19-2008, 12:44 PM
I've verified that indeed npc's will cast spells like CD mentioned - use spell list id's 514-524.
It can include pets spells in some normal npc spell lists if you need tp make them a bit more powerful.
GeorgeS
ChaosSlayer
07-20-2008, 01:24 AM
ah i see i was kind expecting that default class list would include pets
thanks
Angelox
07-20-2008, 09:22 AM
This would display the two caster default sets (for PEQ);
SELECT * FROM peq.npc_spells where id >='514' and id <='524' OR id >='2' and id <='12';
And this would set all caster npcs default to pets again (if the above is correct);
UPDATE peq.npc_types SET npc_spells_id=npc_spells_id+512 WHERE npc_spells_id >='2' and npc_spells_id <='12';
And, it would cancel all the work everyone has done towards placing the proper NPCs with their pets (back up npc_types in case you don't like it).
The original reason on why I did this was, I figured there were a lot more NPCs that didn't use pets than those which did, so it would be easier/faster to start out with no pets, then go through the NPC list and fix the ones that do need pets.
At the time, I was working Droga - not one NPC there should have a pet; more than half the NPCs are casters, and they all had pets, which 'ghosted' at zin. This made the whole dungeon unbearable ( there were a lot of zones like this). Probably, all the un-needed pets running around make lag too.
We should also be making specific spell sets, but that takes even more time, and probably not as urgent.
For example Spider Tamer Gugan in Tutorialb shouldn't have a full shaman spellset, and he certainly does not blind you on live. In Nadox, there are no caster NPCs that can SOW (yet they do SOW).
I remember when getting blinding by an NPC was a special occasion (the Muddites in Beholder!)
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.