diff --git a/sonic-radiance.love/game/abstractmobs/character/equip.lua b/sonic-radiance.love/game/abstractmobs/character/equip.lua index 5a79f9f..6443cba 100644 --- a/sonic-radiance.love/game/abstractmobs/character/equip.lua +++ b/sonic-radiance.love/game/abstractmobs/character/equip.lua @@ -44,13 +44,13 @@ function CharacterEquip:getEquipStats(stat, ignore) local ignore = ignore or "" for _, category in ipairs(categories) do if (category ~= ignore) then - boost = boost + self:getStatByType(stat, category) + boost = boost + self:getEquipStatByType(stat, category) end end return boost end -function CharacterEquip:getStatByType(stat, category) +function CharacterEquip:getEquipStatByType(stat, category) if (not utils.string.isEmpty(self.equip[category])) then local data = core.datas:get("items", self.equip[category]) local boost = data.statsBoost[stat] or 0