It looks pretty obvious it is also broken on latest sources (and so if that thread got positive comments, it should be moved in Bugs Reports section), but I want to ask if some ppl could test NPCs with shields, hitting them, and tell me if you see any change of damage (except the basic random damage range).
Consider logging that on your test server if it's positive, and tell me if the first is definitively always 0.0 :
calcShldUse( Formulas.java
Code: Select all
return 0;+ _log.info("target.calcStat(Stats.SHIELD_RATE, 0, attacker, null):" + target.calcStat(Stats.SHIELD_RATE, 0, attacker, null));+ _log.info("DEXbonus[target.getDEX()]:" + DEXbonus[target.getDEX()]); double shldRate = target.calcStat(Stats.SHIELD_RATE, 0, attacker, null) * DEXbonus[target.getDEX()];
Tk.