Commit 028c7474 authored by POLYMER's avatar POLYMER

fix

parent df736134
No preview for this file type
This diff is collapsed.
--隐秘的拉比林斯 --隐秘的白之
local cm,m,o=GetID() local cm,m,o=GetID()
function cm.initial_effect(c) function cm.initial_effect(c)
local e2=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD) e3:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_INDESTRUCTABLE_EFFECT) e3:SetCode(EFFECT_INDESTRUCTABLE_EFFECT)
e2:SetTargetRange(LOCATION_ONFIELD,0) e3:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
e2:SetTarget(cm.indtg) e3:SetTargetRange(LOCATION_ONFIELD,0)
e2:SetValue(1) e3:SetRange(LOCATION_MZONE)
c:RegisterEffect(e2) e3:SetTarget(cm.indtg)
e3:SetValue(1)
c:RegisterEffect(e3)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
......
...@@ -228,8 +228,8 @@ function cm.lvop(e,tp,eg,ep,ev,re,r,rp) ...@@ -228,8 +228,8 @@ function cm.lvop(e,tp,eg,ep,ev,re,r,rp)
local rg=Duel.GetMatchingGroup(cm.rmfil,tp,LOCATION_EXTRA,0,nil,xlv):Select(tp,1,1,nil) local rg=Duel.GetMatchingGroup(cm.rmfil,tp,LOCATION_EXTRA,0,nil,xlv):Select(tp,1,1,nil)
if rg and Duel.Remove(rg,POS_FACEUP,REASON_EFFECT) then if rg and Duel.Remove(rg,POS_FACEUP,REASON_EFFECT) then
local rmvg=Duel.GetOperatedGroup() local rmvg=Duel.GetOperatedGroup()
rmvg:KeepAlive()
e:SetLabelObject(rmvg) e:SetLabelObject(rmvg)
rmvg:KeepAlive()
local code=rmvg:GetFirst():GetCode() local code=rmvg:GetFirst():GetCode()
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
......
...@@ -36,10 +36,10 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -36,10 +36,10 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
local e12=e1:Clone() local e12=e1:Clone()
e12:SetCode(EVENT_SUMMON_SUCCESS) e12:SetCode(EVENT_SUMMON_SUCCESS)
Duel.RegisterEffect(e12,tp) c:RegisterEffect(e12)
local e13=e1:Clone() local e13=e1:Clone()
e13:SetCode(EVENT_FLIP_SUMMON_SUCCESS) e13:SetCode(EVENT_FLIP_SUMMON_SUCCESS)
Duel.RegisterEffect(e13,tp) c:RegisterEffect(e13)
--sp_summon effect --sp_summon effect
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD) e2:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD)
...@@ -51,10 +51,10 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -51,10 +51,10 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e2,tp) Duel.RegisterEffect(e2,tp)
local e22=e2:Clone() local e22=e2:Clone()
e22:SetCode(EVENT_SUMMON_SUCCESS) e22:SetCode(EVENT_SUMMON_SUCCESS)
Duel.RegisterEffect(e22,tp) c:RegisterEffect(e22)
local e23=e2:Clone() local e23=e2:Clone()
e23:SetCode(EVENT_FLIP_SUMMON_SUCCESS) e23:SetCode(EVENT_FLIP_SUMMON_SUCCESS)
Duel.RegisterEffect(e23,tp) c:RegisterEffect(e23)
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD) e3:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD)
e3:SetCode(EVENT_CHAIN_SOLVED) e3:SetCode(EVENT_CHAIN_SOLVED)
...@@ -70,7 +70,8 @@ function s.filter(c,sp,code) ...@@ -70,7 +70,8 @@ function s.filter(c,sp,code)
end end
function s.tgcon1(e,tp,eg,ep,ev,re,r,rp) function s.tgcon1(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(s.filter,1,nil,1-tp,e:GetLabel()) return eg:IsExists(s.filter,1,nil,1-tp,e:GetLabel())
and (not re:IsHasType(EFFECT_TYPE_ACTIONS) or re:IsHasType(EFFECT_TYPE_CONTINUOUS)) and not Duel.IsChainSolving()
--and (not re:IsHasType(EFFECT_TYPE_ACTIONS) or re:IsHasType(EFFECT_TYPE_CONTINUOUS))
end end
function s.tgop1(e,tp,eg,ep,ev,re,r,rp) function s.tgop1(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,0,id) Duel.Hint(HINT_CARD,0,id)
...@@ -83,7 +84,8 @@ function s.tgop1(e,tp,eg,ep,ev,re,r,rp) ...@@ -83,7 +84,8 @@ function s.tgop1(e,tp,eg,ep,ev,re,r,rp)
end end
function s.regcon(e,tp,eg,ep,ev,re,r,rp) function s.regcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(s.filter,1,nil,1-tp,e:GetLabel()) return eg:IsExists(s.filter,1,nil,1-tp,e:GetLabel())
and re:IsHasType(EFFECT_TYPE_ACTIONS) and not re:IsHasType(EFFECT_TYPE_CONTINUOUS) and Duel.IsChainSolving()
--and re:IsHasType(EFFECT_TYPE_ACTIONS) and not re:IsHasType(EFFECT_TYPE_CONTINUOUS)
end end
function s.regop(e,tp,eg,ep,ev,re,r,rp) function s.regop(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterFlagEffect(tp,id,RESET_CHAIN,0,1) Duel.RegisterFlagEffect(tp,id,RESET_CHAIN,0,1)
......
...@@ -1119,6 +1119,7 @@ ...@@ -1119,6 +1119,7 @@
#会变的不幸rua 519 #会变的不幸rua 519
!setname 0x510 《遥远·传说》 !setname 0x510 《遥远·传说》
!setname 0x511 《不详·征兆》
#sch 258 0x210-0x21f #sch 258 0x210-0x21f
!setname 0x211 舰娘 !setname 0x211 舰娘
......
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