Commit a600ce4f authored by Tachibana's avatar Tachibana

ndyd

parent 0efa77c7
...@@ -4,8 +4,8 @@ function c19500014.initial_effect(c) ...@@ -4,8 +4,8 @@ function c19500014.initial_effect(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(19500014,0)) e1:SetDescription(aux.Stringid(19500014,0))
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_SPECIAL_SUMMON) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetCode(EVENT_FREE_CHAIN) --e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER) e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER)
e1:SetRange(LOCATION_HAND) e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,19500014) e1:SetCountLimit(1,19500014)
......
...@@ -4,8 +4,8 @@ function c19500018.initial_effect(c) ...@@ -4,8 +4,8 @@ function c19500018.initial_effect(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(19500018,0)) e1:SetDescription(aux.Stringid(19500018,0))
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_DRAW) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetCode(EVENT_FREE_CHAIN) --e1:SetCode(EVENT_FREE_CHAIN)
e1:SetRange(LOCATION_HAND) e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,19500018) e1:SetCountLimit(1,19500018)
e1:SetCost(c19500018.descost) e1:SetCost(c19500018.descost)
......
...@@ -42,7 +42,7 @@ function c19500035.filter(c) ...@@ -42,7 +42,7 @@ function c19500035.filter(c)
return c:IsSetCard(0x3990) and c:IsType(TYPE_MONSTER) and c:IsRace(RACE_MACHINE) and not c:IsForbidden() return c:IsSetCard(0x3990) and c:IsType(TYPE_MONSTER) and c:IsRace(RACE_MACHINE) and not c:IsForbidden()
end end
function c19500035.matfilter1(c) function c19500035.matfilter1(c)
return c:IsType(TYPE_MONSTER) and c:IsFusionSetCard(0x3991) return c:IsType(TYPE_MONSTER) and c:IsFusionSetCard(0x3991) and c:IsType(TYPE_LINK)
end end
function c19500035.matfilter2(c) function c19500035.matfilter2(c)
return c:IsType(TYPE_MONSTER) and c:IsFusionSetCard(0x3990) return c:IsType(TYPE_MONSTER) and c:IsFusionSetCard(0x3990)
......
...@@ -59,12 +59,13 @@ function c9320004.discon(e,tp,eg,ep,ev,re,r,rp) ...@@ -59,12 +59,13 @@ function c9320004.discon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsStatus(STATUS_BATTLE_DESTROYED) then return false end if c:IsStatus(STATUS_BATTLE_DESTROYED) then return false end
return Duel.IsChainNegatable(ev) return Duel.IsChainNegatable(ev)
and e:GetHandler():GetFlagEffectLabel(9321004) and e:GetHandler():GetFlagEffectLabel(9321004)>0 and c:GetFlagEffectLabel(9321004) and c:GetFlagEffectLabel(9321004)>0
end end
function c9320004.desfilter(c) function c9320004.desfilter(c)
return (c:IsLocation(LOCATION_HAND) or c:IsFaceup()) and c:IsType(TYPE_MONSTER) and c:IsRace(RACE_DINOSAUR) return (c:IsLocation(LOCATION_HAND) or c:IsFaceup()) and c:IsType(TYPE_MONSTER) and c:IsRace(RACE_DINOSAUR)
end end
function c9320004.negtg(e,tp,eg,ep,ev,re,r,rp,chk) function c9320004.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return Duel.IsExistingMatchingCard(c9320004.desfilter,tp,LOCATION_HAND+LOCATION_MZONE,0,1,nil) if chk==0 then return Duel.IsExistingMatchingCard(c9320004.desfilter,tp,LOCATION_HAND+LOCATION_MZONE,0,1,nil)
and c:GetFlagEffect(9320004)<c:GetFlagEffectLabel(9321004) end and c:GetFlagEffect(9320004)<c:GetFlagEffectLabel(9321004) end
c:RegisterFlagEffect(9320004,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,1) c:RegisterFlagEffect(9320004,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,1)
......
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