Commit 43573fef authored by Tachibana's avatar Tachibana

ybb

parent 00967070
Pipeline #11179 passed with stage
in 10 minutes and 35 seconds
......@@ -16,6 +16,7 @@ function cm.initial_effect(c)
e2:SetCategory(CATEGORY_NEGATE)
e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetCode(EVENT_CHAINING)
e2:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL)
e2:SetRange(LOCATION_HAND)
e2:SetCountLimit(1,m+EFFECT_COUNT_CODE_DUEL)
e2:SetCondition(cm.condition)
......@@ -53,7 +54,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoHand(re:GetHandler(),nil,REASON_EFFECT)
end
local sc=Duel.GetOperatedGroup()
if sc:GetCount()==0 then
if sc:GetCount()==0 and c:IsRelateToEffect(e) then
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
Duel.NegateActivation(ev)
else
......
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