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

Development: Custom Code This is for code thatdoes not emulate live and wont be added to the official code.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 01-22-2016, 02:12 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

I doubt that it was a 'feature' .. but, rather an honest to goodness bug.


There's nothing keeping you from changing combat behavior - or any behavior for that matter - to anything that you wish

That's the whole point of customization!


There is no specific code for necro pet melee combat. All pets (mobs?) share the same basic code.

You would need to add special checks to account for the pet class and (probably) just add an empty-handed damage check to whatever weapon damage is reported.

This is the attack processing code: https://github.com/EQEmu/Server/blob...one/attack.cpp

That would be a good place to start and just follow the calls backwards as needed.


Just remember..unless you explicitly specify to only check for client-owned pets, all pets - including mob-owned - will receive this modifier.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
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:04 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