Commit 25bcf78b authored by salix5's avatar salix5

fix その~属性モンスターを特殊召喚する。

parent 965b4741
...@@ -77,7 +77,7 @@ function c50903514.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -77,7 +77,7 @@ function c50903514.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end end
function c50903514.spop(e,tp,eg,ep,ev,re,r,rp) function c50903514.spop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc and tc:IsRelateToEffect(e) then if tc and tc:IsRelateToEffect(e) and tc:IsRace(RACE_WARRIOR) and tc:IsAttribute(ATTRIBUTE_FIRE) then
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
end end
end end
...@@ -24,7 +24,7 @@ function c69865139.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -24,7 +24,7 @@ function c69865139.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end end
function c69865139.operation(e,tp,eg,ep,ev,re,r,rp) function c69865139.operation(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then if tc:IsRelateToEffect(e) and tc:IsAttribute(ATTRIBUTE_LIGHT) then
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
end end
end end
...@@ -49,7 +49,7 @@ end ...@@ -49,7 +49,7 @@ end
function c70156997.activate(e,tp,eg,ep,ev,re,r,rp) function c70156997.activate(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc and tc:IsRelateToEffect(e) then if tc and tc:IsRelateToEffect(e) and tc:IsAttribute(ATTRIBUTE_EARTH) then
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
end end
end end
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