Commit 7af7fc5e authored by POLYMER's avatar POLYMER

fix

parent 55a02c8d
...@@ -39,7 +39,7 @@ function cm.initial_effect(c) ...@@ -39,7 +39,7 @@ function cm.initial_effect(c)
e3:SetDescription(aux.Stringid(22348272,1)) e3:SetDescription(aux.Stringid(22348272,1))
e3:SetCategory(CATEGORY_TOHAND+CATEGORY_SUMMON) e3:SetCategory(CATEGORY_TOHAND+CATEGORY_SUMMON)
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e3:SetProperty(EFFECT_FLAG_DELAY) e3:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CARD_TARGET)
e3:SetCode(EVENT_LEAVE_FIELD) e3:SetCode(EVENT_LEAVE_FIELD)
e3:SetRange(LOCATION_MZONE) e3:SetRange(LOCATION_MZONE)
e3:SetCondition(c22348272.thcon) e3:SetCondition(c22348272.thcon)
......
...@@ -30,8 +30,9 @@ function c9911351.initial_effect(c) ...@@ -30,8 +30,9 @@ function c9911351.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c9911351.spcon(e,tp,eg,ep,ev,re,r,rp) function c9911351.spcon(e,tp,eg,ep,ev,re,r,rp)
return re:GetHandler():IsOnField() local b1=re:GetActivateLocation()==LOCATION_MZONE and re:IsActiveType(TYPE_MONSTER)
and (re:IsActiveType(TYPE_MONSTER) or (re:IsActiveType(TYPE_SPELL+TYPE_TRAP) and not re:IsHasType(EFFECT_TYPE_ACTIVATE))) local b2=re:GetActivateLocation()==LOCATION_SZONE and not re:IsHasType(EFFECT_TYPE_ACTIVATE)
return b1 or b2
end end
function c9911351.thfilter(c) function c9911351.thfilter(c)
return c:IsAbleToHand() and (c:IsOnField() or (c:IsLocation(LOCATION_GRAVE) and c:IsSetCard(0xc956))) return c:IsAbleToHand() and (c:IsOnField() or (c:IsLocation(LOCATION_GRAVE) and c:IsSetCard(0xc956)))
......
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