View Single Post
  #1  
Old 05-31-2009, 06:54 PM
takatok
Fire Beetle
 
Join Date: Apr 2008
Location: USA
Posts: 20
Default A Few small bugs

The following lines set the chance to hit to 2,4,6% of the current chance instead of adding 2,4,6 to it.

In Zone\attack.cpp Line 347
Code:
REPLACE
chancetohit = ((chancetohit * modRangerBotAA) / 100);
WITH
chancetohit += ((chancetohit * modRangerBotAA) / 100);
In Zone\attack.cpp Line 365
Code:
REPLACE
chancetohit = ((chancetohit * modAA) / 100);
WITH
chancetohit += ((chancetohit * modAA) / 100);
The Defender's Mitigation from AGI is being deducted 2x.
In Zone\attack.cpp Line 207 and Line 384

Code:
REMOVE ONE OF THESE
chancetohit -= ((float)defender->GetAGI() * RuleR(Combat, AgiHitFactor));
chancetohit -= defender->GetAGI() * RuleR(Combat, AgiHitFactor);
Reply With Quote