Commit bbff483a authored by nekrozar's avatar nekrozar

fix

A Feint Plan
https://www.db.yugioh-card.com/yugiohdb/faq_search.action?ope=4&cid=5332
■メインフェイズ2やエンドフェイズに発動する事はできません。

Big Burn
https://www.db.yugioh-card.com/yugiohdb/faq_search.action?ope=4&cid=5851

■墓地のモンスターを対象とする相手のモンスター効果の発動、墓地のモンスターを対象とする相手の魔法・罠カードのカードの発動のいずれかに直接チェーンして発動する効果です。(魔法・罠カードの効果の発動にチェーンして発動する事はできません。)

Firewall
https://www.db.yugioh-card.com/yugiohdb/faq_search.action?ope=4&cid=7090

■『相手が直接攻撃を宣言した時、自分の墓地に存在する炎族モンスター1体をゲームから除外する事で、そのモンスターの攻撃を無効にする』効果はチェーンブロックの作られる効果です。(対象を取る効果ではありません。この効果を発動する際に、コストとして、自分の墓地の炎族モンスター1体を除外します。)

Twin-Shield Defender
https://www.db.yugioh-card.com/yugiohdb/faq_search.action?ope=4&cid=7709

■自分のモンスターゾーンに存在する「ダブル・プロテクター」自身が戦闘によって破壊され自分の墓地へ送られたダメージステップ終了時に、任意に発動する事ができる効果です。

Spawn Alligator
https://www.db.yugioh-card.com/yugiohdb/faq_search.action?ope=4&cid=8702
■「スパウン・アリゲーター」をアドバンス召喚する際にリリースされ、墓地に存在しているモンスター1体を対象に取る効果です。

Dragon Laser
https://www.db.yugioh-card.com/yugiohdb/faq_search.action?ope=4&cid=8828

■自分のモンスターゾーンに存在する「デルタトライ」に装備されている「トライゴン」であれば、自分の魔法&罠ゾーンに存在する「トライゴン」だけでなく、相手の魔法&罠ゾーンに存在する「トライゴン」も対象とする事ができます。

Curse of the Circle
https://www.db.yugioh-card.com/yugiohdb/faq_search.action?ope=4&cid=9693

