From 6a37f127766615216c663400690ba29bcc0f15ce Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sat, 3 Jul 2021 18:19:08 +0200 Subject: [PATCH] chore: remove stray print --- sonic-radiance.love/game/abstractmobs/parent.lua | 1 - .../scenes/battlesystem/controllers/fighters/parent.lua | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/sonic-radiance.love/game/abstractmobs/parent.lua b/sonic-radiance.love/game/abstractmobs/parent.lua index 8a0e61c..b03b27f 100644 --- a/sonic-radiance.love/game/abstractmobs/parent.lua +++ b/sonic-radiance.love/game/abstractmobs/parent.lua @@ -3,7 +3,6 @@ local AbstractMobParent = Serializable:extend() local StatManager = require "game.abstractmobs.statmanager" function AbstractMobParent:new(serializeFields, listSerializable, statManager) - print(statManager) local statManager = statManager or StatManager self:initBasicElements() diff --git a/sonic-radiance.love/scenes/battlesystem/controllers/fighters/parent.lua b/sonic-radiance.love/scenes/battlesystem/controllers/fighters/parent.lua index 52e4d5a..d075300 100644 --- a/sonic-radiance.love/scenes/battlesystem/controllers/fighters/parent.lua +++ b/sonic-radiance.love/scenes/battlesystem/controllers/fighters/parent.lua @@ -164,9 +164,7 @@ function FighterParent:getNbrActionPerTurn() end function FighterParent:getStat(statname) - local stat = (self.abstract.stats:get(statname) * self:getStatBonusValue(statname)) - print(statname, stat) - return stat + return (self.abstract.stats:get(statname) * self:getStatBonusValue(statname)) end function FighterParent:getStatBonusValue(statname)