EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Server Code Submissions (https://www.eqemulator.org/forums/forumdisplay.php?f=669)
-   -   Throwing fix (https://www.eqemulator.org/forums/showthread.php?t=27638)

Wolftousen 03-07-2009 06:13 AM

Throwing fix
 
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:

Code:

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


All times are GMT -4. The time now is 10:19 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.