■「五稜星の呪縛」の効果が適用されたモンスターをリリースできず、シンクロ素材とする事ができなくなるのは、「五稜星の呪縛」を発動したプレイヤーから見て相手となるプレイヤーのみとなります。
parent e5745223
...@@ -21,22 +21,27 @@ function c12863633.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -21,22 +21,27 @@ function c12863633.operation(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then if tc:IsRelateToEffect(e) then
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_UNRELEASABLE_SUM) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EFFECT_CANNOT_RELEASE)
e1:SetRange(LOCATION_MZONE)
e1:SetAbsoluteRange(tp,0,1)
e1:SetTarget(c12863633.rellimit)
e1:SetReset(RESET_EVENT+RESETS_STANDARD) e1:SetReset(RESET_EVENT+RESETS_STANDARD)
e1:SetValue(1)
tc:RegisterEffect(e1) tc:RegisterEffect(e1)
local e2=Effect.CreateEffect(e:GetHandler())
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_UNRELEASABLE_NONSUM)
e2:SetReset(RESET_EVENT+RESETS_STANDARD)
e2:SetValue(1)
tc:RegisterEffect(e2)
local e3=Effect.CreateEffect(e:GetHandler()) local e3=Effect.CreateEffect(e:GetHandler())
e3:SetType(EFFECT_TYPE_SINGLE) e3:SetType(EFFECT_TYPE_SINGLE)
e3:SetCode(EFFECT_CANNOT_BE_SYNCHRO_MATERIAL) e3:SetCode(EFFECT_CANNOT_BE_SYNCHRO_MATERIAL)
e3:SetReset(RESET_EVENT+RESETS_STANDARD) e3:SetReset(RESET_EVENT+RESETS_STANDARD)
e3:SetValue(1) e3:SetValue(c12863633.synlimit)
e3:SetOwnerPlayer(tp)
tc:RegisterEffect(e3) tc:RegisterEffect(e3)
end end
end end
function c12863633.rellimit(e,c,tp,sumtp)
return c==e:GetHandler()
end
function c12863633.synlimit(e,c)
if not c then return false end
return not c:IsControler(e:GetOwnerPlayer())
end
...@@ -3,7 +3,7 @@ function c24025620.initial_effect(c) ...@@ -3,7 +3,7 @@ function c24025620.initial_effect(c)
--atkdown --atkdown
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(24025620,0)) e1:SetDescription(aux.Stringid(24025620,0))
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetCode(EVENT_BATTLE_DESTROYED)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCondition(c24025620.atkcon) e1:SetCondition(c24025620.atkcon)
...@@ -17,7 +17,7 @@ function c24025620.atkcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -17,7 +17,7 @@ function c24025620.atkcon(e,tp,eg,ep,ev,re,r,rp)
end end
function c24025620.atktg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c24025620.atktg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(1-tp) and chkc:IsLocation(LOCATION_MZONE) and chkc:IsFaceup() end if chkc then return chkc:IsControler(1-tp) and chkc:IsLocation(LOCATION_MZONE) and chkc:IsFaceup() end
if chk==0 then return true end if chk==0 then return Duel.IsExistingTarget(Card.IsFaceup,tp,0,LOCATION_MZONE,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
Duel.SelectTarget(tp,Card.IsFaceup,tp,0,LOCATION_MZONE,1,1,nil) Duel.SelectTarget(tp,Card.IsFaceup,tp,0,LOCATION_MZONE,1,1,nil)
end end
......
...@@ -11,25 +11,24 @@ function c29228350.initial_effect(c) ...@@ -11,25 +11,24 @@ function c29228350.initial_effect(c)
e1:SetOperation(c29228350.activate) e1:SetOperation(c29228350.activate)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c29228350.filter(c) function c29228350.filter(c,tp)
local ec=c:GetEquipTarget() local ec=c:GetEquipTarget()
return ec and c:IsCode(48568432) and ec:IsCode(12079734) return ec and c:IsCode(48568432) and ec:IsControler(tp) and ec:IsCode(12079734)
end end
function c29228350.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c29228350.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_SZONE) and c29228350.filter(chkc) end if chkc then return chkc:IsLocation(LOCATION_SZONE) and c29228350.filter(chkc,tp) end
if chk==0 then return Duel.IsExistingTarget(c29228350.filter,tp,LOCATION_SZONE,0,1,nil) if chk==0 then return Duel.IsExistingTarget(c29228350.filter,tp,LOCATION_SZONE,LOCATION_SZONE,1,nil,tp)
and Duel.IsExistingMatchingCard(aux.TRUE,tp,0,LOCATION_MZONE,1,nil) end and Duel.IsExistingMatchingCard(aux.TRUE,tp,0,LOCATION_MZONE,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local g=Duel.SelectTarget(tp,c29228350.filter,tp,LOCATION_SZONE,0,1,1,nil) local g=Duel.SelectTarget(tp,c29228350.filter,tp,LOCATION_SZONE,LOCATION_SZONE,1,1,nil,tp)
Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,g,1,0,0) Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,g,1,0,0)
local sg=Duel.GetMatchingGroup(aux.TRUE,tp,0,LOCATION_MZONE,nil) local sg=Duel.GetMatchingGroup(aux.TRUE,tp,0,LOCATION_MZONE,nil)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,sg,sg:GetCount(),0,0) Duel.SetOperationInfo(0,CATEGORY_DESTROY,sg,sg:GetCount(),0,0)
end end
function c29228350.activate(e,tp,eg,ep,ev,re,r,rp) function c29228350.activate(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then if tc:IsRelateToEffect(e) and Duel.SendtoGrave(tc,REASON_EFFECT)~=0 then
Duel.SendtoGrave(tc,REASON_EFFECT) local sg=Duel.GetMatchingGroup(aux.TRUE,tp,0,LOCATION_MZONE,nil)
Duel.Destroy(sg,REASON_EFFECT)
end end
local sg=Duel.GetMatchingGroup(aux.TRUE,tp,0,LOCATION_MZONE,nil)
Duel.Destroy(sg,REASON_EFFECT)
end end
...@@ -35,7 +35,7 @@ function c39984786.valcheck(e,c) ...@@ -35,7 +35,7 @@ function c39984786.valcheck(e,c)
end end
end end
function c39984786.filter(c,e,tp) function c39984786.filter(c,e,tp)
return c:GetFlagEffect(39984786)~=0 and c:IsCanBeEffectTarget(e) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:GetFlagEffect(39984786)~=0 and c:IsCanBeEffectTarget(e) and c:IsLocation(LOCATION_GRAVE) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c39984786.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c39984786.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return e:GetHandler():GetMaterial():IsContains(chkc) and c39984786.filter(chkc,e,tp) end if chkc then return e:GetHandler():GetMaterial():IsContains(chkc) and c39984786.filter(chkc,e,tp) end
......
...@@ -5,9 +5,13 @@ function c68170903.initial_effect(c) ...@@ -5,9 +5,13 @@ function c68170903.initial_effect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN) e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_BATTLE_START) e1:SetHintTiming(0,TIMING_BATTLE_START)
e1:SetCondition(c68170903.condition)
e1:SetOperation(c68170903.activate) e1:SetOperation(c68170903.activate)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c68170903.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsAbleToEnterBP()
end
function c68170903.activate(e,tp,eg,ep,ev,re,r,rp) function c68170903.activate(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
......
...@@ -8,13 +8,11 @@ function c94804055.initial_effect(c) ...@@ -8,13 +8,11 @@ function c94804055.initial_effect(c)
--quick --quick
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(94804055,0)) e2:SetDescription(aux.Stringid(94804055,0))
e2:SetProperty(EFFECT_FLAG_CARD_TARGET)
e2:SetType(EFFECT_TYPE_QUICK_O) e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetRange(LOCATION_SZONE) e2:SetRange(LOCATION_SZONE)
e2:SetCode(EVENT_ATTACK_ANNOUNCE) e2:SetCode(EVENT_ATTACK_ANNOUNCE)
e2:SetCondition(c94804055.condition) e2:SetCondition(c94804055.condition)
e2:SetCost(c94804055.cost) e2:SetCost(c94804055.cost)
e2:SetTarget(c94804055.target)
e2:SetOperation(c94804055.operation) e2:SetOperation(c94804055.operation)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--maintain --maintain
...@@ -44,12 +42,6 @@ function c94804055.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -44,12 +42,6 @@ function c94804055.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local g=Duel.SelectMatchingCard(tp,c94804055.cfilter,tp,LOCATION_GRAVE,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c94804055.cfilter,tp,LOCATION_GRAVE,0,1,1,nil)
Duel.Remove(g,POS_FACEUP,REASON_COST) Duel.Remove(g,POS_FACEUP,REASON_COST)
end end
function c94804055.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local tg=Duel.GetAttacker()
if chkc then return false end
if chk==0 then return tg:IsOnField() and tg:IsCanBeEffectTarget(e) end
Duel.SetTargetCard(tg)
end
function c94804055.mtcon(e,tp,eg,ep,ev,re,r,rp) function c94804055.mtcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()==tp return Duel.GetTurnPlayer()==tp
end end
......
...@@ -14,7 +14,7 @@ function c95472621.cfilter(c) ...@@ -14,7 +14,7 @@ function c95472621.cfilter(c)
return c:IsLocation(LOCATION_GRAVE) and c:IsType(TYPE_MONSTER) return c:IsLocation(LOCATION_GRAVE) and c:IsType(TYPE_MONSTER)
end end
function c95472621.condition(e,tp,eg,ep,ev,re,r,rp) function c95472621.condition(e,tp,eg,ep,ev,re,r,rp)
return rp==1-tp and eg:IsExists(c95472621.cfilter,1,nil) return rp==1-tp and (re:IsActiveType(TYPE_MONSTER) or re:IsHasType(EFFECT_TYPE_ACTIVATE)) and eg:IsExists(c95472621.cfilter,1,nil)
end end
function c95472621.chkfilter(c) function c95472621.chkfilter(c)
return c:IsType(TYPE_MONSTER) and not c:IsAbleToRemove() return c:IsType(TYPE_MONSTER) and not c:IsAbleToRemove()
...@@ -24,7 +24,7 @@ function c95472621.filter(c) ...@@ -24,7 +24,7 @@ function c95472621.filter(c)
end end
function c95472621.target(e,tp,eg,ep,ev,re,r,rp,chk) function c95472621.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then if chk==0 then
return Duel.IsExistingMatchingCard(c95472621.filter,tp,LOCATION_GRAVE,LOCATION_GRAVE,1,nil) return Duel.IsExistingMatchingCard(c95472621.filter,tp,LOCATION_GRAVE,LOCATION_GRAVE,1,nil)
and not Duel.IsExistingMatchingCard(c95472621.chkfilter,tp,LOCATION_GRAVE,LOCATION_GRAVE,1,nil) and not Duel.IsExistingMatchingCard(c95472621.chkfilter,tp,LOCATION_GRAVE,LOCATION_GRAVE,1,nil)
end end
local g=Duel.GetMatchingGroup(c95472621.filter,tp,LOCATION_GRAVE,LOCATION_GRAVE,nil) local g=Duel.GetMatchingGroup(c95472621.filter,tp,LOCATION_GRAVE,LOCATION_GRAVE,nil)
......
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