Commit 366af9bc authored by DailyShana's avatar DailyShana

Merge pull request #303 from nekrozar/patch-1

fix Ma’at
parents c01edb79 5c293c79
...@@ -46,7 +46,12 @@ function c18631392.spop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -46,7 +46,12 @@ function c18631392.spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel.SendtoGrave(g1,REASON_COST) Duel.SendtoGrave(g1,REASON_COST)
end end
function c18631392.anctg(e,tp,eg,ep,ev,re,r,rp,chk) function c18631392.anctg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDiscardDeck(tp,3) end if chk==0 then
if Duel.GetFieldGroupCount(tp,LOCATION_DECK,0)<3 then return false end
local g=Duel.GetDecktopGroup(tp,3)
local result=g:FilterCount(Card.IsAbleToHand,nil)>0
return result and Duel.IsPlayerCanDiscardDeck(tp,3)
end
Duel.Hint(HINT_SELECTMSG,tp,0) Duel.Hint(HINT_SELECTMSG,tp,0)
local ac1=Duel.AnnounceCard(tp) local ac1=Duel.AnnounceCard(tp)
Duel.Hint(HINT_SELECTMSG,tp,0) Duel.Hint(HINT_SELECTMSG,tp,0)
......
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