Commit d203ce48 authored by nekrozar's avatar nekrozar

fix Squirt Squid

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

■『自分フィールドのこのカードの位置を、他の自分のメインモンスターゾーンに移動する』処理と、『その後、自分フィールドに「イカスミトークン」(水族・水・星2・攻?/守0)1体を特殊召喚する。このトークンの攻撃力は、その相手モンスターの攻撃力と同じになる』処理は同時に行われる扱いではありません。

https://www.db.yugioh-card.com/yugiohdb/faq_search.action?ope=5&fid=22186

質問の状況のように、「隅烏賊」のモンスター効果の処理時に、相手モンスターの攻撃が他のカードの効果によって無効になっている場合でも、『自分フィールドのこのカードの位置を、他の自分のメインモンスターゾーンに移動する』処理、『その後、自分フィールドに「イカスミトークン」(水族・水・星2・攻?/守0)1体を特殊召喚する』処理は通常通り適用され、その「イカスミトークン」の攻撃力も相手モンスターの攻撃力(=質問の状況の場合、「深海に潜むサメ」の攻撃力1900)と同じになります。

https://www.db.yugioh-card.com/yugiohdb/faq_search.action?ope=5&fid=22187

質問の状況のように、「隅烏賊」のモンスター効果の処理時に、相手の攻撃モンスターがフィールドに存在しなくなっている場合、『自分フィールドのこのカードの位置を、他の自分のメインモンスターゾーンに移動する』処理、『その後、自分フィールドに「イカスミトークン」(水族・水・星2・攻?/守0)1体を特殊召喚する』処理は適用されますが、相手モンスターはモンスターゾーンに表側表示で存在しなくなっていますので、「イカスミトークン」の攻撃力は0となります。
parent c7532f0f
...@@ -25,24 +25,28 @@ function c65500515.seqtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -25,24 +25,28 @@ function c65500515.seqtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE,tp,LOCATION_REASON_CONTROL)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE,tp,LOCATION_REASON_CONTROL)>0
and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsPlayerCanSpecialSummonMonster(tp,65500516,0,0x4011,a:GetAttack(),0,2,RACE_AQUA,ATTRIBUTE_WATER) end and Duel.IsPlayerCanSpecialSummonMonster(tp,65500516,0,0x4011,a:GetAttack(),0,2,RACE_AQUA,ATTRIBUTE_WATER) end
Duel.SetTargetCard(a)
Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,1,0,0) Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,1,0,0)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,0,0)
end end
function c65500515.seqop(e,tp,eg,ep,ev,re,r,rp) function c65500515.seqop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if not c:IsRelateToEffect(e) or c:IsControler(1-tp) or c:IsImmuneToEffect(e) or Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end if not c:IsRelateToEffect(e) or c:IsControler(1-tp) or c:IsImmuneToEffect(e) or Duel.GetLocationCount(tp,LOCATION_MZONE,tp,LOCATION_REASON_CONTROL)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOZONE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOZONE)
local s=Duel.SelectDisableField(tp,1,LOCATION_MZONE,0,0) local s=Duel.SelectDisableField(tp,1,LOCATION_MZONE,0,0)
local nseq=math.log(s,2) local nseq=math.log(s,2)
Duel.MoveSequence(c,nseq) Duel.MoveSequence(c,nseq)
local a=Duel.GetAttacker() local a=Duel.GetAttacker()
if not a:IsAttackable() or not Duel.IsPlayerCanSpecialSummonMonster(tp,65500516,0,0x4011,a:GetAttack(),0,2,RACE_AQUA,ATTRIBUTE_WATER) then return end local atk=a:IsRelateToEffect(e) and a:GetAttack() or 0
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0
or not Duel.IsPlayerCanSpecialSummonMonster(tp,65500516,0,0x4011,atk,0,2,RACE_AQUA,ATTRIBUTE_WATER) then return end
Duel.BreakEffect()
local token=Duel.CreateToken(tp,65500516) local token=Duel.CreateToken(tp,65500516)
Duel.SpecialSummonStep(token,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummonStep(token,0,tp,tp,false,false,POS_FACEUP)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SET_ATTACK) e1:SetCode(EFFECT_SET_ATTACK)
e1:SetValue(a:GetAttack()) e1:SetValue(atk)
e1:SetReset(RESET_EVENT+RESETS_STANDARD) e1:SetReset(RESET_EVENT+RESETS_STANDARD)
token:RegisterEffect(e1,true) token:RegisterEffect(e1,true)
Duel.SpecialSummonComplete() Duel.SpecialSummonComplete()
......
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