Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Development

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-03-2004, 02:07 AM
bUsh
Sarnak
 
Join Date: Apr 2004
Location: Waukesha, WI
Posts: 93
Default 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!
__________________
~ b [ u ] s h

* ServerOP * The Green Leaf Server
Reply With Quote
  #2  
Old 05-10-2004, 10:25 AM
bUsh
Sarnak
 
Join Date: Apr 2004
Location: Waukesha, WI
Posts: 93
Default

Committed to CVS.
__________________
~ b [ u ] s h

* ServerOP * The Green Leaf Server
Reply With Quote
  #3  
Old 05-10-2004, 10:36 AM
smogo
Discordant
 
Join Date: Jan 2004
Location: 47
Posts: 339
Default

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 ?
__________________
EQEMu Quest Repository is down until something new :(
Reply With Quote
  #4  
Old 05-10-2004, 10:37 AM
bUsh
Sarnak
 
Join Date: Apr 2004
Location: Waukesha, WI
Posts: 93
Default

The dev cvs, cvs.biosprite.net will include the changes on its next dump.
__________________
~ b [ u ] s h

* ServerOP * The Green Leaf Server
Reply With Quote
  #5  
Old 05-10-2004, 04:27 PM
m0oni9
Hill Giant
 
Join Date: Dec 2003
Posts: 166
Default

Any reason class even needs to be checked? Why not just dual wield value? Warriors can dual wield with bare hands also.
Reply With Quote
  #6  
Old 05-10-2004, 06:14 PM
bUsh
Sarnak
 
Join Date: Apr 2004
Location: Waukesha, WI
Posts: 93
Default

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.
__________________
~ b [ u ] s h

* ServerOP * The Green Leaf Server
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 05:04 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3