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.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-10-2004, 08:33 PM
nattini
Fire Beetle
 
Join Date: Mar 2004
Posts: 15
Default

Code:
bool Mob::CanThisClassDuelWield(void) //Dual wield not Duel, busy someone else fix it 
{ 
   // All npcs over level 13 can dual wield 
   if (this->IsNPC() && (this->GetLevel() >= 13)) 
      return true; 
    
   // nattini - added breaks- preventing war/rog classes falling through to the bard level check 
   // Kaiyodo - Check the classes that can DW, and make sure we're not using a 2 hander 
   switch(this->GetClass()) // Lets make sure they are the right level! -image 
   { 
   case WARRIOR: 
   case ROGUE: 
      { 
      if(this->GetLevel() < 13) 
         return false; 
      break; 
      } 
   case BARD:
   case BEASTLORD: 
   case RANGER: 
      { 
      if(this->GetLevel() < 17) 
         return false; 
      break; 
      } 
   case MONK: 
      { 
      } 
   }
sorry, that case statment was haunting me in my sleep. i should be better now.

-nattini
Reply With Quote
Reply

Thread Tools
Display Modes

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:07 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