Commit 589d72e6 authored by Nemo Ma's avatar Nemo Ma

fix

parent ae974f23
No preview for this file type
......@@ -19,7 +19,7 @@ function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
end
function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsOnField() and chkc:IsControler(1-tp) end
if chk==0 then return Duel.IsExistingTarget(nil,tp,0,LOCATION_ONFIELD,1,nil) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
if chk==0 then return Duel.IsExistingTarget(nil,tp,0,LOCATION_ONFIELD,1,nil) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) and not e:GetHandler():IsStatus(STATUS_CHAINING) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TARGET)
Duel.SelectTarget(tp,nil,tp,0,LOCATION_ONFIELD,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
......
......@@ -5,7 +5,7 @@ local cm=_G["c"..m]
function cm.initial_effect(c)
--link summon
c:EnableReviveLimit()
aux.AddSynchroProcedure(c,nil,nil,1)
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
--equip
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
......
......@@ -31,6 +31,7 @@ function c29065596.rlfil(c)
end
function c29065596.spcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
return Duel.IsCanRemoveCounter(tp,1,0,0x11ae,1,REASON_COST) or Duel.IsExistingMatchingCard(c29065596.rlfil,tp,LOCATION_MZONE,0,1,nil)
end
function c29065596.spop(e,tp,eg,ep,ev,re,r,rp,c)
......
......@@ -19,7 +19,7 @@ function c29065597.initial_effect(c)
e2:SetCode(EVENT_FREE_CHAIN)
e2:SetRange(LOCATION_MZONE)
e2:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e2:SetCountLimit(1,09065597)
e2:SetCountLimit(1,29000021)
e2:SetCost(c29065597.icost)
e2:SetTarget(c29065597.itarget)
e2:SetOperation(c29065597.ioperation)
......
......@@ -27,6 +27,7 @@ function c29065598.initial_effect(c)
end
function c29065598.spcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
return Duel.GetLP(tp)<=2000
end
function c29065598.cttg(e,tp,eg,ep,ev,re,r,rp,chk)
......
......@@ -19,7 +19,7 @@ function c29065599.initial_effect(c)
e2:SetCode(EVENT_FREE_CHAIN)
e2:SetRange(LOCATION_MZONE)
e2:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e2:SetCountLimit(1,09065599)
e2:SetCountLimit(1,29000022)
e2:SetCost(c29065599.icost)
e2:SetTarget(c29065599.itarget)
e2:SetOperation(c29065599.ioperation)
......
......@@ -54,13 +54,9 @@ function c9910454.ctop(e,tp,eg,ep,ev,re,r,rp)
end
end
function c9910454.repfilter(c,tp)
return c:IsControler(tp) and c:IsFaceup() and c:IsSetCard(0x9950)
return c:IsControler(tp) and c:IsOnField() and c:IsFaceup() and c:IsSetCard(0x9950)
and c:IsReason(REASON_BATTLE+REASON_EFFECT) and not c:IsReason(REASON_REPLACE)
end
function c9910454.desfilter(c,e,tp)
return c:IsFacedown() and c:IsControler(tp) and c:IsDestructable(e)
and not c:IsStatus(STATUS_DESTROY_CONFIRMED+STATUS_BATTLE_DESTROYED)
end
function c9910454.desreptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return eg:IsExists(c9910454.repfilter,1,nil,tp) end
return Duel.SelectEffectYesNo(tp,e:GetHandler(),96)
......
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