Commit a32a3ca2 authored by Chen Bill's avatar Chen Bill

fix サクリファイス, サウザンド・アイズ・サクリファイス

https://www.db.yugioh-card.com/yugiohdb/faq_search.action?ope=5&fid=21552&keyword=&tag=-1&request_locale=ja
parent b9ec5d71
...@@ -68,6 +68,10 @@ function c63519819.eqlimit(e,c) ...@@ -68,6 +68,10 @@ function c63519819.eqlimit(e,c)
return e:GetOwner()==c return e:GetOwner()==c
end end
function c63519819.equip_monster(c,tp,tc) function c63519819.equip_monster(c,tp,tc)
if c:IsLocation(LOCATION_MZONE) and c:IsFaceup() and not c63519819.can_equip_monster(c) then
Duel.SendtoGrave(tc,REASON_RULE)
return
end
if not Duel.Equip(tp,tc,c,false) then return end if not Duel.Equip(tp,tc,c,false) then return end
--Add Equip limit --Add Equip limit
tc:RegisterFlagEffect(63519819,RESET_EVENT+RESETS_STANDARD,0,0) tc:RegisterFlagEffect(63519819,RESET_EVENT+RESETS_STANDARD,0,0)
......
...@@ -61,6 +61,10 @@ function c64631466.eqlimit(e,c) ...@@ -61,6 +61,10 @@ function c64631466.eqlimit(e,c)
return e:GetOwner()==c return e:GetOwner()==c
end end
function c64631466.equip_monster(c,tp,tc) function c64631466.equip_monster(c,tp,tc)
if c:IsLocation(LOCATION_MZONE) and c:IsFaceup() and not c64631466.can_equip_monster(c) then
Duel.SendtoGrave(tc,REASON_RULE)
return
end
if not Duel.Equip(tp,tc,c,false) then return end if not Duel.Equip(tp,tc,c,false) then return end
--Add Equip limit --Add Equip limit
tc:RegisterFlagEffect(64631466,RESET_EVENT+RESETS_STANDARD,0,0) tc:RegisterFlagEffect(64631466,RESET_EVENT+RESETS_STANDARD,0,0)
......
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