Commit 3037a897 authored by wind2009's avatar wind2009

Fix 超電導戦士 リニア・マグナム±

parent 40d0b9c2
Pipeline #34916 passed with stages
in 1 minute and 42 seconds
No preview for this file type
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
101301020 101301020
101301024 101301024
101301025 101301025
101301026
101301027 101301027
101301032 101301032
101301033 101301033
...@@ -45,6 +46,7 @@ ...@@ -45,6 +46,7 @@
101301064 101301064
101301068 101301068
101301069 101301069
101301070
101301073 101301073
101301074 101301074
101301075 101301075
......
#created by ygomobile
100240201
100240202
100240203
100240204
--超電導戦士 リニア・マグナム± --超電導戦士 リニア・マグナム±
local s,id,o=GetID() local s,id,o=GetID()
function s.initial_effect(c) function s.initial_effect(c)
c:EnableReviveLimit()
--special summon --special summon
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
...@@ -72,8 +73,8 @@ end ...@@ -72,8 +73,8 @@ end
function s.atkop(e,tp,eg,ep,ev,re,r,rp) function s.atkop(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:IsFaceup() and tc:IsRelateToEffect(e) if tc:IsFaceup() and tc:IsRelateToChain()
and c:IsRelateToEffect(e) and c:IsFaceup() then and c:IsFaceup() and c:IsRelateToChain() then
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE) e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
...@@ -92,7 +93,7 @@ function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -92,7 +93,7 @@ function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function s.thop(e,tp,eg,ep,ev,re,r,rp) function s.thop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) and aux.NecroValleyFilter()(c) then if c:IsRelateToChain() and aux.NecroValleyFilter()(c) then
Duel.SendtoHand(c,nil,REASON_EFFECT) Duel.SendtoHand(c,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,c) Duel.ConfirmCards(1-tp,c)
end end
......
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