diff --git a/sonic-radiance.love/datas/consts/stats.lua b/sonic-radiance.love/datas/consts/stats.lua index 526f565..04a3302 100644 --- a/sonic-radiance.love/datas/consts/stats.lua +++ b/sonic-radiance.love/datas/consts/stats.lua @@ -28,6 +28,7 @@ CONST.MULT_HP = 4.5 CONST.LIST = {CONST.HPMAX, CONST.PPMAX, CONST.ATTACK, CONST.POWER, CONST.DEFENSE, CONST.MIND, CONST.TECHNIC, CONST.SPEED} CONST.BATTLELIST = {CONST.ACCURACY, CONST.EVASION, CONST.LUCK, CONST.DAMAGE, CONST.ARMOR, CONST.CRITICAL, CONST.HPREGEN, CONST.PPREGEN} +CONST.NOBONUS = {CONST.HPMAX, CONST.PPMAX, CONST.HPREGEN, CONST.PPREGEN} CONST.SIMPLENAME = {} CONST.SIMPLENAME[CONST.HPMAX] = "HP" diff --git a/sonic-radiance.love/scenes/battlesystem/controllers/fighters/parent.lua b/sonic-radiance.love/scenes/battlesystem/controllers/fighters/parent.lua index 6874027..52e4d5a 100644 --- a/sonic-radiance.love/scenes/battlesystem/controllers/fighters/parent.lua +++ b/sonic-radiance.love/scenes/battlesystem/controllers/fighters/parent.lua @@ -170,7 +170,11 @@ function FighterParent:getStat(statname) end function FighterParent:getStatBonusValue(statname) - return STATS.BONUS[self:getStatBonus(statname) + 5] + if (utils.table.contain(STATS.NOBONUS, statname)) then + return 1 + else + return STATS.BONUS[self:getStatBonus(statname) + 5] + end end function FighterParent:getStatBonus(statname)