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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-10-2010, 03:39 PM
Wolftousen
Sarnak
 
Join Date: Apr 2008
Posts: 49
Default Percision of the Pathfinder AA

Rangers are currently getting the bonus of this AA on ranged attacks, they are not supposed to. The description of the AA specifies Melee attacks.

diff 1473 rev zone/attack.cpp:

Code:
C:\Program Files (x86)\GnuWin32\bin>diff c:\Users\Wolftousen\Documents\fdO.txt c
:\Users\Wolftousen\Documents\fdN.txt -u
--- c:\Users\Wolftousen\Documents\fdO.txt       2010-05-09 22:52:42.436100000 -0400
+++ c:\Users\Wolftousen\Documents\fdN.txt       2010-05-09 22:53:51.197100000 -0400
@@ -307,7 +307,7 @@
                mlog(COMBAT__TOHIT, "Applied item melee hit chance %d/15, yeilding %.2f", attacker->itembonuses.HitChance, chancetohit);
        }

-       if (attacker->IsClient()) {
+       if (attacker->IsClient() && skillinuse != THROWING && skillinuse != ARCHERY) {
                int modAA = 100;
                switch (attacker->CastToClient()->GetAA(aaPrecisionofthePathfinder)) {
                        case 1:
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 03:28 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