Commit e6f7d15a authored by 未闻皂名's avatar 未闻皂名

2024/1/16 上级召唤封锁BUG修复

parent 2a457289
Pipeline #24942 passed with stages
in 16 minutes and 58 seconds
......@@ -51,5 +51,5 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function cm.sumlimit(e,c,sump,sumtype,sumpos,targetp,se)
return c:IsLevelAbove(7) and sumtype==SUMMON_TYPE_ADVANCE
return c:IsLevelAbove(7) and sumtype&SUMMON_TYPE_ADVANCE==SUMMON_TYPE_ADVANCE
end
\ No newline at end of file
......@@ -40,5 +40,5 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
end)
end
function cm.sumlimit(e,c,sump,sumtype,sumpos,targetp,se)
return c:IsDefenseAbove(1500) and sumtype==SUMMON_TYPE_ADVANCE
return c:IsDefenseAbove(1500) and sumtype&SUMMON_TYPE_ADVANCE==SUMMON_TYPE_ADVANCE
end
\ No newline at end of file
......@@ -30,5 +30,5 @@ function cm.initial_effect(c)
end
function cm.sumlimit(e,c,sump,sumtype,sumpos,targetp,se)
return c:IsLevel(5,6) and sumtype==SUMMON_TYPE_ADVANCE
return c:IsLevel(5,6) and sumtype&SUMMON_TYPE_ADVANCE==SUMMON_TYPE_ADVANCE
end
\ No newline at end of file
......@@ -65,5 +65,5 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function cm.sumlimit(e,c,sump,sumtype,sumpos,targetp,se)
return c:IsLevelBelow(8) and sumtype==SUMMON_TYPE_ADVANCE
return c:IsLevelBelow(8) and sumtype&SUMMON_TYPE_ADVANCE==SUMMON_TYPE_ADVANCE
end
\ No newline at end of file
......@@ -51,5 +51,5 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function cm.sumlimit(e,c,sump,sumtype,sumpos,targetp,se)
return c:IsLevelAbove(7) and sumtype==SUMMON_TYPE_ADVANCE
return c:IsLevelAbove(7) and sumtype&SUMMON_TYPE_ADVANCE==SUMMON_TYPE_ADVANCE
end
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment