Commit 2242aee2 authored by wind2009's avatar wind2009

Fix DDカウント・サーベイヤー

parent a9fe3bcc
Pipeline #32081 passed with stages
in 1 minute and 21 seconds
...@@ -80,10 +80,11 @@ function s.rlop(e,tp,eg,ep,ev,re,r,rp) ...@@ -80,10 +80,11 @@ function s.rlop(e,tp,eg,ep,ev,re,r,rp)
local sg=tg:FilterSelect(tp,s.atkfilter,1,1,nil,g) local sg=tg:FilterSelect(tp,s.atkfilter,1,1,nil,g)
if sg:GetCount()>0 then if sg:GetCount()>0 then
tg:Sub(sg) tg:Sub(sg)
local atk=tg:GetSum(Card.GetAttack)
local def=tg:GetSum(Card.GetDefense)
local rc=Duel.Release(tg,REASON_EFFECT) local rc=Duel.Release(tg,REASON_EFFECT)
if rc==2 then if rc>0 then
local rg=Duel.GetOperatedGroup()
local atk=rg:GetSum(Card.GetPreviousAttackOnField)
local def=rg:GetSum(Card.GetPreviousDefenseOnField)
local tc=sg:GetFirst() local tc=sg:GetFirst()
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
......
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