Commit 955bf549 authored by POLYMER's avatar POLYMER

fix

parent caeab049
......@@ -36,7 +36,7 @@ function c11621423.initial_effect(c)
e3:SetTarget(cm.thtg)
e3:SetOperation(cm.thop)
c:RegisterEffect(e3)
cm[c]=e3
--cm[c]=e3
end
--
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
......
......@@ -126,7 +126,8 @@ function cm.thfilter(c)
return c:IsSetCard(0x5220) and c:IsType(TYPE_CONTINUOUS) and c:IsType(TYPE_TRAP) and c:IsAbleToHand() and (c:IsFaceup() or c:IsLocation(LOCATION_REMOVED))
end
function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.thfilter,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,1,nil) end
local c=e:GetHandler()
if chk==0 then return Duel.IsExistingMatchingCard(cm.thfilter,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,1,c) end
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_GRAVE+LOCATION_REMOVED)
end
function cm.thop(e,tp,eg,ep,ev,re,r,rp)
......
......@@ -50,7 +50,7 @@ function c11621431.initial_effect(c)
e5:SetRange(LOCATION_MZONE)
e5:SetTargetRange(0,0x7f)
e5:SetTarget(c11621431.crtg)
e5:SetValue(11621402)
e5:SetValue(11621403)
c:RegisterEffect(e5)
--
local e6=Effect.CreateEffect(c)
......@@ -111,7 +111,7 @@ function c11621431.checkop(e,tp,eg,ep,ev,re,r,rp)
if flag==nil then
Duel.RegisterFlagEffect(rp,11621431,0,0,1,1)
else
Duel.SetFlagEffectLabel(tp,11621431,flag+1)
Duel.SetFlagEffectLabel(rp,11621431,flag+1)
end
end
end
......
......@@ -38,7 +38,7 @@ function s.initial_effect(c)
e4:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)
e4:SetCode(EVENT_PHASE+PHASE_END)
e4:SetRange(LOCATION_MZONE)
e4:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE)
e4:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CAN_FORBIDDEN)
e4:SetCountLimit(1)
e4:SetTarget(s.target3)
e4:SetOperation(s.prop3)
......
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