Commit 87f386ea authored by nekrozar's avatar nekrozar

fix

Prometheus, King of the Shadows

https://www.db.yugioh-card.com/yugiohdb/card_search.action?ope=2&cid=7148
自分の墓地の闇属性モンスターを任意の数だけ選んで除外する。

Diskblade Rider
https://www.db.yugioh-card.com/yugiohdb/faq_search.action?ope=4&cid=7608
■自分の墓地の通常罠カード1枚を対象に取る効果です。

Tuner's Barrier
https://www.db.yugioh-card.com/yugiohdb/faq_search.action?ope=4&cid=8583
■効果処理時に、対象のチューナーが裏側守備表示になっている場合には、効果処理は適用されません。

Barrier Resonator
https://www.db.yugioh-card.com/yugiohdb/faq_search.action?ope=4&cid=9297
■効果処理時に、対象のチューナーが裏側守備表示になっている場合でも、効果処理は通常通り適用されます。

Future Glow
https://www.db.yugioh-card.com/yugiohdb/faq_search.action?ope=4&cid=9673
■サイキック族のエクシーズ・リンクモンスターを除外して、「フューチャー・グロウ」を発動する事はできません。

Full-Force Strike
https://www.db.yugioh-card.com/yugiohdb/faq_search.action?ope=4&cid=9921
■効果処理時に、対象のモンスターが裏側守備表示になっている場合でも、効果処理は通常通り適用されます。

Torrential Reborn

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

■『その時に破壊され、フィールド上から自分の墓地へ送られたモンスターを全て特殊召喚し』の処理と、『特殊召喚したモンスターの数×500ポイントダメージを相手ライフに与える』処理は同時に行われる扱いではありません。

Photon Alexandra Queen

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

■『フィールド上のモンスターを全て持ち主の手札に戻す』処理と『その後、この効果でカードが手札に加わったプレイヤーは、その数×300ポイントダメージを受ける』処理は同時に行われる扱いではありません。

Idaten the Conqueror Star

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

■『③:このカードがこのカードのレベル以下のレベルを持つ相手モンスターと戦闘を行うダメージ計算時に1度、発動できる。その相手モンスターの攻撃力をそのダメージ計算時のみ0にする』モンスター効果は誘発即時効果です。

World Legacy Collapse

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

