Commit 8c4aa5c6 authored by GuGu's avatar GuGu

Update c23199.lua

parent 4a6b499c
Pipeline #31048 passed with stage
in 8 seconds
...@@ -58,7 +58,7 @@ function c23199.acfilter(c) ...@@ -58,7 +58,7 @@ function c23199.acfilter(c)
return c:IsAttribute(ATTRIBUTE_EARTH) and c:IsType(TYPE_RITUAL) and c:IsSetCard(0x208) and c:IsFaceup() and c:GetLevel()>0 return c:IsAttribute(ATTRIBUTE_EARTH) and c:IsType(TYPE_RITUAL) and c:IsSetCard(0x208) and c:IsFaceup() and c:GetLevel()>0
end end
function c23199.aclimit1(e,re,tp) function c23199.aclimit1(e,re,tp)
local g=Duel.GetMatchingGroup(c23199.acfilter, tp, LOCATION_MZONE, 0, nil) local g=Duel.GetMatchingGroup(c23199.acfilter, tp, 0, LOCATION_MZONE, nil)
local lv=g:GetSum(Card.GetLevel)/3 local lv=g:GetSum(Card.GetLevel)/3
local ec=re:GetHandler() local ec=re:GetHandler()
return re:IsActiveType(TYPE_MONSTER) and (ec:GetLevel()<=lv and ec:GetRank()<=lv and ec:GetLink()<=lv) return re:IsActiveType(TYPE_MONSTER) and (ec:GetLevel()<=lv and ec:GetRank()<=lv and ec:GetLink()<=lv)
......
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