Commit 97dff7c7 authored by VanillaSalt's avatar VanillaSalt

update

parent 8ec8a75a
......@@ -6,10 +6,9 @@ function c43694481.initial_effect(c)
e1:SetCategory(CATEGORY_DAMAGE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_NO_TURN_RESET)
e1:SetCountLimit(1)
e1:SetCountLimit(1,43694481)
e1:SetRange(LOCATION_MZONE)
e1:SetCondition(c43694481.damcon)
e1:SetCost(c43694481.damcost)
e1:SetTarget(c43694481.damtg)
e1:SetOperation(c43694481.damop)
c:RegisterEffect(e1)
......@@ -17,10 +16,6 @@ end
function c43694481.damcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetAttack()>e:GetHandler():GetBaseAttack()
end
function c43694481.damcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetFlagEffect(tp,43694481)==0 end
Duel.RegisterFlagEffect(tp,43694481,RESET_PHASE+PHASE_END,0,1)
end
function c43694481.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetTargetPlayer(1-tp)
......
......@@ -7,16 +7,11 @@ function c51282878.initial_effect(c)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_NO_TURN_RESET)
e1:SetRange(LOCATION_GRAVE)
e1:SetCountLimit(1)
e1:SetCost(c51282878.cost)
e1:SetCountLimit(1,51282878)
e1:SetTarget(c51282878.target)
e1:SetOperation(c51282878.operation)
c:RegisterEffect(e1)
end
function c51282878.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetFlagEffect(tp,51282878)==0 end
Duel.RegisterFlagEffect(tp,51282878,RESET_PHASE+PHASE_END,0,1)
end
function c51282878.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDiscardDeck(tp,1)
and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
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