Commit c06a8d42 authored by Chrono-Genex's avatar Chrono-Genex Committed by GitHub

fix (#1827)

parent da4b0990
......@@ -73,7 +73,9 @@ end
function c45627618.desop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(c45627618.desfilter,tp,0,LOCATION_MZONE,nil)
local ct=Duel.Destroy(g,REASON_EFFECT)
if Duel.Damage(1-tp,ct*1000,REASON_EFFECT)~=0 then
if ct>0 then
Duel.Damage(1-tp,ct*1000,REASON_EFFECT)
end
local c=e:GetHandler()
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
......@@ -81,7 +83,6 @@ function c45627618.desop(e,tp,eg,ep,ev,re,r,rp)
e1:SetValue(2)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
c:RegisterEffect(e1)
end
end
function c45627618.valcheck(e,c)
local g=c:GetMaterial()
......
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