Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
setcode of Cyber Dragon should be 0x1031093
  • Loading branch information
VanillaSalt committed Dec 14, 2013
1 parent 6acb216 commit b6b302f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion script/c1639384.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ end
function c1639384.operation(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then
if tc:IsFaceup() and tc:IsRelateToEffect(e) then
if not tc:IsDisabled() then
Duel.NegateRelatedChain(tc,RESET_TURN_SET)
local e1=Effect.CreateEffect(c)
Expand Down
4 changes: 2 additions & 2 deletions script/c67159705.lua
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ function c67159705.repval(e,re,r,rp)
return bit.band(r,REASON_BATTLE)~=0
end
function c67159705.eqlimit(e,c)
return c:IsCode(70095154) or c:IsSetCard(0x103)
return c:IsSetCard(0x103)
end
function c67159705.filter(c)
return c:IsFaceup() and (c:IsCode(70095154) or c:IsSetCard(0x103))and c:GetUnionCount()==0
return c:IsFaceup() and c:IsSetCard(0x103) and c:GetUnionCount()==0
end
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
Expand Down

0 comments on commit b6b302f

Please sign in to comment.