mirror of
https://github.com/OMGeeky/andors-trail.git
synced 2026-02-23 15:38:29 +01:00
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:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user