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

fix 聖剣

parent 5d3f14a6
--聖剣ガラティーン
--Fixed by Lee
function c14745409.initial_effect(c)
c:SetUniqueOnField(1,0,14745409)
--Activate
......@@ -107,7 +106,8 @@ end
function c14745409.operation2(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
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)
end
end
\ No newline at end of file
end
--聖剣カリバーン
--Fixed by Lee
function c23562407.initial_effect(c)
c:SetUniqueOnField(1,0,23562407)
--Activate
......@@ -96,7 +95,8 @@ end
function c23562407.operation2(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
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)
end
end
\ No newline at end of file
end
--聖剣クラレント
--Fixed by Lee
function c41359411.initial_effect(c)
c:SetUniqueOnField(1,0,41359411)
--Activate
......@@ -95,7 +94,8 @@ end
function c41359411.operation2(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
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)
end
end
\ No newline at end of file
end
--天命の聖剣
--Fixed by Lee
function c7452945.initial_effect(c)
c:SetUniqueOnField(1,0,7452945)
--Activate
......@@ -80,7 +79,8 @@ end
function c7452945.operation2(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
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)
end
end
\ No newline at end of file
end
--聖剣アロンダイト
--Fixed by Lee
function c83438826.initial_effect(c)
c:SetUniqueOnField(1,0,83438826)
--Activate
......@@ -108,16 +107,8 @@ end
function c83438826.operation2(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
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)
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
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