Commit 48c9dd706f128ae283dcc3b815bcaae6e5891862

Authored by DarkGod
1 parent 5ae70c90

Fixed Throwing Knifes stats mod display

@@ -179,7 +179,7 @@ newTalent{ @@ -179,7 +179,7 @@ newTalent{
179 179
180 local stat_desc = {} 180 local stat_desc = {}
181 -- I18N Stats using display_short_name 181 -- I18N Stats using display_short_name
182 - local dammod = self:getDammod(combat.dammod or {}) 182 + local dammod = self:getDammod(combat)
183 for stat, i in pairs(dammod) do 183 for stat, i in pairs(dammod) do
184 local name = engine.interface.ActorStats.stats_def[stat].display_short_name:capitalize() 184 local name = engine.interface.ActorStats.stats_def[stat].display_short_name:capitalize()
185 stat_desc[#stat_desc+1] = ("%d%% %s"):tformat(i * 100, name) 185 stat_desc[#stat_desc+1] = ("%d%% %s"):tformat(i * 100, name)