Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Server Code Submissions

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-20-2012, 05:37 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,164
Default Pets and bane

Pets and Swarm pets should be able to hit IMMUNE_MELEE_EXCEPT_BANE mobs

proof: http://everquest.allakhazam.com/db/n...56360625423557

Code:
@@ -796,7 +797,8 @@
                }
        }

-       if(against->SpecAttacks[IMMUNE_MELEE_EXCEPT_BANE]){
+       // Pets should be able to hit bane only mobs
+       if(against->SpecAttacks[IMMUNE_MELEE_EXCEPT_BANE] && !GetOwner()){
                if(weapon_item){
                        if(weapon_item->BaneDmgBody == against->GetBodyType()){
                                banedmg += weapon_item->BaneDmgAmt;
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 04:08 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3