Commit 905697ed authored by Nemo Ma's avatar Nemo Ma

fix

parent 06a8a0f8
...@@ -141,18 +141,7 @@ function c1008002.voidop(e,tp,eg,ep,ev,re,r,rp) ...@@ -141,18 +141,7 @@ function c1008002.voidop(e,tp,eg,ep,ev,re,r,rp)
local eqc=Duel.GetFirstTarget() local eqc=Duel.GetFirstTarget()
if eqc:IsRelateToEffect(e) then if eqc:IsRelateToEffect(e) then
c:RegisterFlagEffect(10080011,RESET_EVENT+0x1fe0000,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(1008001,4)) c:RegisterFlagEffect(10080011,RESET_EVENT+0x1fe0000,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(1008001,4))
--back void local code = 1008004
-- local e7=Effect.CreateEffect(c)
-- e7:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE)
-- e7:SetCode(10080011)
-- e7:SetRange(LOCATION_MZONE)
-- e7:SetTarget(c1008002.backtg)
-- e7:SetOperation(c1008002.backop)
-- e7:SetLabelObject(e1)
-- c:RegisterEffect(e7)
local os=require "os"
math.randomseed( tonumber(tostring(os.time()):reverse():sub(1,6)) )
local code = math.random(1008004,1008006)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SELF) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SELF)
local g=Group.FromCards(Duel.CreateToken(tp,code)) local g=Group.FromCards(Duel.CreateToken(tp,code))
local tc=g:GetFirst() local tc=g:GetFirst()
......
...@@ -47,9 +47,7 @@ function c1008027.tkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -47,9 +47,7 @@ function c1008027.tkop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
if Duel.IsPlayerCanSpecialSummonMonster(tp,1008030,0,0x4011,1800,1800,4,RACE_MACHINE,ATTRIBUTE_EARTH) then if Duel.IsPlayerCanSpecialSummonMonster(tp,1008030,0,0x4011,1800,1800,4,RACE_MACHINE,ATTRIBUTE_EARTH) then
local os=require "os" local code = 1008030
math.randomseed( tonumber(tostring(os.time()):reverse():sub(1,6)) )
local code = math.random(1008030,1008031)
local token=Duel.CreateToken(tp,code) local token=Duel.CreateToken(tp,code)
Duel.SpecialSummon(token,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(token,0,tp,tp,false,false,POS_FACEUP)
--special summon --special summon
......
...@@ -218,9 +218,7 @@ function c1008032.voidop(e,tp,eg,ep,ev,re,r,rp) ...@@ -218,9 +218,7 @@ function c1008032.voidop(e,tp,eg,ep,ev,re,r,rp)
local eqc=Duel.GetFirstTarget() local eqc=Duel.GetFirstTarget()
if eqc:IsRelateToEffect(e) then if eqc:IsRelateToEffect(e) then
c:RegisterFlagEffect(10080011,RESET_EVENT+0x1fe0000,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(1008001,4)) c:RegisterFlagEffect(10080011,RESET_EVENT+0x1fe0000,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(1008001,4))
local os=require "os" local code = 1008034
math.randomseed( tonumber(tostring(os.time()):reverse():sub(1,6)) )
local code = math.random(1008034,1008034)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SELF) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SELF)
local g=Group.FromCards(Duel.CreateToken(tp,code)) local g=Group.FromCards(Duel.CreateToken(tp,code))
local tc=g:GetFirst() local tc=g:GetFirst()
......
...@@ -52,13 +52,11 @@ function c114722253.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -52,13 +52,11 @@ function c114722253.activate(e,tp,eg,ep,ev,re,r,rp)
if tc:IsType(TYPE_TRAP) then e1:SetCode(EFFECT_TRAP_ACT_IN_SET_TURN) end if tc:IsType(TYPE_TRAP) then e1:SetCode(EFFECT_TRAP_ACT_IN_SET_TURN) end
e1:SetReset(RESET_EVENT+RESETS_STANDARD) e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1) tc:RegisterEffect(e1)
tc=hg:GetNext()
end end
end end
end end
function c114722253.imtarget(e,tg) function c114722253.imtarget(e,tg)
local c=e:GetHandler() return tg:IsType(TYPE_SPELL+TYPE_TRAP) and e:GetHandler()~=tg
return c:IsType(TYPE_SPELL+TYPE_TRAP) and c~=tg
end end
function c114722253.cfilter(c) function c114722253.cfilter(c)
return c:IsFaceup() and c:IsCode(46986414) return c:IsFaceup() and c:IsCode(46986414)
......
function c118817732.initial_effect(c) function c118817732.initial_effect(c)
c:EnableReviveLimit() c:EnableReviveLimit()
aux.AddXyzProcedure(c,nil,8,2)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(118817732,0)) e1:SetDescription(aux.Stringid(118817732,0))
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
......
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