This commit is contained in:
Yair Morgenstern
2022-02-09 12:31:08 +02:00
parent 74037489fc
commit 09ea1a869d
32 changed files with 189 additions and 90 deletions

View File

@ -429,6 +429,8 @@ object Battle {
for (unique in thisCombatant.getMatchingUniques(UniqueType.FlatXPGain, stateForConditionals, true))
baseXP += unique.params[0].toInt()
var xpModifier = 1f
for (unique in thisCombatant.getMatchingUniques(UniqueType.PercentageXPGain, stateForConditionals, true))
xpModifier += unique.params[0].toFloat() / 100