Commit 579d2fae authored by nekrozar's avatar nekrozar

fix Elemental Training

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

したがって、「霊神統一」のカードの発動と同一のチェーンブロックにて、『手札を全て捨てる。その後、この効果で捨てたカードの数だけ、自分の墓地から「霊神」モンスターを選んで手札に加える』効果を発動する事はできず、また、「霊神統一」のカードの発動と同一のチェーン上にて、その「霊神統一」の『手札を全て捨てる。その後、この効果で捨てたカードの数だけ、自分の墓地から「霊神」モンスターを選んで手札に加える』効果を発動する事もできません。
parent 108ea8d1
......@@ -40,6 +40,7 @@ function c11167052.initial_effect(c)
e5:SetCode(EVENT_FREE_CHAIN)
e5:SetHintTiming(0,TIMING_END_PHASE)
e5:SetRange(LOCATION_SZONE)
e5:SetCondition(c11167052.thcon)
e5:SetCost(c11167052.thcost)
e5:SetTarget(c11167052.thtg)
e5:SetOperation(c11167052.thop)
......@@ -79,6 +80,9 @@ function c11167052.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
end
end
function c11167052.thcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsStatus(STATUS_EFFECT_ENABLED)
end
function c11167052.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToGraveAsCost() end
Duel.SendtoGrave(e:GetHandler(),REASON_COST)
......
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