三级光明之力/黑暗之力bug修复
下午发现三级光明之力/黑暗之力无法正确作用于群体,研究代码后发现是程序员少些了一部分代码,先修复如下:找到ses.kfs中spells_common.lua
找到光明之力/黑暗之力部分代码并添加红色部分
function calccells_dark_light_knight()
local spell_name = Obj.name()
local level = Obj.spell_level()
if level == 0 then
level = 1
end
local str_nrace = Logic.obj_par(spell_name, "nrace"..tostring(level))
local ccnt = Attack.cell_count()-1
local power = text_dec(Logic.obj_par(spell_name, "unit_count"), level)
if power == "one" then
for i = 0, ccnt-1 do
local cell_found = Attack.cell_get(i)
if Attack.act_ally(cell_found) then -- contains ally
if Attack.act_applicable(cell_found) then
local race = Attack.act_race(cell_found)
if not string.find(str_nrace, ','..race..',', 1, true) then
Attack.marktarget(cell_found)
end
end
end
end
else
Attack.multiselect(0)
end
return true
end
问题修复{:3_103:}
以上
请问有办法把恶魔打死怪后掉怒球的技能改掉吗 给力 .必须支持 这个高级了顶之
页:
[1]