Commit aae3f4a2 authored by Tachibana's avatar Tachibana

得得得得得

parent 7d8cdcac
...@@ -143,7 +143,7 @@ function cm.spop(e,tp) ...@@ -143,7 +143,7 @@ function cm.spop(e,tp)
e1:SetReset(RESET_EVENT+0x7e0000) e1:SetReset(RESET_EVENT+0x7e0000)
c:RegisterEffect(e1) c:RegisterEffect(e1)
c:RegisterFlagEffect(16100000,RESET_EVENT+0x7e0000,0,0) c:RegisterFlagEffect(16100000,RESET_EVENT+0x7e0000,0,0)
c:ReplaceEffect(m+1,RESET_EVENT+0x7e0000) c:ReplaceEffect(side_code,RESET_EVENT+0x7e0000)
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
end end
end end
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
local m=16172015 local m=16172015
local cm=_G["c"..m] local cm=_G["c"..m]
function cm.initial_effect(c) function cm.initial_effect(c)
c:EnableCounterPermit(0x2cc,LOCATION_MZONE)
-- --
c:SetSPSummonOnce(m) c:SetSPSummonOnce(m)
--special summon --special summon
......
...@@ -250,7 +250,7 @@ function rk.backop(e,tp,eg,ep,ev,re,r,rp) ...@@ -250,7 +250,7 @@ function rk.backop(e,tp,eg,ep,ev,re,r,rp)
end end
local Reg=Card.RegisterEffect local Reg=Card.RegisterEffect
function Card.RegisterEffect(card,effect,flag) function Card.RegisterEffect(card,effect,flag)
if effect:IsHasProperty(EFFECT_FLAG_UNCOPYABLE) then if effect:IsHasProperty(EFFECT_FLAG_UNCOPYABLE) and c:GetFlagEffect(16199999)==0 then
local er=effect:Clone() local er=effect:Clone()
Reg(c,er,true) Reg(c,er,true)
Debug.Message(1) Debug.Message(1)
...@@ -265,6 +265,7 @@ function rk.backop(e,tp,eg,ep,ev,re,r,rp) ...@@ -265,6 +265,7 @@ function rk.backop(e,tp,eg,ep,ev,re,r,rp)
Duel.ShuffleHand(sp) Duel.ShuffleHand(sp)
end end
Card.RegisterEffect=Reg Card.RegisterEffect=Reg
c:RegisterFlagEffect(16199999,0,0,0)
end end
Duel.Readjust() Duel.Readjust()
end end
......
...@@ -43,7 +43,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -43,7 +43,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
or not Duel.IsPlayerCanSpecialSummonMonster(tp,m,0xd42,0x11,3100,2500,10,RACE_ROCK,ATTRIBUTE_WATER)then return end or not Duel.IsPlayerCanSpecialSummonMonster(tp,m,0xd42,0x11,3100,2500,10,RACE_ROCK,ATTRIBUTE_WATER)then return end
c:AddMonsterAttribute(TYPE_EFFECT+TYPE_SPELL) c:AddMonsterAttribute(TYPE_EFFECT+TYPE_SPELL)
if Duel.SpecialSummonStep(c,0,tp,tp,true,false,POS_FACEUP) then if Duel.SpecialSummonStep(c,0,tp,tp,true,false,POS_FACEUP) then
local reset_flag=RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END local reset_flag=RESET_EVENT+0x1fe0000
c:CopyEffect(code,reset_flag,1) c:CopyEffect(code,reset_flag,1)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
......
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