Browse Source

热更代码

makela 2 weeks ago
parent
commit
80d60d62d0
1 changed files with 4 additions and 4 deletions
  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