Commit a2ff055b authored by mercury233's avatar mercury233 Committed by DailyShana

fix (#1115)

parent beb61ff9
...@@ -13,10 +13,14 @@ function c20374520.initial_effect(c) ...@@ -13,10 +13,14 @@ function c20374520.initial_effect(c)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)
e2:SetRange(LOCATION_SZONE) e2:SetRange(LOCATION_SZONE)
e2:SetCode(EVENT_BATTLE_DAMAGE) e2:SetCode(EVENT_BATTLE_DAMAGE)
e2:SetCondition(c20374520.condition)
e2:SetTarget(c20374520.target) e2:SetTarget(c20374520.target)
e2:SetOperation(c20374520.operation) e2:SetOperation(c20374520.operation)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c20374520.condition(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsStatus(STATUS_EFFECT_ENABLED)
end
function c20374520.target(e,tp,eg,ep,ev,re,r,rp,chk) function c20374520.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
Duel.SetTargetCard(eg) Duel.SetTargetCard(eg)
......
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