这一版先去掉援助攻击
This commit is contained in:
parent
1108eaf034
commit
a5574d91d4
@ -938,21 +938,21 @@ end
|
|||||||
|
|
||||||
function BattleController:generateInstructions(skillEntity, elementType, lineCount, influenceElementTypeMap, elementTypeMap)
|
function BattleController:generateInstructions(skillEntity, elementType, lineCount, influenceElementTypeMap, elementTypeMap)
|
||||||
local elementTypeCount = 0
|
local elementTypeCount = 0
|
||||||
local assistingList = nil
|
-- local assistingList = nil
|
||||||
---- 援助
|
---- 援助
|
||||||
for element, count in pairs(elementTypeMap) do
|
for element, count in pairs(elementTypeMap) do
|
||||||
if element == elementType then
|
-- if element == elementType then
|
||||||
elementTypeCount = count
|
elementTypeCount = elementTypeCount + count
|
||||||
else
|
-- else
|
||||||
if assistingList == nil then
|
-- if assistingList == nil then
|
||||||
assistingList = {}
|
-- assistingList = {}
|
||||||
end
|
-- end
|
||||||
local obj = {
|
-- local obj = {
|
||||||
count = count,
|
-- count = count,
|
||||||
skillMatch = element,
|
-- skillMatch = element,
|
||||||
}
|
-- }
|
||||||
table.insert(assistingList, obj)
|
-- table.insert(assistingList, obj)
|
||||||
end
|
-- end
|
||||||
end
|
end
|
||||||
|
|
||||||
---- 技能
|
---- 技能
|
||||||
@ -990,12 +990,12 @@ function BattleController:generateInstructions(skillEntity, elementType, lineCou
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if assistingList then
|
-- if assistingList then
|
||||||
table.insert(self.instructions, {
|
-- table.insert(self.instructions, {
|
||||||
name = BattleConst.INSTRUCTION_NAME.ASSISTING,
|
-- name = BattleConst.INSTRUCTION_NAME.ASSISTING,
|
||||||
assistingList = assistingList,
|
-- assistingList = assistingList,
|
||||||
})
|
-- })
|
||||||
end
|
-- end
|
||||||
|
|
||||||
---- 加buff
|
---- 加buff
|
||||||
if skillEntity then
|
if skillEntity then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user