Commit 28ac497d authored by Tachibana's avatar Tachibana

eme

parent 78892295
...@@ -5,10 +5,9 @@ function c16150006.initial_effect(c) ...@@ -5,10 +5,9 @@ function c16150006.initial_effect(c)
--cost --cost
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(m,1)) e2:SetDescription(aux.Stringid(m,1))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON) e2:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e2:SetType(EFFECT_TYPE_ACTIVATE) e2:SetType(EFFECT_TYPE_ACTIVATE)
e2:SetCode(EVENT_FREE_CHAIN) e2:SetCode(EVENT_FREE_CHAIN)
e2:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e2:SetCountLimit(1,m+EFFECT_COUNT_CODE_OATH) e2:SetCountLimit(1,m+EFFECT_COUNT_CODE_OATH)
e2:SetCost(cm.cost) e2:SetCost(cm.cost)
e2:SetTarget(cm.target2) e2:SetTarget(cm.target2)
......
...@@ -76,6 +76,6 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp) ...@@ -76,6 +76,6 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsComplexReason(REASON_SUMMON+REASON_MATERIAL) then if c:IsComplexReason(REASON_SUMMON+REASON_MATERIAL) then
local tc=c:GetReasonCard() local tc=c:GetReasonCard()
tc:CopyEffect(m,RESET_EVENT+RESETS_STANDARD-RESET_TOFIELD,0) tc:CopyEffect(m,RESET_EVENT+0x7e0000,0)
end end
end end
\ No newline at end of file
...@@ -7,7 +7,7 @@ function cm.initial_effect(c) ...@@ -7,7 +7,7 @@ function cm.initial_effect(c)
e1:SetCode(EVENT_FREE_CHAIN) e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1) c:RegisterEffect(e1)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND+CATEGORY_REMOVE) e2:SetCategory(CATEGORY_SEARCH+CATEGORY_TOGRAVE+CATEGORY_REMOVE)
e2:SetType(EFFECT_TYPE_IGNITION) e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetProperty(EFFECT_FLAG_CARD_TARGET) e2:SetProperty(EFFECT_FLAG_CARD_TARGET)
e2:SetCountLimit(1) e2:SetCountLimit(1)
...@@ -25,8 +25,7 @@ function cm.initial_effect(c) ...@@ -25,8 +25,7 @@ function cm.initial_effect(c)
if not e:GetHandler():IsRelateToEffect(e) then return end if not e:GetHandler():IsRelateToEffect(e) then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.SelectMatchingCard(tp,cm.tf22,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,cm.tf22,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 and Duel.SendtoHand(g,nil,REASON_EFFECT)~=0 then if g:GetCount()>0 and Duel.SendtoGrave(g,REASON_EFFECT)~=0 then
Duel.ConfirmCards(1-tp,g)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and tc:IsOnField() and Duel.SelectYesNo(tp,aux.Stringid(m,0)) then if tc:IsRelateToEffect(e) and tc:IsOnField() and Duel.SelectYesNo(tp,aux.Stringid(m,0)) then
Duel.BreakEffect() Duel.BreakEffect()
......
...@@ -108,11 +108,8 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -108,11 +108,8 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function cm.checkop(e,tp,eg,ep,ev,re,r,rp) function cm.checkop(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst() local tc=re:GetHandler()
while tc do
if tc:IsLevelAbove(1) and tc:IsSetCard(0x9440) then if tc:IsLevelAbove(1) and tc:IsSetCard(0x9440) then
cm[ep]=bit.bor(cm[ep],0x1<<tc:GetLevel()) cm[ep]=bit.bor(cm[ep],0x1<<tc:GetLevel())
end end
tc=eg:GetNext()
end
end end
...@@ -93,11 +93,8 @@ function cm.rmop(e,tp,eg,ep,ev,re,r,rp) ...@@ -93,11 +93,8 @@ function cm.rmop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function cm.checkop(e,tp,eg,ep,ev,re,r,rp) function cm.checkop(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst() local tc=re:GetHandler()
while tc do
if tc:IsLevelAbove(1) and tc:IsSetCard(0x9440) then if tc:IsLevelAbove(1) and tc:IsSetCard(0x9440) then
cm[ep]=bit.bor(cm[ep],0x1<<tc:GetLevel()) cm[ep]=bit.bor(cm[ep],0x1<<tc:GetLevel())
end end
tc=eg:GetNext()
end
end end
...@@ -3,13 +3,13 @@ function c33701511.initial_effect(c) ...@@ -3,13 +3,13 @@ function c33701511.initial_effect(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_DISABLE) e1:SetCode(EFFECT_DISABLE)
e1:SetCondition(c33701511.discon) e1:SetCondition(cm.discon)
c:RegisterEffect(e1) c:RegisterEffect(e1)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE) e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_DISABLE_EFFECT) e2:SetCode(EFFECT_DISABLE_EFFECT)
e2:SetValue(1) e2:SetValue(1)
e2:SetCondition(c33701511.discon) e2:SetCondition(cm.discon)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--spsummon --spsummon
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
...@@ -17,44 +17,44 @@ function c33701511.initial_effect(c) ...@@ -17,44 +17,44 @@ function c33701511.initial_effect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN)
e1:SetType(EFFECT_TYPE_IGNITION) e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetCost(c33701511.spcost) e1:SetCost(cm.spcost)
e1:SetTarget(c33701511.sptg) e1:SetTarget(cm.sptg)
e1:SetOperation(c33701511.spop) e1:SetOperation(cm.spop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(m,1)) e2:SetDescription(aux.Stringid(m,1))
e2:SetType(EFFECT_TYPE_IGNITION) e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetCountLimit(1) e2:SetCountLimit(1)
e2:SetCondition(c33701511.condition) e2:SetCondition(cm.condition)
e2:SetOperation(c33701511.operation) e2:SetOperation(cm.operation)
c:RegisterEffect(e2) c:RegisterEffect(e2)
if not c33701511.global_check then if not cm.global_check then
c33701511.global_check=true cm.global_check=true
c33701511[0]=0 cm[0]=0
c33701511[1]=0 cm[1]=0
local ge1=Effect.CreateEffect(c) local ge1=Effect.CreateEffect(c)
ge1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) ge1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
ge1:SetCode(EVENT_CHAIN_SOLVED) ge1:SetCode(EVENT_CHAIN_SOLVED)
ge1:SetOperation(c33701511.checkop) ge1:SetOperation(cm.checkop)
Duel.RegisterEffect(ge1,0) Duel.RegisterEffect(ge1,0)
end end
end end
function c33701511.discon(e) function cm.discon(e)
return bit.band(c33701511[e:GetControler()],0x1<<(e:GetHandler():GetLevel()-1))>0 return bit.band(cm[e:GetControler()],0x1<<(e:GetHandler():GetLevel()-1))>0
end end
function c33701511.spcost(e,tp,eg,ep,ev,re,r,rp,chk) function cm.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsReleasable() end if chk==0 then return e:GetHandler():IsReleasable() end
Duel.Release(e:GetHandler(),REASON_COST) Duel.Release(e:GetHandler(),REASON_COST)
end end
function c33701511.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsPlayerCanSpecialSummonMonster(tp,33701517,0,0x4011,1500,1500,4,RACE_FAIRY,ATTRIBUTE_LIGHT) end and Duel.IsPlayerCanSpecialSummonMonster(tp,33701517,0,0x4011,1500,1500,4,RACE_FAIRY,ATTRIBUTE_LIGHT) end
Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,1,0,0) Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,1,0,0)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,0,0)
end end
function c33701511.spop(e,tp,eg,ep,ev,re,r,rp) function cm.spop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0
or not Duel.IsPlayerCanSpecialSummonMonster(tp,33701517,0,0x4011,1500,1500,4,RACE_FAIRY,ATTRIBUTE_LIGHT) then return end or not Duel.IsPlayerCanSpecialSummonMonster(tp,33701517,0,0x4011,1500,1500,4,RACE_FAIRY,ATTRIBUTE_LIGHT) then return end
local token=Duel.CreateToken(tp,33701517) local token=Duel.CreateToken(tp,33701517)
...@@ -65,22 +65,22 @@ function c33701511.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -65,22 +65,22 @@ function c33701511.spop(e,tp,eg,ep,ev,re,r,rp)
e1:SetType(EFFECT_TYPE_IGNITION) e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetProperty(EFFECT_FLAG_CLIENT_HINT) e1:SetProperty(EFFECT_FLAG_CLIENT_HINT)
e1:SetCondition(c33701511.atcon) e1:SetCondition(cm.atcon)
e1:SetCost(c33701511.spcost) e1:SetCost(cm.spcost)
e1:SetTarget(c33701511.attg) e1:SetTarget(cm.attg)
e1:SetOperation(c33701511.atop) e1:SetOperation(cm.atop)
token:RegisterEffect(e1,true) token:RegisterEffect(e1,true)
end end
function c33701511.indfilter(c) function cm.indfilter(c)
return c:IsCode(33701507) and c:IsFaceup() return c:IsCode(33701507) and c:IsFaceup()
end end
function c33701511.atcon(e,tp,eg,ep,ev,re,r,rp) function cm.atcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(c33701511.indfilter,tp,LOCATION_ONFIELD,0,1,nil) return Duel.IsExistingMatchingCard(cm.indfilter,tp,LOCATION_ONFIELD,0,1,nil)
end end
function c33701511.attg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.attg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsFaceup,tp,LOCATION_MZONE,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(Card.IsFaceup,tp,LOCATION_MZONE,0,1,nil) end
end end
function c33701511.atop(e,tp,eg,ep,ev,re,r,rp) function cm.atop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(Card.IsFaceup,tp,LOCATION_MZONE,0,nil) local g=Duel.GetMatchingGroup(Card.IsFaceup,tp,LOCATION_MZONE,0,nil)
if g:GetCount()==0 then return end if g:GetCount()==0 then return end
local sc=g:GetFirst() local sc=g:GetFirst()
...@@ -97,19 +97,19 @@ function c33701511.atop(e,tp,eg,ep,ev,re,r,rp) ...@@ -97,19 +97,19 @@ function c33701511.atop(e,tp,eg,ep,ev,re,r,rp)
sc=g:GetNext() sc=g:GetNext()
end end
end end
function c33701511.filter(c) function cm.filter(c)
return c:IsSetCard(0x9440) and c:IsAbleToHand() return c:IsSetCard(0x9440) and c:IsAbleToHand()
end end
function c33701511.condition(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function cm.condition(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
return Duel.IsExistingMatchingCard(c33701511.indfilter,tp,LOCATION_ONFIELD,0,1,nil) return Duel.IsExistingMatchingCard(cm.indfilter,tp,LOCATION_ONFIELD,0,1,nil)
end end
function c33701511.operation(e,tp,eg,ep,ev,re,r,rp) function cm.operation(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_CANNOT_ACTIVATE) e1:SetCode(EFFECT_CANNOT_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetTargetRange(0,1) e1:SetTargetRange(0,1)
e1:SetValue(c33701511.aclimit) e1:SetValue(cm.aclimit)
e1:SetReset(RESET_PHASE+PHASE_STANDBY+RESET_SELF_TURN,1) e1:SetReset(RESET_PHASE+PHASE_STANDBY+RESET_SELF_TURN,1)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
local e2=Effect.CreateEffect(e:GetHandler()) local e2=Effect.CreateEffect(e:GetHandler())
...@@ -120,15 +120,12 @@ function c33701511.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -120,15 +120,12 @@ function c33701511.operation(e,tp,eg,ep,ev,re,r,rp)
e2:SetTargetRange(0,1) e2:SetTargetRange(0,1)
Duel.RegisterEffect(e2,tp) Duel.RegisterEffect(e2,tp)
end end
function c33701511.aclimit(e,re,tp) function cm.aclimit(e,re,tp)
return re:GetHandler():IsOnField() or re:IsHasType(EFFECT_TYPE_ACTIVATE) return re:GetHandler():IsOnField() or re:IsHasType(EFFECT_TYPE_ACTIVATE)
end end
function c33701511.checkop(e,tp,eg,ep,ev,re,r,rp) function cm.checkop(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst() local tc=re:GetHandler()
while tc do
if tc:IsLevelAbove(1) and tc:IsSetCard(0x9440) then if tc:IsLevelAbove(1) and tc:IsSetCard(0x9440) then
c33701511[ep]=bit.bor(c33701511[ep],0x1<<tc:GetLevel()) cm[ep]=bit.bor(cm[ep],0x1<<tc:GetLevel())
end
tc=eg:GetNext()
end end
end end
...@@ -105,11 +105,8 @@ function cm.atlimit(e,c) ...@@ -105,11 +105,8 @@ function cm.atlimit(e,c)
return not c:IsCode(33701507) return not c:IsCode(33701507)
end end
function cm.checkop(e,tp,eg,ep,ev,re,r,rp) function cm.checkop(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst() local tc=re:GetHandler()
while tc do
if tc:IsLevelAbove(1) and tc:IsSetCard(0x9440) then if tc:IsLevelAbove(1) and tc:IsSetCard(0x9440) then
cm[ep]=bit.bor(cm[ep],0x1<<tc:GetLevel()) cm[ep]=bit.bor(cm[ep],0x1<<tc:GetLevel())
end end
tc=eg:GetNext()
end
end end
...@@ -113,11 +113,8 @@ function cm.recop(e,tp,eg,ep,ev,re,r,rp) ...@@ -113,11 +113,8 @@ function cm.recop(e,tp,eg,ep,ev,re,r,rp)
Duel.Recover(p,d,REASON_EFFECT) Duel.Recover(p,d,REASON_EFFECT)
end end
function cm.checkop(e,tp,eg,ep,ev,re,r,rp) function cm.checkop(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst() local tc=re:GetHandler()
while tc do
if tc:IsLevelAbove(1) and tc:IsSetCard(0x9440) then if tc:IsLevelAbove(1) and tc:IsSetCard(0x9440) then
cm[ep]=bit.bor(cm[ep],0x1<<tc:GetLevel()) cm[ep]=bit.bor(cm[ep],0x1<<tc:GetLevel())
end end
tc=eg:GetNext()
end
end end
...@@ -124,11 +124,8 @@ function cm.atlimit(e,c) ...@@ -124,11 +124,8 @@ function cm.atlimit(e,c)
return not c:IsCode(33701507) return not c:IsCode(33701507)
end end
function cm.checkop(e,tp,eg,ep,ev,re,r,rp) function cm.checkop(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst() local tc=re:GetHandler()
while tc do
if tc:IsLevelAbove(1) and tc:IsSetCard(0x9440) then if tc:IsLevelAbove(1) and tc:IsSetCard(0x9440) then
cm[ep]=bit.bor(cm[ep],0x1<<tc:GetLevel()) cm[ep]=bit.bor(cm[ep],0x1<<tc:GetLevel())
end end
tc=eg:GetNext()
end
end end
--巡星 北极星
local m=33701515
local cm=_G["c"..m]
function cm.initial_effect(c)
c:EnableReviveLimit()
--special summon condition
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
c:RegisterEffect(e1)
--special summon
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e2:SetCode(EFFECT_SPSUMMON_PROC)
e2:SetRange(LOCATION_HAND)
e2:SetCondition(cm.spcon)
e2:SetTarget(cm.sptg)
e2:SetOperation(cm.spop)
c:RegisterEffect(e2)
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e3:SetProperty(EFFECT_FLAG_DELAY)
e3:SetCode(EVENT_SPSUMMON_SUCCESS)
e3:SetCondition(cm.wincon)
e3:SetOperation(cm.winop)
c:RegisterEffect(e3)
if not cm.global_check then
cm.global_check=true
cm[0]=Group.CreateGroup()
cm[1]=Group.CreateGroup()
local ge1=Effect.CreateEffect(c)
ge1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
ge1:SetCode(EVENT_CHAIN_SOLVED)
ge1:SetOperation(cm.checkop)
Duel.RegisterEffect(ge1,0)
end
end
function cm.spcfilter(c,tp)
return c:IsCode(33701507) and c:IsCanRemoveCounter(tp,0x9440,1,REASON_COST)
end
function cm.spcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
local g=Duel.GetMatchingGroup(cm.spcfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp)
local ct=0
for tc in aux.Next(g) do
ct=ct+tc:GetCounter(0x9440)
end
return ct>=5 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
end
function cm.spop(e,tp,eg,ep,ev,re,r,rp,c)
local g=Duel.GetMatchingGroup(cm.spcfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp)
if #g==1 then
g:GetFirst():RemoveCounter(tp,0x9440,5,REASON_COST)
else
for i=1,5 do
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(m,2))
local tg=Duel.SelectMatchingCard(tp,cm.spcfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil,tp)
tg:GetFirst():RemoveCounter(tp,0x9440,1,REASON_COST)
end
end
end
function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
return cm[ep]:Group.GetClassCount(Card.GetLevel())>=7
end
function cm.winop(e,tp,eg,ep,ev,re,r,rp)
local WIN_REASON_CREATORGOD=0x13
local p=e:GetHandler():GetSummonPlayer()
Duel.Win(p,WIN_REASON_CREATORGOD)
end
function cm.checkop(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst()
while tc do
if tc:IsLevelAbove(1) and tc:IsSetCard(0x9440) and not cm[ep]:IsContains(tc) then
cm[ep]:AddCard(tc)
end
tc=eg:GetNext()
end
end
...@@ -89,11 +89,8 @@ function cm.efilter(e,re) ...@@ -89,11 +89,8 @@ function cm.efilter(e,re)
return e:GetOwnerPlayer()~=re:GetOwnerPlayer() return e:GetOwnerPlayer()~=re:GetOwnerPlayer()
end end
function cm.checkop(e,tp,eg,ep,ev,re,r,rp) function cm.checkop(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst() local tc=re:GetHandler()
while tc do
if tc:IsLevelAbove(1) and tc:IsSetCard(0x9440) and not cm[ep]:IsContains(tc) then if tc:IsLevelAbove(1) and tc:IsSetCard(0x9440) and not cm[ep]:IsContains(tc) then
cm[ep]:AddCard(tc) cm[ep]:AddCard(tc)
end end
tc=eg:GetNext()
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