Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

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


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3