Commit 80e74571 authored by GuGu's avatar GuGu

Update c10511.lua

parent fac3ca5a
......@@ -43,6 +43,7 @@ end
function c10511.disop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local spr=re:GetHandler()
if spr:IsRelateToEffect(re) then
spr:CancelToGrave()
if not Duel.Equip(tp,spr,c,false) then return end
--Add Equip limit
......@@ -64,6 +65,7 @@ function c10511.disop(e,tp,eg,ep,ev,re,r,rp)
e3:SetCode(EFFECT_DISABLE_EFFECT)
e3:SetReset(RESET_EVENT+0x1fe0000)
spr:RegisterEffect(e3)
end
end
function c10511.eqlimit(e,c)
return e:GetOwner()==c
......
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