Commit 06b97203 authored by nekrozar's avatar nekrozar

fix

https://www.db.yugioh-card.com/yugiohdb/faq_search.action?ope=5&fid=20779
リンクモンスターに「シンクロ・ヒーロー」を装備させる事はできます。

http://yugioh-wiki.net/index.php?%A1%D4%B9%DF%B3%CA%BD%E8%CA%AC%A1%D5#faq
Q:レベルを持たないエクシーズモンスターやリンクモンスターにこのカードを装備させる事自体できますか?
A:はい、できます。(18/04/21)

http://yugioh-wiki.net/index.php?%A1%D4%A5%D0%A5%A6%A5%F3%A5%C9%A1%A6%A5%EF%A5%F3%A5%C9%A1%D5#faq
Q:エクシーズモンスターに装備させることができますか?
A:はい、装備できます。
  なお、(1)の効果は適用されません。(19/07/18)
parent 459573cc
......@@ -35,10 +35,10 @@ function c53610653.initial_effect(c)
c:RegisterEffect(e4)
end
function c53610653.eqlimit(e,c)
return c:IsRace(RACE_SPELLCASTER) and c:IsLevelAbove(0)
return c:IsRace(RACE_SPELLCASTER)
end
function c53610653.filter(c)
return c:IsFaceup() and c:IsRace(RACE_SPELLCASTER) and c:IsLevelAbove(0)
return c:IsFaceup() and c:IsRace(RACE_SPELLCASTER)
end
function c53610653.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and c53610653.filter(chkc) end
......
......@@ -20,20 +20,17 @@ function c72575145.initial_effect(c)
e4:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e4:SetType(EFFECT_TYPE_SINGLE)
e4:SetCode(EFFECT_EQUIP_LIMIT)
e4:SetValue(c72575145.eqlimit)
e4:SetValue(1)
c:RegisterEffect(e4)
end
function c72575145.eqlimit(e,c)
return c:GetLevel()>0
end
function c72575145.filter(c)
return c:IsFaceup() and c:GetLevel()>0
end
function c72575145.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and c72575145.filter(chkc) end
if chk==0 then return Duel.IsExistingTarget(c72575145.filter,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil) end
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsFaceup() end
if chk==0 then return Duel.IsExistingTarget(Card.IsFaceup,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_EQUIP)
Duel.SelectTarget(tp,c72575145.filter,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,nil)
Duel.SelectTarget(tp,Card.IsFaceup,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_EQUIP,e:GetHandler(),1,0,0)
end
function c72575145.operation(e,tp,eg,ep,ev,re,r,rp)
......
......@@ -25,20 +25,14 @@ function c98143165.initial_effect(c)
e4:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e4:SetType(EFFECT_TYPE_SINGLE)
e4:SetCode(EFFECT_EQUIP_LIMIT)
e4:SetValue(c98143165.eqlimit)
e4:SetValue(1)
c:RegisterEffect(e4)
end
function c98143165.eqlimit(e,c)
return c:GetLevel()>0
end
function c98143165.filter(c)
return c:IsFaceup() and c:GetLevel()>0
end
function c98143165.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and c98143165.filter(chkc) end
if chk==0 then return Duel.IsExistingTarget(c98143165.filter,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil) end
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsFaceup() end
if chk==0 then return Duel.IsExistingTarget(Card.IsFaceup,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_EQUIP)
Duel.SelectTarget(tp,c98143165.filter,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,nil)
Duel.SelectTarget(tp,Card.IsFaceup,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_EQUIP,e:GetHandler(),1,0,0)
end
function c98143165.operation(e,tp,eg,ep,ev,re,r,rp)
......
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