Commit f42bfadd authored by wyykak's avatar wyykak

Merge branch 'patch-1' into 'master'

Update c10511.lua

See merge request hiiragiguardians/ygopro-thc-cards!4
parents de9de9fc 80e74571
......@@ -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