Commit 2abff4a3 authored by Tachibana's avatar Tachibana

ndyd

parent 2ec2b20f
No preview for this file type
--Inverse World
local m=81004008
local cm=_G["c"..m]
function cm.initial_effect(c)
e1=aux.AddRitualProcGreater(c,cm.ritual_filter)
e1:SetCountLimit(1,m+EFFECT_COUNT_CODE_OATH)
--act in hand
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_TRAP_ACT_IN_HAND)
e2:SetCondition(cm.handcon)
c:RegisterEffect(e2)
end
function cm.ritual_filter(c)
return c:IsType(TYPE_RITUAL) and c:IsType(TYPE_PENDULUM)
end
function cm.handcon(e)
return Duel.GetFieldGroupCount(e:GetHandlerPlayer(),LOCATION_ONFIELD,0)==0
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