Commit 4253ddfe authored by Tachibana's avatar Tachibana

得得得得得

parent 29650f60
Pipeline #13454 passed with stages
in 30 minutes and 29 seconds
......@@ -127,8 +127,9 @@ end
function cm.checkop2(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst()
while tc do
local tp=tc:GetPreviousControler()
if tc:GetPreviousPosition()&POS_FACEUP~=0 and tc:IsType(TYPE_MONSTER) then
if tc:IsSetCard(0x5341) and Duel.GetFlagEffect(tc:GetSummonPlayer(),m+1)==0 then
if tc:IsSetCard(0x5341) and Duel.GetFlagEffect(tp,m+1)==0 then
Duel.RegisterFlagEffect(tp,33400330,0,0,0)
local e3=Effect.CreateEffect(e:GetHandler())
e3:SetDescription(aux.Stringid(m,12))
......@@ -138,7 +139,7 @@ function cm.checkop2(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e3,tp)
-- Duel.Recover(tp,10,REASON_EFFECT)
end
if tc:IsSetCard(0x5342) and Duel.GetFlagEffect(tc:GetSummonPlayer(),m+2)==0 then
if tc:IsSetCard(0x5342) and Duel.GetFlagEffect(tp,m+2)==0 then
Duel.RegisterFlagEffect(tp,33400331,0,0,0)
local e3=Effect.CreateEffect(e:GetHandler())
e3:SetDescription(aux.Stringid(m,3))
......@@ -148,7 +149,7 @@ function cm.checkop2(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e3,tp)
-- Duel.Recover(tp,1,REASON_EFFECT)
end
if tc:IsSetCard(0x6342)and Duel.GetFlagEffect(tc:GetSummonPlayer(),m+3)==0 then
if tc:IsSetCard(0x6342)and Duel.GetFlagEffect(tp,m+3)==0 then
Duel.RegisterFlagEffect(tp,33400332,0,0,0)
local e3=Effect.CreateEffect(e:GetHandler())
e3:SetDescription(aux.Stringid(m,4))
......@@ -158,7 +159,7 @@ function cm.checkop2(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e3,tp)
-- Duel.Recover(tp,2,REASON_EFFECT)
end
if tc:IsSetCard(0x3341)and Duel.GetFlagEffect(tc:GetSummonPlayer(),m+4)==0 then
if tc:IsSetCard(0x3341)and Duel.GetFlagEffect(tp,m+4)==0 then
Duel.RegisterFlagEffect(tp,33400333,0,0,0)
local e3=Effect.CreateEffect(e:GetHandler())
e3:SetDescription(aux.Stringid(m,5))
......@@ -168,7 +169,7 @@ function cm.checkop2(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e3,tp)
-- Duel.Recover(tp,3,REASON_EFFECT)
end
if tc:IsSetCard(0x6341)and Duel.GetFlagEffect(tc:GetSummonPlayer(),m+5)==0 then
if tc:IsSetCard(0x6341)and Duel.GetFlagEffect(tp,m+5)==0 then
Duel.RegisterFlagEffect(tp,33400334,0,0,0)
local e3=Effect.CreateEffect(e:GetHandler())
e3:SetDescription(aux.Stringid(m,6))
......@@ -178,7 +179,7 @@ function cm.checkop2(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e3,tp)
-- Duel.Recover(tp,4,REASON_EFFECT)
end
if tc:IsSetCard(0x9341) and tc:GetOriginalAttribute()==ATTRIBUTE_FIRE and Duel.GetFlagEffect(tc:GetSummonPlayer(),m+6)==0 then
if tc:IsSetCard(0x9341) and tc:GetOriginalAttribute()==ATTRIBUTE_FIRE and Duel.GetFlagEffect(tp,m+6)==0 then
Duel.RegisterFlagEffect(tp,33400335,0,0,0)
local e3=Effect.CreateEffect(e:GetHandler())
e3:SetDescription(aux.Stringid(m,7))
......@@ -188,7 +189,7 @@ function cm.checkop2(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e3,tp)
-- Duel.Recover(tp,5,REASON_EFFECT)
end
if tc:IsSetCard(0x9342)and Duel.GetFlagEffect(tc:GetSummonPlayer(),m+7)==0 then
if tc:IsSetCard(0x9342)and Duel.GetFlagEffect(tp,m+7)==0 then
Duel.RegisterFlagEffect(tp,33400336,0,0,0)
local e3=Effect.CreateEffect(e:GetHandler())
e3:SetDescription(aux.Stringid(m,8))
......@@ -198,7 +199,7 @@ function cm.checkop2(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e3,tp)
-- Duel.Recover(tp,6,REASON_EFFECT)
end
if tc:IsSetCard(0x3342) and Duel.GetFlagEffect(tc:GetSummonPlayer(),m+8)==0 then
if tc:IsSetCard(0x3342) and Duel.GetFlagEffect(tp,m+8)==0 then
Duel.RegisterFlagEffect(tp,33400337,0,0,0)
local e3=Effect.CreateEffect(e:GetHandler())
e3:SetDescription(aux.Stringid(m,9))
......@@ -208,7 +209,7 @@ function cm.checkop2(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e3,tp)
-- Duel.Recover(tp,7,REASON_EFFECT)
end
if tc:IsSetCard(0xa341) and Duel.GetFlagEffect(tc:GetSummonPlayer(),m+9)==0 then
if tc:IsSetCard(0xa341) and Duel.GetFlagEffect(tp,m+9)==0 then
Duel.RegisterFlagEffect(tp,33400338,0,0,0)
local e3=Effect.CreateEffect(e:GetHandler())
e3:SetDescription(aux.Stringid(m,10))
......@@ -218,7 +219,7 @@ function cm.checkop2(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e3,tp)
-- Duel.Recover(tp,8,REASON_EFFECT)
end
if tc:IsSetCard(0xc341) and Duel.GetFlagEffect(tc:GetSummonPlayer(),m+10)==0 then
if tc:IsSetCard(0xc341) and Duel.GetFlagEffect(tp,m+10)==0 then
Duel.RegisterFlagEffect(tp,33400339,0,0,0)
local e3=Effect.CreateEffect(e:GetHandler())
e3:SetDescription(aux.Stringid(m,11))
......
--魔王剑-残酷
if not pcall(function() require("expansions/script/c16199990") end) then require("script/c16101100") end
local m=33400345
local cm=_G["c"..m]
function cm.initial_effect(c)
......@@ -139,7 +140,7 @@ function cm.tgop2(e,tp,eg,ep,ev,re,r,rp)
if cost then cost(te,tep,eg,ep,ev,re,r,rp,1) end
end
Duel.SendtoGrave(e:GetHandler(),REASON_EFFECT)
end
end
end
end
if key==1 then
......
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