EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=621)
-   -   FIX UPDATE: Monk \ Beastlord Dual Wield (https://www.eqemulator.org/forums/showthread.php?t=13563)

bUsh 05-03-2004 02:07 AM

FIX UPDATE: Monk \ Beastlord Dual Wield
 
0.5.7-DR2, May 9th:

mob.cpp, around line 1278, in SetAttackTimer()
Code:

if ((i==SLOT_SECONDARY) && IsClient()) {
        int8 tmp = this->CastToClient()->GetSkill(DUAL_WIELD);
        if ((tmp == 0) || (tmp > 252) || !ItemToUse.IsWeapon() ) {
                if ( !ItemToUse.IsWeapon() ) {
                        attack_timer_dw->Disable();
                        break;
                }

Change this line:
Code:

if ( !ItemToUse.IsWeapon() ) {
to
Code:

if ( !ItemToUse.IsWeapon() && !CanThisClassDualWield() ) {
Enjoy!

bUsh 05-10-2004 10:25 AM

Committed to CVS.

smogo 05-10-2004 10:36 AM

Sry to ask ... what CVS ? Can't find it at http://cvs.sourceforge.net/viewcvs.p...ewSource/zone/
Is it that or cvs.biosprite.net ?

bUsh 05-10-2004 10:37 AM

The dev cvs, cvs.biosprite.net will include the changes on its next dump.

m0oni9 05-10-2004 04:27 PM

Any reason class even needs to be checked? Why not just dual wield value? Warriors can dual wield with bare hands also.

bUsh 05-10-2004 06:14 PM

You're right, however when I wrote that the CanThisClass check wasn't working right, and that was the only way to fix it.

Committed your way to CVS.

Quote:

Originally Posted by m0oni9
Any reason class even needs to be checked? Why not just dual wield value? Warriors can dual wield with bare hands also.



All times are GMT -4. The time now is 11:08 PM.

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