View Single Post
  #2  
Old 07-03-2007, 06:10 PM
image
Demi-God
 
Join Date: Jan 2002
Posts: 1,290
Default

The problem is max damage is a integer and they are trying to do mathematical calculations using a float. Need to do something like:

MaxDmg = (int) (float)MaxDmg * 0.75f;

Looking over the special attacks code theres a lot of this same problem...
__________________
www.eq2emu.com
EQ2Emu Developer
Former EQEMu Developer / GuildWars / Zek Seasons Servers
Member of the "I hate devn00b" club.
Reply With Quote