Commit 22ca9526 authored by DailyShana's avatar DailyShana

fix

parent cdfc2564
...@@ -6,7 +6,7 @@ function c22423493.initial_effect(c) ...@@ -6,7 +6,7 @@ function c22423493.initial_effect(c)
--immune --immune
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE+EFFECT_FLAG_UNCOPYABLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetCode(EFFECT_IMMUNE_EFFECT) e1:SetCode(EFFECT_IMMUNE_EFFECT)
e1:SetCondition(c22423493.immcon) e1:SetCondition(c22423493.immcon)
......
...@@ -20,9 +20,8 @@ function c24361622.initial_effect(c) ...@@ -20,9 +20,8 @@ function c24361622.initial_effect(c)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(24361622,1)) e2:SetDescription(aux.Stringid(24361622,1))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON) e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e2:SetCode(EVENT_RELEASE) e2:SetCode(EVENT_RELEASE)
e2:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
e2:SetCountLimit(1,24361622) e2:SetCountLimit(1,24361622)
e2:SetTarget(c24361622.sptg) e2:SetTarget(c24361622.sptg)
e2:SetOperation(c24361622.spop) e2:SetOperation(c24361622.spop)
...@@ -59,8 +58,7 @@ function c24361622.spfilter(c,e,tp) ...@@ -59,8 +58,7 @@ function c24361622.spfilter(c,e,tp)
return c:IsRace(RACE_DRAGON) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsRace(RACE_DRAGON) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c24361622.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c24361622.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return true end
and Duel.IsExistingMatchingCard(c24361622.spfilter,tp,LOCATION_HAND+LOCATION_DECK,0,1,nil,e,tp) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_HAND+LOCATION_DECK) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_HAND+LOCATION_DECK)
end end
function c24361622.spop(e,tp,eg,ep,ev,re,r,rp) function c24361622.spop(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -8,6 +8,7 @@ function c50756327.initial_effect(c) ...@@ -8,6 +8,7 @@ function c50756327.initial_effect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE)
e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCountLimit(1,50756327) e1:SetCountLimit(1,50756327)
e1:SetCondition(c50756327.thcon) e1:SetCondition(c50756327.thcon)
e1:SetTarget(c50756327.thtg) e1:SetTarget(c50756327.thtg)
......
...@@ -41,7 +41,7 @@ end ...@@ -41,7 +41,7 @@ end
function c96150936.desreptg(e,tp,eg,ep,ev,re,r,rp,chk) function c96150936.desreptg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
if chk==0 then return c:IsReason(REASON_BATTLE+REASON_EFFECT) and not c:IsReason(REASON_REPLACE) if chk==0 then return c:IsReason(REASON_BATTLE+REASON_EFFECT) and not c:IsReason(REASON_REPLACE)
and Duel.IsExistingMatchingCard(c96150936.desrepfilter,tp,LOCATION_GRAVE,0,1,nil) end and Duel.IsExistingMatchingCard(aux.NecroValleyFilter(c96150936.desrepfilter),tp,LOCATION_GRAVE,0,1,nil) end
return Duel.SelectEffectYesNo(tp,c,96) return Duel.SelectEffectYesNo(tp,c,96)
end end
function c96150936.desrepop(e,tp,eg,ep,ev,re,r,rp) function c96150936.desrepop(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -9,6 +9,7 @@ function c98095162.initial_effect(c) ...@@ -9,6 +9,7 @@ function c98095162.initial_effect(c)
e1:SetCategory(CATEGORY_TOGRAVE) e1:SetCategory(CATEGORY_TOGRAVE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCountLimit(1,98095162) e1:SetCountLimit(1,98095162)
e1:SetCondition(c98095162.tgcon) e1:SetCondition(c98095162.tgcon)
e1:SetTarget(c98095162.tgtg) e1:SetTarget(c98095162.tgtg)
...@@ -21,7 +22,7 @@ function c98095162.initial_effect(c) ...@@ -21,7 +22,7 @@ function c98095162.initial_effect(c)
e2:SetCategory(CATEGORY_DECKDES) e2:SetCategory(CATEGORY_DECKDES)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetCode(EVENT_TO_GRAVE) e2:SetCode(EVENT_TO_GRAVE)
e2:SetCountLimit(1,98095162+100) e2:SetCountLimit(1,98095163)
e2:SetCondition(c98095162.ddcon) e2:SetCondition(c98095162.ddcon)
e2:SetTarget(c98095162.ddtg) e2:SetTarget(c98095162.ddtg)
e2:SetOperation(c98095162.ddop) e2:SetOperation(c98095162.ddop)
......
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