PDA

View Full Version : Throwing fix


Wolftousen
03-07-2009, 06:13 AM
File: zone/special_attacks.cpp
Line: 830

From:
if (!target->CheckHitChance(this, ARCHERY, 13)) {

To:
if (!target->CheckHitChance(this, THROWING, 13)) {

Description: Found this while searching for why Berserker Rage Volley Discipline wasn't working properly. There are 2 seperate functions for ranged attacks, one for throwing one for archery, but in both functions this line exists. It should check the throwing skill in the throwing function, not the archery skill...

Wolftousen
03-07-2009, 06:32 AM
File: zone/special_attacks.cpp
Line: 841

Add:

switch(GetAA(aaThrowingMastery))
{
case 1:
MaxDmg = MaxDmg * 115/100;
break;
case 2:
MaxDmg = MaxDmg * 125/100;
break;
case 3:
MaxDmg = MaxDmg * 150/100;
break;
}

Description: This is for Berserker Throwing Mastery AAs

Wolftousen
03-08-2009, 02:43 AM
Ok, the first fix line number should be 1,005 for the latest SVN.

The second fix line number should be directly after line 1,015 in the latest SVN