Commit 9476ee54 authored by salix5's avatar salix5

10028593 輪廻天狗

card name fixed

67159705
eqlimit and filter now apply to all "Cyber Dragon"

Note.
cards. cdb
70095154 Cyber Dragon
Now the setcode is 0x1093(Cyber Dragon)
parent 1bf30cee
--݆h칷 --輪廻天狗
function c10028593.initial_effect(c) function c10028593.initial_effect(c)
--spsummon --spsummon
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
...@@ -55,10 +55,10 @@ function c67159705.repval(e,re,r,rp) ...@@ -55,10 +55,10 @@ function c67159705.repval(e,re,r,rp)
return bit.band(r,REASON_BATTLE)~=0 return bit.band(r,REASON_BATTLE)~=0
end end
function c67159705.eqlimit(e,c) function c67159705.eqlimit(e,c)
return c:IsSetCard(0x103) return c:IsCode(70095154) or c:IsSetCard(0x103)
end end
function c67159705.filter(c) function c67159705.filter(c)
return c:IsFaceup() and c:IsSetCard(0x103) and c:GetUnionCount()==0 return c:IsFaceup() and (c:IsCode(70095154) or c:IsSetCard(0x103))and c:GetUnionCount()==0
end end
function c67159705.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c67159705.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c67159705.filter(chkc) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c67159705.filter(chkc) 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