Commit 4e4b23a6 authored by whenmo's avatar whenmo

fix CannotBeTarget

parent 8e749052
...@@ -2,5 +2,5 @@ ...@@ -2,5 +2,5 @@
local cm,m,o=GetID() local cm,m,o=GetID()
function cm.initial_effect(c) function cm.initial_effect(c)
vgf.VgCard(c) vgf.VgCard(c)
vgd.CannotBeTarget(c,m,vgf.RMonsterCondition) vgd.CannotBeTarget(c,m,LOCATION_RZONE)
end end
\ No newline at end of file
local cm,m,o=GetID() local cm,m,o=GetID()
function cm.initial_effect(c) function cm.initial_effect(c)
vgf.VgCard(c) vgf.VgCard(c)
vgd.CannotBeTarget(c,m,vgf.RMonsterCondition) vgd.CannotBeTarget(c,m,LOCATION_RZONE)
vgd.EffectTypeTriggerWhenHitting(c,m,LOCATION_MZONE,EFFECT_TYPE_SINGLE,cm.op,nil,vgf.RMonsterCondition) vgd.EffectTypeTriggerWhenHitting(c,m,LOCATION_MZONE,EFFECT_TYPE_SINGLE,cm.op,nil,vgf.RMonsterCondition)
end end
function cm.op(e,tp,eg,ep,ev,re,r,rp) function cm.op(e,tp,eg,ep,ev,re,r,rp)
......
local cm,m,o=GetID() local cm,m,o=GetID()
function cm.initial_effect(c) function cm.initial_effect(c)
vgf.VgCard(c) vgf.VgCard(c)
vgd.CannotBeTarget(c,m,vgf.RMonsterCondition) vgd.CannotBeTarget(c,m,LOCATION_RZONE)
end end
\ No newline at end of file
local cm,m,o=GetID() local cm,m,o=GetID()
function cm.initial_effect(c) function cm.initial_effect(c)
vgf.VgCard(c) vgf.VgCard(c)
vgd.CannotBeTarget(c,m,vgf.RMonsterCondition,nil,LOCATION_MZONE,cm.tg) vgd.CannotBeTarget(c,m,LOCATION_RZONE,EFFECT_TYPE_FIELD,nil,nil,cm.tg)
end end
function cm.tg(e,tc) function cm.tg(e,tc)
local c=e:GetHandler() local c=e:GetHandler()
......
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