chore: remove stray print
This commit is contained in:
parent
1dd8f14b7c
commit
6a37f12776
2 changed files with 1 additions and 4 deletions
|
@ -3,7 +3,6 @@ local AbstractMobParent = Serializable:extend()
|
||||||
local StatManager = require "game.abstractmobs.statmanager"
|
local StatManager = require "game.abstractmobs.statmanager"
|
||||||
|
|
||||||
function AbstractMobParent:new(serializeFields, listSerializable, statManager)
|
function AbstractMobParent:new(serializeFields, listSerializable, statManager)
|
||||||
print(statManager)
|
|
||||||
local statManager = statManager or StatManager
|
local statManager = statManager or StatManager
|
||||||
self:initBasicElements()
|
self:initBasicElements()
|
||||||
|
|
||||||
|
|
|
@ -164,9 +164,7 @@ function FighterParent:getNbrActionPerTurn()
|
||||||
end
|
end
|
||||||
|
|
||||||
function FighterParent:getStat(statname)
|
function FighterParent:getStat(statname)
|
||||||
local stat = (self.abstract.stats:get(statname) * self:getStatBonusValue(statname))
|
return (self.abstract.stats:get(statname) * self:getStatBonusValue(statname))
|
||||||
print(statname, stat)
|
|
||||||
return stat
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function FighterParent:getStatBonusValue(statname)
|
function FighterParent:getStatBonusValue(statname)
|
||||||
|
|
Loading…
Reference in a new issue