Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Server Code Submissions

Reply
 
Thread Tools Display Modes
  #1  
Old 07-27-2012, 11:42 AM
dpjaf4t
Fire Beetle
 
Join Date: May 2010
Posts: 21
Default Bot Attack min damage error

Kept getting a compile error about unable to add pointers on bot.cpp; this fixes it (TSVN patch format):

Code:
Index: zone/bot.cpp
===================================================================
--- zone/bot.cpp	(revision 2173)
+++ zone/bot.cpp	(working copy)
@@ -7696,1 +7696,1 @@
-		min_hit = min_hit * (100 + itembonuses.MinDamageModifier + spellbonuses.MinDamageModifier) / 100;
+		min_hit = min_hit * (100 + itembonuses.MinDamageModifier[skillinuse] + spellbonuses.MinDamageModifier[skillinuse]) / 100;
Reply With Quote
  #2  
Old 07-27-2012, 12:45 PM
bad_captain
Developer
 
Join Date: Feb 2009
Location: Cincinnati, OH
Posts: 512
Default

http://www.eqemulator.org/forums/showthread.php?t=35575
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 01:30 AM.


 

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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3