View Single Post
  #1  
Old 05-15-2009, 05:11 PM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default Some pets in Plane of Sky

The Plane of Sky has some quirkiness to it (Sirran aside) with some pets. I've got some working code but before I check it in, I wanted to see if somebody more familliar with Sky could help out. The Skeleton pets are supposed to appear as pink wisps and the Magician is only supposed to be able to summon thier Air pet and it's supposed to appear as a female genie. What I'm wondering is if there are other pets that have some quirkiness. Beastlords came into EQ long after I was done going to Sky... were thier pets different? Enchanter pets? others? Do any mages remeber if they got some kind of message if they tried to summon a non-Air type pet?

in pets.cpp Mob::MakePet() put this:
Code:
	if(zone->GetZoneID() == 71) // Special pet handling for Plane of Sky. Reference: http://mysite.verizon.net/drexxell/eq/planeofsky.html
	{
		if((GetClass() == NECROMANCER) || (GetClass() == SHADOWKNIGHT))
		{
			npc_type->race = 69; // Will-o-Wisp
			npc_type->texture = 1; // Pink
			npc_type->size = 4.0f;
		}

		if(GetClass() == MAGICIAN)
		{
			if(strncmp(spells[spell_id].teleport_zone, "SumAir", 6) != 0)
			{
				// this->Message(15, "Something like You can only summon Air pets here");
				// or
				// this->Say_StringID(AIR_PET_ONLY_STRING);
				return; // Magicians can only summon Air pets in Sky
			}
			else
			{
				npc_type->race = 126; // Female Djinn
				npc_type->size = 5.5f;
			}
		}
	}
right above these two lines:
Code:
	//this takes ownership of the npc_type data
	Pet *npc = new Pet(npc_type, this, type, spell_id);
__________________
The Realm

Last edited by Congdar; 05-16-2009 at 02:26 AM..
Reply With Quote