EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Server Code Submissions (https://www.eqemulator.org/forums/forumdisplay.php?f=669)
-   -   Bot Attack min damage error (https://www.eqemulator.org/forums/showthread.php?t=35584)

dpjaf4t 07-27-2012 11:42 AM

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;


bad_captain 07-27-2012 12:45 PM

http://www.eqemulator.org/forums/showthread.php?t=35575


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

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