View Single Post
  #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