Commit 278414c7 authored by Chen Bill's avatar Chen Bill

update Auxiliary.EPDestroyOperation()

parent b22b398e
...@@ -1334,5 +1334,7 @@ end ...@@ -1334,5 +1334,7 @@ end
--The operation function of "destroy during End Phase" --The operation function of "destroy during End Phase"
function Auxiliary.EPDestroyOperation(e,tp,eg,ep,ev,re,r,rp) function Auxiliary.EPDestroyOperation(e,tp,eg,ep,ev,re,r,rp)
local tc=e:GetLabelObject() local tc=e:GetLabelObject()
if Auxiliary.GetValueType(tc)=="Card" or Auxiliary.GetValueType(tc)=="Group" then
Duel.Destroy(tc,REASON_EFFECT,LOCATION_GRAVE,tc:GetControler()) Duel.Destroy(tc,REASON_EFFECT,LOCATION_GRAVE,tc:GetControler())
end
end 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