Commit 4d79ae17 authored by Huangnan's avatar Huangnan

600fix

parent 4a95a37a
...@@ -47,6 +47,9 @@ function cm.op2(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -47,6 +47,9 @@ function cm.op2(e,tp,eg,ep,ev,re,r,rp,c)
end end
end end
end end
function cm.filter(c,e,tp)
return c:IsCode(60002228) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_DEFENSE)
end
function cm.cos5f1(c) function cm.cos5f1(c)
return c:GetFlagEffect(m)>0 and (c:IsAbleToDeckAsCost() or c:IsAbleToExtraAsCost()) return c:GetFlagEffect(m)>0 and (c:IsAbleToDeckAsCost() or c:IsAbleToExtraAsCost())
end end
......
...@@ -51,7 +51,7 @@ end ...@@ -51,7 +51,7 @@ end
function cm.op5(e,tp,eg,ep,ev,re,r,rp) function cm.op5(e,tp,eg,ep,ev,re,r,rp)
if not e:GetHandler():IsRelateToEffect(e) or not e:GetHandler():IsFaceup() then return end if not e:GetHandler():IsRelateToEffect(e) or not e:GetHandler():IsFaceup() then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local g=Duel.SelectMatchingCard(tp,cm.xfilter,tp,LOCATION_MZONE,,1,1,nil) local g=Duel.SelectMatchingCard(tp,cm.xfilter,tp,LOCATION_MZONE,1,1,nil)
local dmg=g:GetFirst():GetAttack() local dmg=g:GetFirst():GetAttack()
Duel.Damage(1-tp,dmg,REASON_EFFECT) Duel.Damage(1-tp,dmg,REASON_EFFECT)
end end
\ No newline at end of file
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