■『そのモンスターの攻撃力は除外したモンスターの元々の攻撃力分アップする』効果をダメージステップに発動する場合、ダメージステップ開始時からダメージ計算前に発動する事になります。
parent b3cb839c
......@@ -15,6 +15,7 @@ function c36197902.initial_effect(c)
e2:SetLabel(0)
e2:SetHintTiming(TIMING_DAMAGE_STEP)
e2:SetCountLimit(1,36197902)
e2:SetCondition(c36197902.atkcon)
e2:SetCost(c36197902.atkcost)
e2:SetTarget(c36197902.atktg)
e2:SetOperation(c36197902.atkop)
......@@ -34,6 +35,9 @@ function c36197902.initial_effect(c)
e3:SetOperation(c36197902.spop)
c:RegisterEffect(e3)
end
function c36197902.atkcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentPhase()~=PHASE_DAMAGE or not Duel.IsDamageCalculated()
end
function c36197902.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetLabel(1)
return true
......
......@@ -3,26 +3,29 @@ function c41113025.initial_effect(c)
--atkup
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(41113025,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetCategory(CATEGORY_REMOVE+CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCost(c41113025.cost)
e1:SetTarget(c41113025.target)
e1:SetOperation(c41113025.operation)
c:RegisterEffect(e1)
end
function c41113025.cfilter(c)
return c:GetType()==TYPE_TRAP and c:IsAbleToRemoveAsCost()
return c:GetType()==TYPE_TRAP and c:IsAbleToRemove()
end
function c41113025.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c41113025.cfilter,tp,LOCATION_GRAVE,0,1,nil) end
function c41113025.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and c41113025.cfilter(chkc) end
if chk==0 then return Duel.IsExistingTarget(c41113025.cfilter,tp,LOCATION_GRAVE,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local cg=Duel.SelectMatchingCard(tp,c41113025.cfilter,tp,LOCATION_GRAVE,0,1,1,nil)
Duel.Remove(cg,POS_FACEUP,REASON_COST)
local g=Duel.SelectTarget(tp,c41113025.cfilter,tp,LOCATION_GRAVE,0,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_REMOVE,g,1,tp,LOCATION_GRAVE)
end
function c41113025.operation(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c:IsFaceup() and c:IsRelateToEffect(e) then
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and Duel.Remove(tc,POS_FACEUP,REASON_EFFECT)~=0 and c:IsFaceup() and c:IsRelateToEffect(e) then
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_ATTACK)
......
......@@ -20,7 +20,7 @@ function c5609226.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function c5609226.activate(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then
if rc:IsFaceup() and tc:IsRelateToEffect(e) then
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
......
......@@ -19,7 +19,7 @@ function c64107820.initial_effect(c)
e1:SetLabelObject(e2)
end
function c64107820.cfilter(c)
return c:IsRace(RACE_PSYCHO) and c:IsAbleToRemoveAsCost()
return c:IsRace(RACE_PSYCHO) and c:IsLevelAbove(1) and c:IsAbleToRemoveAsCost()
end
function c64107820.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c64107820.cfilter,tp,LOCATION_GRAVE,0,1,nil) end
......
......@@ -42,5 +42,7 @@ function c7092142.operation(e,tp,eg,ep,ev,re,r,rp)
local sg=eg:Filter(c7092142.spfilter2,nil,e,tp)
if ft<sg:GetCount() then return end
local ct=Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP)
if ct==0 then return end
Duel.BreakEffect()
Duel.Damage(1-tp,ct*500,REASON_EFFECT)
end
......@@ -33,6 +33,8 @@ function c75797046.retop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoHand(g,nil,REASON_EFFECT)
local ct1=g:FilterCount(c75797046.hfilter,nil,tp)
local ct2=g:FilterCount(c75797046.hfilter,nil,1-tp)
if ct1==0 and ct2==0 then return end
Duel.BreakEffect()
Duel.Damage(tp,ct1*300,REASON_EFFECT,true)
Duel.Damage(1-tp,ct2*300,REASON_EFFECT,true)
Duel.RDComplete()
......
......@@ -18,7 +18,7 @@ end
function c81000306.activate(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tc=Duel.GetFirstTarget()
if tc:IsFaceup() and tc:IsRelateToEffect(e) then
if tc:IsRelateToEffect(e) then
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
......
......@@ -3,20 +3,28 @@ function c82213171.initial_effect(c)
--atkup
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(82213171,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetCategory(CATEGORY_REMOVE+CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetTarget(c82213171.target)
e1:SetOperation(c82213171.operation)
c:RegisterEffect(e1)
end
function c82213171.cfilter(c)
return c:IsAttribute(ATTRIBUTE_DARK) and c:IsAbleToRemoveAsCost()
return c:IsAttribute(ATTRIBUTE_DARK) and c:IsAbleToRemove()
end
function c82213171.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
local g=Duel.GetMatchingGroup(c82213171.cfilter,tp,LOCATION_GRAVE,0,nil)
if g:GetCount()>0 then
Duel.SetOperationInfo(0,CATEGORY_REMOVE,g,1,tp,LOCATION_GRAVE)
end
end
function c82213171.operation(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local cg=Duel.SelectMatchingCard(tp,c82213171.cfilter,tp,LOCATION_GRAVE,0,1,63,nil)
local ct=Duel.Remove(cg,POS_FACEUP,REASON_COST)
local ct=Duel.Remove(cg,POS_FACEUP,REASON_EFFECT)
if ct>0 and c:IsFaceup() and c:IsRelateToEffect(e) then
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
......
......@@ -28,7 +28,7 @@ end
function c89127526.operation(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
local tc=Duel.GetFirstTarget()
if tc:IsFaceup() and tc:IsRelateToEffect(e) then
if tc:IsRelateToEffect(e) then
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_AVOID_BATTLE_DAMAGE)
......
......@@ -29,9 +29,11 @@ function c96220350.initial_effect(c)
local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(96220350,2))
e3:SetCategory(CATEGORY_ATKCHANGE)
e3:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE)
e3:SetType(EFFECT_TYPE_QUICK_O)
e3:SetCode(EVENT_PRE_DAMAGE_CALCULATE)
e3:SetRange(LOCATION_MZONE)
e3:SetCondition(c96220350.atkcon)
e3:SetCost(c96220350.atkcost)
e3:SetOperation(c96220350.atkop)
c:RegisterEffect(e3)
end
......@@ -78,6 +80,11 @@ function c96220350.atkcon(e,tp,eg,ep,ev,re,r,rp)
local bc=c:GetBattleTarget()
return bc and bc:IsLevelBelow(c:GetLevel()) and bc:IsControler(1-tp)
end
function c96220350.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return c:GetFlagEffect(96220350)==0 end
c:RegisterFlagEffect(96220350,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_DAMAGE_CAL,0,1)
end
function c96220350.atkop(e,tp,eg,ep,ev,re,r,rp)
local bc=e:GetHandler():GetBattleTarget()
if bc and bc:IsFaceup() and bc:IsRelateToBattle() then
......
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