Commit 175ca94a authored by POLYMER's avatar POLYMER

fix

parent ecb179cb
......@@ -53,7 +53,7 @@ function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SendtoGrave(g,REASON_COST)
end
function s.tdfilter1(c)
return c:IsSetCard(0x838) and not c:IsSummonableCard() and c:IsAbleToDeck() and (c:IsFaceup() or c:IsLocation(LOCATION_GRAVE))
return c:IsSetCard(0x838) and c:IsType(TYPE_MONSTER) and not c:IsSummonableCard() and c:IsAbleToDeck() and c:IsFaceupEx()
end
function s.tdfilter2(c)
return c:IsAbleToDeck()
......
......@@ -39,10 +39,10 @@ function s.initial_effect(c)
c:RegisterEffect(e3)
end
function s.splimit(e,se,sp,st)
Debug.Message(se:GetHandler():IsSetCard(0x838))
return se:GetHandler():IsSetCard(0x838) or se:GetHandler()==e:GetHandler()
end
function s.immval(e,te)
local c=e:GetHandler()
if te:IsActiveType(TYPE_MONSTER) and te:GetOwnerPlayer()==1-e:GetHandlerPlayer() then
if c:GetOriginalLevel()>0 and c:GetOriginalLevel()<sc:GetLevel() then return true end
if c:GetOriginalRank()>0 and c:GetOriginalRank()<sc:GetRank() then return true 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