Commit 4e17ded0 authored by Tachibana's avatar Tachibana

watele

parent fd3871ef
Pipeline #6668 passed with stages
in 33 minutes and 46 seconds
...@@ -66,6 +66,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -66,6 +66,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
e2:SetTarget(cm.eftg1) e2:SetTarget(cm.eftg1)
e2:SetOperation(cm.efop1) e2:SetOperation(cm.efop1)
e2:SetRange(RESET_EVENT+RESETS_STANDARD) e2:SetRange(RESET_EVENT+RESETS_STANDARD)
token:RegisterEffect(e2)
Duel.SpecialSummonComplete() Duel.SpecialSummonComplete()
end end
if opval[op]==2 then if opval[op]==2 then
...@@ -172,6 +173,6 @@ function cm.efop4(e,tp,eg,ep,ev,re,r,rp) ...@@ -172,6 +173,6 @@ function cm.efop4(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
end end
function cm.retop(e,tp,eg,ep,ev,re,r,rp) function cm.retop(e,tp,eg,ep,ev,re,r,rp)
local lp=Duel.GetLP(1-tp) local lp=Duel.GetLP(tp)
Duel.SetLP(1-tp,lp-2000) Duel.SetLP(1-tp,lp-2000)
end end
\ No newline at end of file
...@@ -86,7 +86,9 @@ function c85402430.xyzop(e,tp,chk) ...@@ -86,7 +86,9 @@ function c85402430.xyzop(e,tp,chk)
Duel.RegisterFlagEffect(tp,85402430,RESET_PHASE+PHASE_END,0,1) Duel.RegisterFlagEffect(tp,85402430,RESET_PHASE+PHASE_END,0,1)
end end
function c85402430.fl(c) function c85402430.fl(c)
return (c:IsSetCard(0x3e45) and c:IsType(TYPE_MONSTER) and c:IsCanBeXyzMaterial(nil) and not c:IsExtraDeckMonster()) or c:IsSetCard(0x6e45) return (c:IsSetCard(0x3e45) and c:IsType(TYPE_MONSTER) and c:IsCanBeXyzMaterial(nil)
-- and not c:IsExtraDeckMonster()
) or c:IsSetCard(0x6e45)
end end
function c85402430.sprcon(e,c) function c85402430.sprcon(e,c)
if c==nil then return true end if c==nil then return true end
...@@ -185,7 +187,7 @@ function c85402430.gl1(c) ...@@ -185,7 +187,7 @@ function c85402430.gl1(c)
return c:IsCode(85401890) and c:IsFaceup() and c:IsCanAddCounter(0xe46,1) return c:IsCode(85401890) and c:IsFaceup() and c:IsCanAddCounter(0xe46,1)
end end
function c85402430.gl2(c) function c85402430.gl2(c)
return c:IsFaceup() and c:IsCanAddCounter(0x1e41,1) and c:GetFlagEffect(85402400)==0 return c:IsFaceup() and c:IsCanAddCounter(0x1e41,1) and c:GetFlagEffect(85402430)==0
end end
function c85402430.gl3(c) function c85402430.gl3(c)
return aux.IsCodeListed(c,85402400) return aux.IsCodeListed(c,85402400)
......
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