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)

Reply
 
Thread Tools Display Modes
  #1  
Old 05-19-2006, 10:21 PM
aza77
Hill Giant
 
Join Date: Dec 2004
Posts: 126
Default common/classes.cpp

shouldn't it be
int8 GetEQArrayEQClass(int8 eqclass) {
if (eqclass >= WARRIOR && eqclass <= BERSERKER)
return eqclass - WARRIOR;
if (eqclass >= WARRIORGM && eqclass <= BERSERKERGM)
return eqclass - WARRIORGM;
return WARRIOR;
}
at line 332

instead of
int8 GetEQArrayEQClass(int8 eqclass) {
if (eqclass >= WARRIOR && eqclass <= BEASTLORD)
return eqclass - WARRIOR;
if (eqclass >= WARRIORGM && eqclass <= BEASTLORDGM)
return eqclass - WARRIORGM;
return WARRIOR;
}
__________________
- http://www.eqemu-paradigma.de -
Reply With Quote
  #2  
Old 05-20-2006, 10:40 AM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

hmm... looks fine, will make the change. thats only used for spell casting, and it looks like the spell loading code was already updated to handle them, so we'll see how it goes. Items on the other hand store the "berserker allowed" bit in a different way (seperate field), in case you wander over there too.
Reply With Quote
Reply


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 08:15 AM.


 

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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3