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

2022/4/10 移动KP09至正式卡,更新可爱处决者联合!的调整

parent 8bb2fe36
Pipeline #11560 passed with stages
in 4 minutes and 2 seconds
No preview for this file type
No preview for this file type
...@@ -12,7 +12,7 @@ function cm.initial_effect(c) ...@@ -12,7 +12,7 @@ function cm.initial_effect(c)
end end
--Activate --Activate
function cm.filter(c) function cm.filter(c)
return c:IsFaceup() and RD.IsCanAttachDoubleTribute(c) return c:IsFaceup() and RD.IsCanAttachDoubleTribute(c) and c:GetFlagEffect(m)==0
end end
function cm.exfilter(c) function cm.exfilter(c)
return c:IsFaceup() and c:IsLevel(6) and c:IsDefense(500) return c:IsFaceup() and c:IsLevel(6) and c:IsDefense(500)
...@@ -28,6 +28,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -28,6 +28,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
RD.SelectGroupAndDoAction(aux.Stringid(m,1),cm.filter,cm.check,tp,LOCATION_MZONE,0,2,2,nil,function(g) RD.SelectGroupAndDoAction(aux.Stringid(m,1),cm.filter,cm.check,tp,LOCATION_MZONE,0,2,2,nil,function(g)
g:ForEach(function(tc) g:ForEach(function(tc)
RD.AttachDoubleTribute(e,tc,aux.TRUE,aux.Stringid(m,2),RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END) RD.AttachDoubleTribute(e,tc,aux.TRUE,aux.Stringid(m,2),RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
tc:RegisterFlagEffect(m,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,1)
end) end)
if Duel.IsExistingMatchingCard(cm.exfilter,tp,LOCATION_MZONE,0,1,nil) then if Duel.IsExistingMatchingCard(cm.exfilter,tp,LOCATION_MZONE,0,1,nil) then
Duel.Damage(1-tp,800,REASON_EFFECT) Duel.Damage(1-tp,800,REASON_EFFECT)
......
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