|
@@ -106,6 +106,10 @@ function MODULE.max_power_hero(character)
|
|
for k, v in pairs(d.adventure.list) do
|
|
for k, v in pairs(d.adventure.list) do
|
|
local hero_data = hero.hero_get(character, v.sid)
|
|
local hero_data = hero.hero_get(character, v.sid)
|
|
local power = powerfunc.build_role(character, hero_data)
|
|
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 power and power > max_power then
|
|
if power and power > max_power then
|
|
max_power = power
|
|
max_power = power
|
|
hero_info = hero_data
|
|
hero_info = hero_data
|
|
@@ -240,8 +244,6 @@ function THIS.embattle_battle(character, args)
|
|
end
|
|
end
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
function THIS.embattle_get_data(character, args)
|
|
function THIS.embattle_get_data(character, args)
|
|
local data_conf_list = assert(asset.DataConfig_proto, "DataConfig_proto")
|
|
local data_conf_list = assert(asset.DataConfig_proto, "DataConfig_proto")
|
|
local d = _M.assert_get(character)
|
|
local d = _M.assert_get(character)
|