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.
|