PDA

View Full Version : Bot Attack min damage error


dpjaf4t
07-27-2012, 11:42 AM
Kept getting a compile error about unable to add pointers on bot.cpp; this fixes it (TSVN patch format):

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