Commit 870f1ab0 authored by a597449807's avatar a597449807 Committed by GitHub

Fix 海造賊-赤髭の航海士 (#2167)

* fix 脆刃の剣

* fix 冥府の合わせ鏡

* fix メテオ・プロミネンス

* 修复电子多变龙被禁忌的圣衣生效后不能成为效果对象,能选择第二项效果来发动的问题。

* 修复冥府的两镜相照

* 修复混沌幻魔 阿米泰尔

* 修复金傲大奖赛-开启引擎

* 修复潜艇机人

* 修复海造贼-白胡子机关士

* 修复海造贼-红胡子航海士
parent b7bdd357
......@@ -35,7 +35,7 @@ end
function c31374201.spfilter1(c,e,tp,attr)
return c:IsSetCard(0x13f) and c:IsAttribute(attr) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0
end
function c31374201.sptg1(e,tp,eg,ep,ev,re,r,rp,chk)
function c31374201.sptg1(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_SZONE)>0
and Duel.IsExistingMatchingCard(c31374201.cfilter,tp,0,LOCATION_MZONE+LOCATION_GRAVE,1,nil,e,tp) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_EXTRA)
......@@ -57,6 +57,7 @@ function c31374201.spop1(e,tp,eg,ep,ev,re,r,rp)
local sg=Duel.SelectMatchingCard(tp,c31374201.spfilter1,tp,LOCATION_EXTRA,0,1,1,nil,e,tp,attr)
local sc=sg:GetFirst()
if sc and Duel.SpecialSummon(sc,0,tp,tp,false,false,POS_FACEUP)~=0 and sc:IsFaceup() and c:IsRelateToEffect(e) and c:IsControler(tp) then
if not c:IsRelateToEffect(e) or c:IsFacedown() then return end
if not Duel.Equip(tp,c,sc,false) then return end
--equip limit
local e1=Effect.CreateEffect(c)
......
......@@ -57,6 +57,7 @@ function c68769900.spop(e,tp,eg,ep,ev,re,r,rp)
local sg=Duel.SelectMatchingCard(tp,c68769900.spfilter,tp,LOCATION_EXTRA,0,1,1,nil,e,tp,attr)
local sc=sg:GetFirst()
if sc and Duel.SpecialSummon(sc,0,tp,tp,false,false,POS_FACEUP)~=0 and sc:IsFaceup() and c:IsRelateToEffect(e) and c:IsControler(tp) then
if not c:IsRelateToEffect(e) or c:IsFacedown() then return end
if not Duel.Equip(tp,c,sc,false) then return end
--equip limit
local e1=Effect.CreateEffect(c)
......
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