Commit 13f44b57 authored by Tachibana's avatar Tachibana

得得得得得

parent 901ee80b
......@@ -66,7 +66,7 @@ function cm.mtcon()
return function(e,c,og)
if c==nil then return true end
local tp=c:GetControler()
return Duel.IsPlayerCanSpecialSummonMonster(tp,m+1,nil,nil,3000,3000,8,RACE_DRAGON,ATTRIBUTE_DARK) and Duel.IsExistingMatchingCard(cm.rlfilter,tp,LOCATION_ONFIELD+LOCATION_HAND,0,1,c,tp) and Duel.GetFlagEffect(tp,m)==0
return Duel.IsPlayerCanSpecialSummonMonster(tp,m+1,nil,nil,3000,3000,8,RACE_DRAGON,ATTRIBUTE_DARK) and Duel.IsExistingMatchingCard(cm.rlfilter,tp,LOCATION_HAND,0,1,c,tp) and Duel.GetFlagEffect(tp,m)==0
end
end
function cm.mtdo()
......@@ -74,7 +74,7 @@ function cm.mtdo()
if not sg then
sg=Group.CreateGroup()
end
local g=Duel.GetMatchingGroup(cm.rlfilter,tp,LOCATION_ONFIELD+LOCATION_HAND,0,c,tp)
local g=Duel.GetMatchingGroup(cm.rlfilter,tp,LOCATION_HAND,0,c,tp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
local g=g:SelectSubGroup(tp,aux.TRUE,true,1,1)
if not g then
......@@ -98,7 +98,7 @@ function cm.mtdo()
end
end
function cm.check(c)
return c:IsAbleToHand() and aux.IsCodeListed(c,16172004) and Duel.IsExistingMatchingCard(Card.IsAbleToRemove,0,LOCATION_ONFIELD,LOCATION_ONFIELD,1,c)
return c:IsAbleToHand() and aux.IsCodeListed(c,16172004) and Duel.IsExistingMatchingCard(Card.IsAbleToRemove,0,LOCATION_ONFIELD,LOCATION_ONFIELD,1,c) and c:IsFaceup()
end
function cm.rmtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsAbleToHand() and cm.check(chkc) end
......@@ -143,7 +143,7 @@ function cm.spop(e,tp)
e1:SetReset(RESET_EVENT+0x7e0000)
c:RegisterEffect(e1)
c:RegisterFlagEffect(16100000,RESET_EVENT+0x7e0000,0,0)
c:ReplaceEffect(side_code,RESET_EVENT+0x7e0000)
c:ReplaceEffect(sidecode,RESET_EVENT+0x7e0000)
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
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