Commit fb5bb2a1 authored by 伊蕾娜's avatar 伊蕾娜

fix:c23199.lua

parent f60e7a1f
Pipeline #12952 passed with stage
in 6 minutes and 38 seconds
......@@ -60,7 +60,8 @@ end
function c23199.aclimit1(e,re,tp)
local g=Duel.GetMatchingGroup(c23199.acfilter, tp, LOCATION_MZONE, 0, nil)
local lv=g:GetSum(Card.GetLevel)/3
return re:IsActiveType(TYPE_MONSTER) and (re:GetHandler():GetLevel()<=lv or re:GetHandler():GetRank()<=lv or re:GetHandler():GetLink()<=lv)
local ec=re:GetHandler()
return re:IsActiveType(TYPE_MONSTER) and (ec:GetLevel()<=lv and ec:GetRank()<=lv and ec:GetLink()<=lv)
end
function c23199.thfilter(c)
return c:IsSetCard(0x496) and c:IsFaceup()
......
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