Commit 69962373 authored by Tachibana's avatar Tachibana

eme

parent fd239696
......@@ -48,6 +48,7 @@ function c9310029.initial_effect(c)
e5:SetCategory(CATEGORY_EQUIP)
e5:SetType(EFFECT_TYPE_QUICK_O)
e5:SetCode(EVENT_FREE_CHAIN)
e5:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e5:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_NO_TURN_RESET)
e5:SetRange(LOCATION_PZONE)
e5:SetCountLimit(1)
......@@ -120,6 +121,7 @@ end
function c9310029.eqop2(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tc=Duel.GetFirstTarget()
if not c:IsRelateToEffect(e) or not c:IsLocation(LOCATION_PZONE) or c:IsFacedown() then return end
if tc:GetControler()~=tp or tc:IsFacedown() or not tc:IsRelateToEffect(e) then
Duel.SendtoGrave(c,REASON_EFFECT)
return
......
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