Commit 849c8dc0 authored by mercury233's avatar mercury233 Committed by GitHub

fix

parent 51d3fb60
......@@ -3,11 +3,12 @@ function c74003290.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(74003290,0))
e1:SetCategory(CATEGORY_DISABLE)
e1:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_DISABLE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(TIMING_DAMAGE_STEP,TIMING_DAMAGE_STEP+0x1c0)
e1:SetCondition(c74003290.condition)
e1:SetTarget(c74003290.target)
e1:SetOperation(c74003290.activate)
c:RegisterEffect(e1)
......@@ -23,6 +24,9 @@ function c74003290.initial_effect(c)
e2:SetOperation(c74003290.setop)
c:RegisterEffect(e2)
end
function c74003290.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentPhase()~=PHASE_DAMAGE or not Duel.IsDamageCalculated()
end
function c74003290.filter(c)
return c:IsFaceup() and not c:IsDisabled()
and bit.band(c:GetSummonType(),SUMMON_TYPE_SPECIAL)==SUMMON_TYPE_SPECIAL
......
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