Commit 56e2f3bf authored by sidschingis's avatar sidschingis

fix

c79606837 should only remove monster cards
parent 4d3b677a
......@@ -9,6 +9,7 @@ function c79606837.initial_effect(c)
e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
e1:SetCode(EFFECT_TO_GRAVE_REDIRECT)
e1:SetRange(LOCATION_MZONE)
e1:SetTarget(c79606837.rmtarget)
e1:SetTargetRange(LOCATION_HAND+LOCATION_DECK,LOCATION_HAND+LOCATION_DECK)
e1:SetValue(LOCATION_REMOVED)
c:RegisterEffect(e1)
......@@ -36,6 +37,9 @@ function c79606837.initial_effect(c)
e3:SetOperation(c79606837.thop)
c:RegisterEffect(e3)
end
function c79606837.rmtarget(e,c)
return c:IsType(TYPE_MONSTER)
end
function c79606837.discon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if ep==tp or c:IsStatus(STATUS_BATTLE_DESTROYED) then return false 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