makela 2 nedēļas atpakaļ
vecāks
revīzija
80d60d62d0
1 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. 4 4
      project/model/embattle.lua

+ 4 - 4
project/model/embattle.lua

@@ -106,10 +106,10 @@ function MODULE.max_power_hero(character)
     for k, v in pairs(d.adventure.list) do
         local hero_data = hero.hero_get(character, v.sid)
         local power = powerfunc.build_role(character, hero_data)
-        if character.uid == "01-100001" then
-            logger.trace("max_power_hero:"..stringify(hero_data or {}))
-            logger.trace("max_power_hero: power:"..(power or 0))
-        end
+        -- if character.uid == "01-100001" then
+        --     logger.trace("max_power_hero:"..stringify(hero_data or {}))
+        --     logger.trace("max_power_hero: power:"..(power or 0))
+        -- end
         if power and power > max_power then
             max_power = power
             hero_info = hero_data