Commit 83753ab1 authored by wind2009's avatar wind2009

Fix 幻奏の音姫スペクタキュラー・バッハ

https://github.com/Fluorohydride/ygopro-pre-script/pull/1265
parent 76e47388
...@@ -51,8 +51,9 @@ function s.inacon(e) ...@@ -51,8 +51,9 @@ function s.inacon(e)
return e:GetHandler():IsSummonType(SUMMON_TYPE_FUSION) return e:GetHandler():IsSummonType(SUMMON_TYPE_FUSION)
end end
function s.effectfilter(e,ct) function s.effectfilter(e,ct)
local te=Duel.GetChainInfo(ct,CHAININFO_TRIGGERING_EFFECT) local p=e:GetHandler():GetControler()
return te:IsActiveType(TYPE_FUSION) and te:GetHandler():IsSetCard(0x9b) local te,tp=Duel.GetChainInfo(ct,CHAININFO_TRIGGERING_EFFECT,CHAININFO_TRIGGERING_PLAYER)
return p==tp and te:GetHandler():IsSetCard(0x9b) and te:IsActiveType(TYPE_FUSION)
end end
function s.spfilter1(c,e,tp) function s.spfilter1(c,e,tp)
return not c:IsCode(id) and c:IsSetCard(0x9b) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_DEFENSE) return not c:IsCode(id) and c:IsSetCard(0x9b) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_DEFENSE)
......
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