Commit 3dd027af authored by Nemo Ma's avatar Nemo Ma

fix

parent c1f3f3a2
...@@ -49,7 +49,7 @@ function c65810115.chcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -49,7 +49,7 @@ function c65810115.chcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
end end
function c65810115.filter(c) function c65810115.filter(c)
return c:IsType(TYPE_MONSTER) and c:IsSetCard(0xa31) and c:IsFaceupEx() return c:IsType(TYPE_MONSTER) and c:IsSetCard(0xa31) and c:IsFaceupEx() and Duel.IsPlayerCanRelease(c:GetControler())
end end
function c65810115.chop(e,tp,eg,ep,ev,re,r,rp) function c65810115.chop(e,tp,eg,ep,ev,re,r,rp)
local g=Group.CreateGroup() local g=Group.CreateGroup()
......
...@@ -39,7 +39,7 @@ end ...@@ -39,7 +39,7 @@ end
function c65810120.disfilter(c) function c65810120.disfilter(c)
return c:IsSetCard(0xa31) and c:IsType(TYPE_MONSTER) and c:IsFaceupEx() return c:IsSetCard(0xa31) and c:IsType(TYPE_MONSTER) and c:IsFaceupEx() and Duel.IsPlayerCanRelease(c:GetControler())
end end
function c65810120.discon(e,tp,eg,ep,ev,re,r,rp) function c65810120.discon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -13,6 +13,8 @@ function Auxiliary.PreloadUds() ...@@ -13,6 +13,8 @@ function Auxiliary.PreloadUds()
EFFECT_FLAG_CANNOT_NEGATE=EFFECT_FLAG_CANNOT_NEGATE or 0x200 EFFECT_FLAG_CANNOT_NEGATE=EFFECT_FLAG_CANNOT_NEGATE or 0x200
EFFECT_FLAG_CAN_FORBIDDEN=EFFECT_FLAG_CAN_FORBIDDEN or 0x200 EFFECT_FLAG_CAN_FORBIDDEN=EFFECT_FLAG_CAN_FORBIDDEN or 0x200
EFFECT_FLAG_COPY_INHERIT=EFFECT_FLAG_COPY_INHERIT or 0x2000
EFFECT_FLAG_COPY=EFFECT_FLAG_COPY or 0x2000
table_range=table_range or {} table_range=table_range or {}
effect_handler=effect_handler or {} effect_handler=effect_handler or {}
......
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