Commit 0168550d authored by Tachibana's avatar Tachibana

得得得得得

parent b5af970b
Pipeline #12676 passed with stages
in 32 minutes and 59 seconds
......@@ -69,8 +69,10 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return c:CheckRemoveOverlayCard(tp,1,REASON_COST) and Duel.GetCustomActivityCount(m,tp,ACTIVITY_CHAIN)==0 end
local rt=Duel.GetMatchingGroupCount(cm.filter,tp,LOCATION_DECK,0,nil)
local ct=c:RemoveOverlayCard(tp,1,rt,REASON_COST)
e:SetLabel(ct)
local ct1=c:GetOverlayCount()
c:RemoveOverlayCard(tp,1,rt,REASON_COST)
local ct2=c:GetOverlayCount()
e:SetLabel(ct1-ct2)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_OATH)
......
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