Commit 0658af02 authored by Chen Bill's avatar Chen Bill

fix 聖剣

parent 5d3f14a6
--聖剣ガラティーン --聖剣ガラティーン
--Fixed by Lee
function c14745409.initial_effect(c) function c14745409.initial_effect(c)
c:SetUniqueOnField(1,0,14745409) c:SetUniqueOnField(1,0,14745409)
--Activate --Activate
...@@ -107,7 +106,8 @@ end ...@@ -107,7 +106,8 @@ end
function c14745409.operation2(e,tp,eg,ep,ev,re,r,rp) function c14745409.operation2(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc and c:IsRelateToEffect(e) and tc:IsRelateToEffect(e) and tc:IsSetCard(0x107a) and tc:IsRace(RACE_WARRIOR) and tc:IsFaceup() and c:CheckUniqueOnField(tp) then if tc and c:IsRelateToEffect(e) and tc:IsRelateToEffect(e) and tc:IsFaceup()
and tc:IsControler(tp) and tc:IsSetCard(0x107a) and c14745409.eqlimit(nil,c) and c:CheckUniqueOnField(tp) then
Duel.Equip(tp,c,tc) Duel.Equip(tp,c,tc)
end end
end end
\ No newline at end of file
--聖剣カリバーン --聖剣カリバーン
--Fixed by Lee
function c23562407.initial_effect(c) function c23562407.initial_effect(c)
c:SetUniqueOnField(1,0,23562407) c:SetUniqueOnField(1,0,23562407)
--Activate --Activate
...@@ -96,7 +95,8 @@ end ...@@ -96,7 +95,8 @@ end
function c23562407.operation2(e,tp,eg,ep,ev,re,r,rp) function c23562407.operation2(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc and c:IsRelateToEffect(e) and tc:IsRelateToEffect(e) and tc:IsSetCard(0x107a) and tc:IsRace(RACE_WARRIOR) and tc:IsFaceup() and c:CheckUniqueOnField(tp) then if tc and c:IsRelateToEffect(e) and tc:IsRelateToEffect(e) and tc:IsFaceup()
and tc:IsControler(tp) and tc:IsSetCard(0x107a) and c23562407.eqlimit(nil,c) and c:CheckUniqueOnField(tp) then
Duel.Equip(tp,c,tc) Duel.Equip(tp,c,tc)
end end
end end
\ No newline at end of file
--聖剣クラレント --聖剣クラレント
--Fixed by Lee
function c41359411.initial_effect(c) function c41359411.initial_effect(c)
c:SetUniqueOnField(1,0,41359411) c:SetUniqueOnField(1,0,41359411)
--Activate --Activate
...@@ -95,7 +94,8 @@ end ...@@ -95,7 +94,8 @@ end
function c41359411.operation2(e,tp,eg,ep,ev,re,r,rp) function c41359411.operation2(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc and c:IsRelateToEffect(e) and tc:IsRelateToEffect(e) and tc:IsSetCard(0x107a) and tc:IsRace(RACE_WARRIOR) and tc:IsFaceup() and c:CheckUniqueOnField(tp) then if tc and c:IsRelateToEffect(e) and tc:IsRelateToEffect(e) and tc:IsFaceup()
and tc:IsControler(tp) and tc:IsSetCard(0x107a) and c41359411.eqlimit(nil,c) and c:CheckUniqueOnField(tp) then
Duel.Equip(tp,c,tc) Duel.Equip(tp,c,tc)
end end
end end
\ No newline at end of file
--天命の聖剣 --天命の聖剣
--Fixed by Lee
function c7452945.initial_effect(c) function c7452945.initial_effect(c)
c:SetUniqueOnField(1,0,7452945) c:SetUniqueOnField(1,0,7452945)
--Activate --Activate
...@@ -80,7 +79,8 @@ end ...@@ -80,7 +79,8 @@ end
function c7452945.operation2(e,tp,eg,ep,ev,re,r,rp) function c7452945.operation2(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc and c:IsRelateToEffect(e) and tc:IsRelateToEffect(e) and tc:IsSetCard(0x107a) and tc:IsRace(RACE_WARRIOR) and tc:IsFaceup() and c:CheckUniqueOnField(tp) then if tc and c:IsRelateToEffect(e) and tc:IsRelateToEffect(e) and tc:IsFaceup()
and tc:IsControler(tp) and tc:IsSetCard(0x107a) and c7452945.eqlimit(nil,c) and c:CheckUniqueOnField(tp) then
Duel.Equip(tp,c,tc) Duel.Equip(tp,c,tc)
end end
end end
\ No newline at end of file
--聖剣アロンダイト --聖剣アロンダイト
--Fixed by Lee
function c83438826.initial_effect(c) function c83438826.initial_effect(c)
c:SetUniqueOnField(1,0,83438826) c:SetUniqueOnField(1,0,83438826)
--Activate --Activate
...@@ -108,16 +107,8 @@ end ...@@ -108,16 +107,8 @@ end
function c83438826.operation2(e,tp,eg,ep,ev,re,r,rp) function c83438826.operation2(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc and c:IsRelateToEffect(e) and tc:IsRelateToEffect(e) and tc:IsFaceup() and c:CheckUniqueOnField(tp) then if tc and c:IsRelateToEffect(e) and tc:IsRelateToEffect(e) and tc:IsFaceup()
and tc:IsControler(tp) and c83438826.eqlimit(nil,c) and c:CheckUniqueOnField(tp) then
Duel.Equip(tp,c,tc) Duel.Equip(tp,c,tc)
local e1=Effect.CreateEffect(tc)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_EQUIP_LIMIT)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetValue(c83438826.eqlimit2)
c:RegisterEffect(e1)
end end
end end
function c83438826.eqlimit2(e,c)
return e:GetOwner()==c
end
\ No newline at end of file
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