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

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-11-2002, 11:27 AM
Baron Sprite's Avatar
Baron Sprite
Dragon
 
Join Date: Jan 2002
Posts: 708
Default Necromancer Pets 1-65.

This should be pretty close to live. I still have some more tweaking to do, but this makes it ALOT better then before. Just wanted to get it out there for yall. Please let me know of any ideas you got, will be updating this after some more tweaks. Just so you know the spacing on forums is pretty gimped so be weary. Also all the line #s are usally after I have merged my code, so they are probably off some. Hopefully it won't be too hard for you to find the spots.
-----------------------------
- Baron-Sprite 12/11/2002 -
-----------------------------
Necromancer pets that can support it will now do their lifetaps.
All damage ranges are correct
All hit points are correct
All levels are correct
Added support for necropet ranges
Added in necromancer pets

Replace the necromancer makepet area at around 1674 in spells.cpp

Code:
	else if (strncmp(pettype, "skel_pet_", 9) == 0) {
		char sztmp[50];
		strcpy(sztmp, pettype);    
		sztmp[11] = 0;    
		int8 tmp = atoi(&sztmp[9]);    
		//Baron-Sprite: No need for level algorithim - Since pet levels are now fixed in EQLive. 
		//Baron-Sprite: MakePet(level, class, race, texture, pettype, size, type) 0 Can be a placeholder.
				if (tmp >= 65)    
		{    
			MakePet(65, 1, 85, 0, 39, 0, 4);    
		}  
		else if (tmp >= 63)    
		{    
			MakePet(63, 1, 85, 0, 38, 0, 4);    
		} 
		else if (tmp >= 61)    
		{    
			MakePet(61, 1, 85, 0, 37, 0, 4);    
		} 
		else if (tmp >= 47)    
		{    
			MakePet(47, 1, 85, 0, 36, 0, 4);   
		} 
		else if (tmp >= 44)    
		{    
			MakePet(44, 7, 60, 0, 35, 0, 4);   
		} 
		else if (tmp >= 43)    
		{    
			MakePet(43, 9, 60, 0, 34, 0, 4);   
		} 
		else if (tmp >= 41)    
		{    
			MakePet(41, 1, 60, 0, 33, 0, 4);   
		}
		else if (tmp >= 37)    
		{    
			MakePet(37, 1, 60, 0, 32, 0, 4);   
		}
		else if (tmp >= 33)    
		{    
			MakePet(33, 1, 60, 0, 31, 0, 4);   
		}
		else if (tmp >= 29)    
		{    
			MakePet(29, 1, 60, 0, 30, 0, 4);   
		}
		else if (tmp >= 25)    
		{    
			MakePet(25, 1, 60, 0, 29, 0, 4);   
		} 
		else if (tmp >= 22)    
		{    
			MakePet(22, 1, 60, 0, 28, 0, 4);   
		} 
		else if (tmp >= 19)    
		{    
			MakePet(19, 1, 60, 0, 27, 0, 4);   
		} 
		else if (tmp >= 16)    
		{    
			MakePet(16, 1, 60, 0, 26, 0, 4);   
		} 
		else if (tmp >= 11)    
		{    
			MakePet(11, 1, 60, 0, 25, 0, 4);   
		} 
		else if (tmp >= 9)    
		{    
			MakePet(9, 1, 60, 0, 24, 0, 4);   
		} 
		else if (tmp >= 5)    
		{    
			MakePet(5, 1, 60, 0, 23, 0, 4);   
		} 
		else if (tmp >= 1)    
		{    
			MakePet(1, 1, 60, 0, 22, 0, 4);   
		} 
		else    
			MakePet(1, 1, 60); 
		}
__________________
Waking up in the morgue is pretty harsh, but it beats being dead.
Begun, this irc stat war has.
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 11:03 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