Commit 427bf929 authored by mercury233's avatar mercury233 Committed by GitHub

fix 鬼ガエル (#1246)

parent 201be757
...@@ -68,7 +68,6 @@ function c9126351.excost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -68,7 +68,6 @@ function c9126351.excost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RTOHAND) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RTOHAND)
local g=Duel.SelectMatchingCard(tp,Card.IsAbleToHandAsCost,tp,LOCATION_MZONE,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,Card.IsAbleToHandAsCost,tp,LOCATION_MZONE,0,1,1,nil)
Duel.SendtoHand(g,nil,REASON_COST) Duel.SendtoHand(g,nil,REASON_COST)
Duel.RegisterFlagEffect(tp,9126352,RESET_PHASE+PHASE_END,EFFECT_FLAG_OATH,1)
end end
function c9126351.extg(e,tp,eg,ep,ev,re,r,rp,chk) function c9126351.extg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanSummon(tp) and Duel.IsPlayerCanAdditionalSummon(tp) end if chk==0 then return Duel.IsPlayerCanSummon(tp) and Duel.IsPlayerCanAdditionalSummon(tp) end
...@@ -82,6 +81,7 @@ function c9126351.exop(e,tp,eg,ep,ev,re,r,rp) ...@@ -82,6 +81,7 @@ function c9126351.exop(e,tp,eg,ep,ev,re,r,rp)
e1:SetTarget(c9126351.estg) e1:SetTarget(c9126351.estg)
e1:SetReset(RESET_PHASE+PHASE_END) e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
Duel.RegisterFlagEffect(tp,9126352,RESET_PHASE+PHASE_END,0,1)
end end
function c9126351.estg(e,c) function c9126351.estg(e,c)
return c:IsSetCard(0x12) and c:GetCode()~=9126351 return c:IsSetCard(0x12) and c:GetCode()~=9126351
......
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