Log in

View Full Version : FIX UPDATE: Monk \ Beastlord Dual Wield


bUsh
05-03-2004, 02:07 AM
0.5.7-DR2, May 9th:

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

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:

if ( !ItemToUse.IsWeapon() ) {

to

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.py/eqemu/eqemu/eqemu/NewSource/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.

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