Bugfix introduced in previous commits. AP Cost (move, reequip & item

use) should have percentage applied when negative and 100% applied when
positive. Those are the only ones where negative value is a bonus to the
player.
This commit is contained in:
Zukero
2014-02-13 23:04:33 +01:00
parent 46d7bdcd87
commit 35e3ad024c

View File

@@ -351,9 +351,10 @@ public final class SkillController {
addPercentMaxHPBoost(player, offHandItem, percent, 100);
addPercentDamageResistance(player, offHandItem, percent, 100);
addPercentMaxAPBoost(player, offHandItem, percent, 100);
addPercentMoveCost(player, offHandItem, percent, 100);
addPercentReequipCost(player, offHandItem, percent, 100);
addPercentUseItemCost(player, offHandItem, percent, 100);
//Reversed parameters, as a positive value is a malus for these...
addPercentMoveCost(player, offHandItem, 100, percent);
addPercentReequipCost(player, offHandItem, 100, percent);
addPercentUseItemCost(player, offHandItem, 100, percent);
}