Commit c76005f3 authored by mercury233's avatar mercury233 Committed by GitHub

fix スターヴ・ヴェネミー・ドラゴン

parent b15a8655
......@@ -26,7 +26,6 @@ function c93729065.initial_effect(c)
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e3:SetCode(EVENT_PRE_BATTLE_DAMAGE)
e3:SetRange(LOCATION_PZONE)
e3:SetCountLimit(1)
e3:SetCondition(c93729065.rdcon)
e3:SetOperation(c93729065.rdop)
c:RegisterEffect(e3)
......@@ -69,12 +68,13 @@ function c93729065.atkval(e,c)
return Duel.GetCounter(0,1,1,0x104f)*-200
end
function c93729065.rdcon(e,tp,eg,ep,ev,re,r,rp)
return ep==tp
return ep==tp and e:GetHandler():GetFlagEffect(93729066)==0
end
function c93729065.rdop(e,tp,eg,ep,ev,re,r,rp)
if Duel.SelectYesNo(tp,aux.Stringid(93729065,3)) then
Duel.Hint(HINT_CARD,0,93729065)
Duel.ChangeBattleDamage(tp,0)
e:GetHandler():RegisterFlagEffect(93729066,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,1)
end
end
function c93729065.copycost(e,tp,eg,ep,ev,re,r,rp,chk)
......
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