Commit 335c4b6f authored by Tachibana's avatar Tachibana

ndyd

parent 5242dadf
Pipeline #4663 passed with stages
in 21 minutes and 48 seconds
No preview for this file type
......@@ -201,8 +201,8 @@ function cm.atkop2(e,tp,eg,ep,ev,re,r,rp)
if zone~=0 and c:IsRelateToEffect(e) then
if Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP,zone)~=0 then
Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,0,1)
local dam=Duel.GetFlagEffect(tp,m)*1000
Duel.Damage(tp,dam,REASON_EFFECT)
local ac=Duel.GetFlagEffect(tp,m)*1000
Duel.SetLP(tp,Duel.GetLP(tp)-ac)
end
end
end
\ No newline at end of file
......@@ -11,7 +11,7 @@ function cm.initial_effect(c)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetCondition(cm.condition)
e1:SetTarget(cm.target)
e1:SetOperation(cm.activate)
e1:SetOperation(cm.operation)
c:RegisterEffect(e1)
end
function cm.cfilter(c,tp)
......
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