Commit e949d7b2 authored by Nemo Ma's avatar Nemo Ma

lflist

parent 6f4a97dd
...@@ -57,6 +57,40 @@ ...@@ -57,6 +57,40 @@
31400049 1 --岩热炎龙机,不建议在std让炎龙机无限互相拉 31400049 1 --岩热炎龙机,不建议在std让炎龙机无限互相拉
31400045 1 --命莲托生,定位是类似死苏的泛用卡 31400045 1 --命莲托生,定位是类似死苏的泛用卡
# #
72100104 0
72100025 0
72100125 0
72100035 0
72100112 0
30001007 0
25010012 0
90700058 0
90700057 0
82208118 0
82208119 0
82208120 0
82208121 0
82208122 0
82208123 0
82208124 0
82208125 0
82208126 0
82208127 0
82208128 0
82208129 0
82208130 0
82208131 0
82208132 0
82208133 0
82208134 0
34512015 0
72100028 0
72100116 0
77771010 0
79029274 0
82204249 0
89380006 0
#
79029309 0 79029309 0
65010018 0 65010018 0
90700056 0 90700056 0
...@@ -596,8 +630,6 @@ ...@@ -596,8 +630,6 @@
14010224 0 14010224 0
14010229 0 14010229 0
14010231 0 14010231 0
30000230 0
30000235 0
9950020 0 9950020 0
9950050 0 9950050 0
9950051 0 9950051 0
...@@ -705,7 +737,7 @@ ...@@ -705,7 +737,7 @@
14010230 0 14010230 0
30000004 0 30000004 0
30000033 0 30000033 0
30000051 0 30000051 1
33700036 0 33700036 0
33700081 0 33700081 0
33700093 0 33700093 0
...@@ -1109,6 +1141,11 @@ ...@@ -1109,6 +1141,11 @@
117681594 0 117681594 0
115284026 0 115284026 0
#limit #limit
31400038 1
65000000 1
77770010 1
82204250 1
#
25000014 1 25000014 1
25000015 1 25000015 1
25000016 1 25000016 1
...@@ -1127,7 +1164,7 @@ ...@@ -1127,7 +1164,7 @@
65010528 1 65010528 1
65010566 1 65010566 1
65020219 1 65020219 1
77770021 1 77770021 0
9951531 1 9951531 1
9951513 1 9951513 1
9951523 0 9951523 0
...@@ -1270,14 +1307,10 @@ ...@@ -1270,14 +1307,10 @@
14010075 1 14010075 1
14010120 1 14010120 1
14010206 1 14010206 1
30000005 1 30000005 2
30000010 1
30000013 1
30000019 1
30000027 1 30000027 1
30000029 0 30000029 0
30000049 1 30000999 2
30000999 1
33330093 1 33330093 1
33400006 1 33400006 1
33700058 1 33700058 1
...@@ -1656,6 +1689,12 @@ ...@@ -1656,6 +1689,12 @@
!THE WILD LIST !THE WILD LIST
#forbidden #forbidden
72100025 0
72100125 0
25010012 0
90700058 0
90700057 0
#
121082832 0 121082832 0
121082833 0 121082833 0
121593977 0 121593977 0
......
No preview for this file type
...@@ -47,16 +47,17 @@ end ...@@ -47,16 +47,17 @@ end
function cm.eqlimit(e,c) function cm.eqlimit(e,c)
return not c:GetEquipGroup():IsExists(Card.IsSetCard,1,e:GetHandler(),0x3352) return not c:GetEquipGroup():IsExists(Card.IsSetCard,1,e:GetHandler(),0x3352)
end end
function cm.cafilter(c,e,tp,eg,ep,ev,re,r,rp) function cm.cafilter(c,e,eg)
return eg:IsContains(c) and aux.bdogcon(e,tp,eg,ep,ev,re,r,rp) and c:IsChainAttackable() local bc=c:GetBattleTarget()
return eg:IsContains(c) and c:IsRelateToBattle() and c:IsStatus(STATUS_OPPO_BATTLE) and bc:IsLocation(LOCATION_GRAVE) and bc:IsType(TYPE_MONSTER) and c:IsChainAttackable()
end end
function cm.catg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.catg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then if chk==0 then
local f=tama.cosmicFighters_equipGetFormation(e:GetHandler()) local f=tama.cosmicFighters_equipGetFormation(e:GetHandler())
return f and f:IsExists(cm.cafilter,1,nil,e,tp,eg,ep,ev,re,r,rp) return f and f:IsExists(cm.cafilter,1,nil,e,eg)
end end
local f=tama.cosmicFighters_equipGetFormation(e:GetHandler()) local f=tama.cosmicFighters_equipGetFormation(e:GetHandler())
local a=f:Filter(cm.cafilter,nil,e,tp,eg,ep,ev,re,r,rp):GetFirst() local a=f:Filter(cm.cafilter,nil,e,eg):GetFirst()
Duel.SetTargetCard(a) Duel.SetTargetCard(a)
end end
function cm.caop(e,tp,eg,ep,ev,re,r,rp) function cm.caop(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -72,11 +72,11 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -72,11 +72,11 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
sc:RegisterEffect(e2) sc:RegisterEffect(e2)
sc=g:GetNext() sc=g:GetNext()
end end
g=Duel.GetMatchingGroup(cm.desfilter,tp,0,LOCATION_MZONE,nil) end
if g:GetCount()>0 then g=Duel.GetMatchingGroup(cm.desfilter,tp,0,LOCATION_MZONE,nil)
Duel.BreakEffect() if g:GetCount()>0 then
Duel.Destroy(g,REASON_EFFECT) Duel.BreakEffect()
end Duel.Destroy(g,REASON_EFFECT)
end end
end end
function cm.filter(c) function cm.filter(c)
......
...@@ -88,41 +88,43 @@ end ...@@ -88,41 +88,43 @@ end
function cm.bombop(e,tp,eg,ep,ev,re,r,rp) function cm.bombop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(cm.desfilter,tp,0,LOCATION_ONFIELD,nil,e:GetHandler()) local g=Duel.GetMatchingGroup(cm.desfilter,tp,0,LOCATION_ONFIELD,nil,e:GetHandler())
local c=e:GetHandler() local c=e:GetHandler()
local e5=Effect.CreateEffect(e:GetHandler()) if c:IsRelateToEffect(e) then
e5:SetType(EFFECT_TYPE_SINGLE) local e5=Effect.CreateEffect(e:GetHandler())
e5:SetCode(EFFECT_UPDATE_ATTACK) e5:SetType(EFFECT_TYPE_SINGLE)
e5:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END) e5:SetCode(EFFECT_UPDATE_ATTACK)
e5:SetValue(700) e5:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END)
c:RegisterEffect(e5) e5:SetValue(700)
local e4=Effect.CreateEffect(e:GetHandler()) c:RegisterEffect(e5)
e4:SetType(EFFECT_TYPE_SINGLE) local e4=Effect.CreateEffect(e:GetHandler())
e4:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e4:SetType(EFFECT_TYPE_SINGLE)
e4:SetRange(LOCATION_MZONE) e4:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e4:SetCode(EFFECT_IMMUNE_EFFECT) e4:SetRange(LOCATION_MZONE)
e4:SetValue(cm.efilter) e4:SetCode(EFFECT_IMMUNE_EFFECT)
e4:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END) e4:SetValue(cm.efilter)
e:GetHandler():RegisterEffect(e4) e4:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END)
--damage e:GetHandler():RegisterEffect(e4)
local e3=Effect.CreateEffect(c) --damage
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) local e3=Effect.CreateEffect(c)
e3:SetCode(EVENT_CHAINING) e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e3:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e3:SetCode(EVENT_CHAINING)
e3:SetRange(LOCATION_MZONE) e3:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e3:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END) e3:SetRange(LOCATION_MZONE)
e3:SetOperation(cm.regop) e3:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END)
c:RegisterEffect(e3) e3:SetOperation(cm.regop)
local e4=Effect.CreateEffect(c) c:RegisterEffect(e3)
e4:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) local e4=Effect.CreateEffect(c)
e4:SetCode(EVENT_CHAIN_SOLVED) e4:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e4:SetRange(LOCATION_MZONE) e4:SetCode(EVENT_CHAIN_SOLVED)
e4:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END) e4:SetRange(LOCATION_MZONE)
e4:SetCondition(cm.accon) e4:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END)
e4:SetOperation(cm.acop) e4:SetCondition(cm.accon)
c:RegisterEffect(e4) e4:SetOperation(cm.acop)
c:RegisterEffect(e4)
end
end end
function cm.regop(e,tp,eg,ep,ev,re,r,rp) function cm.regop(e,tp,eg,ep,ev,re,r,rp)
if e:GetHandler() then if e:GetHandler() then
e:GetHandler():RegisterFlagEffect(m,RESET_EVENT+0x1fc0000+RESET_CHAIN,0,1) e:GetHandler():RegisterFlagEffect(m+1,RESET_EVENT+0x1fc0000+RESET_CHAIN,0,1)
end end
end end
function cm.accon(e,tp,eg,ep,ev,re,r,rp) function cm.accon(e,tp,eg,ep,ev,re,r,rp)
...@@ -135,7 +137,7 @@ function cm.acop(e,tp,eg,ep,ev,re,r,rp) ...@@ -135,7 +137,7 @@ function cm.acop(e,tp,eg,ep,ev,re,r,rp)
c:RegisterFlagEffect(m,RESET_EVENT+0x1ff0000+RESET_PHASE+PHASE_END,0,1,1) c:RegisterFlagEffect(m,RESET_EVENT+0x1ff0000+RESET_PHASE+PHASE_END,0,1,1)
else else
local label=c:GetFlagEffectLabel(m) local label=c:GetFlagEffectLabel(m)
c:SetFlagEffectLabel(m,label+1) c:SetFlagEffectLabel(m,label+c:GetFlagEffect(m+1))
end end
if c:GetFlagEffectLabel(m)>=3 then if c:GetFlagEffectLabel(m)>=3 then
Duel.Hint(HINT_CARD,1,m) Duel.Hint(HINT_CARD,1,m)
......
...@@ -135,11 +135,11 @@ function cm.bombop(e,tp,eg,ep,ev,re,r,rp) ...@@ -135,11 +135,11 @@ function cm.bombop(e,tp,eg,ep,ev,re,r,rp)
sc:RegisterEffect(e2) sc:RegisterEffect(e2)
sc=g1:GetNext() sc=g1:GetNext()
end end
g1=Duel.GetMatchingGroup(cm.desfilter,tp,0,LOCATION_MZONE,nil) end
if g1:GetCount()>0 then g1=Duel.GetMatchingGroup(cm.desfilter,tp,0,LOCATION_MZONE,nil)
Duel.BreakEffect() if g1:GetCount()>0 then
Duel.Destroy(g1,REASON_EFFECT) Duel.BreakEffect()
end Duel.Destroy(g1,REASON_EFFECT)
end end
local e4=Effect.CreateEffect(e:GetHandler()) local e4=Effect.CreateEffect(e:GetHandler())
e4:SetType(EFFECT_TYPE_SINGLE) e4:SetType(EFFECT_TYPE_SINGLE)
......
...@@ -68,11 +68,11 @@ function cm.bombop(e,tp,eg,ep,ev,re,r,rp) ...@@ -68,11 +68,11 @@ function cm.bombop(e,tp,eg,ep,ev,re,r,rp)
sc:RegisterEffect(e1) sc:RegisterEffect(e1)
sc=g:GetNext() sc=g:GetNext()
end end
g=Duel.GetMatchingGroup(cm.desfilter,tp,0,LOCATION_MZONE,nil) end
if g:GetCount()>0 then g=Duel.GetMatchingGroup(cm.desfilter,tp,0,LOCATION_MZONE,nil)
Duel.BreakEffect() if g:GetCount()>0 then
Duel.Destroy(g,REASON_EFFECT) Duel.BreakEffect()
end Duel.Destroy(g,REASON_EFFECT)
end end
if ec then if ec then
local e4=Effect.CreateEffect(e:GetHandler()) local e4=Effect.CreateEffect(e:GetHandler())
......
...@@ -125,11 +125,11 @@ function cm.bombop(e,tp,eg,ep,ev,re,r,rp) ...@@ -125,11 +125,11 @@ function cm.bombop(e,tp,eg,ep,ev,re,r,rp)
end end
tc=g:GetNext() tc=g:GetNext()
end end
local sg=g:Filter(cm.desfilter,nil) end
if sg:GetCount()>0 then local sg=g:Filter(cm.desfilter,nil)
Duel.BreakEffect() if sg:GetCount()>0 then
Duel.Destroy(sg,REASON_EFFECT) Duel.BreakEffect()
end Duel.Destroy(sg,REASON_EFFECT)
end end
local e4=Effect.CreateEffect(e:GetHandler()) local e4=Effect.CreateEffect(e:GetHandler())
e4:SetType(EFFECT_TYPE_SINGLE) e4:SetType(EFFECT_TYPE_SINGLE)
......
...@@ -34,7 +34,7 @@ function cm.initial_effect(c) ...@@ -34,7 +34,7 @@ function cm.initial_effect(c)
end end
function cm.eqlimit(e,c) function cm.eqlimit(e,c)
return not c:GetEquipGroup():IsExists(Card.IsSetCard,1,e:GetHandler(),0x3352) return not c:GetEquipGroup():IsExists(Card.IsSetCard,1,e:GetHandler(),0x6352)
end end
function cm.bfilter(c) function cm.bfilter(c)
return c:IsAbleToChangeControler() and c:IsFaceup() return c:IsAbleToChangeControler() and c:IsFaceup()
...@@ -54,6 +54,7 @@ function cm.bombtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -54,6 +54,7 @@ function cm.bombtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end end
function cm.bombop(e,tp,eg,ep,ev,re,r,rp) function cm.bombop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local ec=e:GetHandler():GetEquipTarget()
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if not tc:IsRelateToEffect(e) or not c:IsRelateToEffect(e) or not ec then return end if not tc:IsRelateToEffect(e) or not c:IsRelateToEffect(e) or not ec then return end
if ec and ec:IsFaceup() then if ec and ec:IsFaceup() then
......
...@@ -108,7 +108,7 @@ function cm.efilter(e,te) ...@@ -108,7 +108,7 @@ function cm.efilter(e,te)
return te:GetOwner()~=e:GetOwner() return te:GetOwner()~=e:GetOwner()
end end
function cm.filter(c) function cm.filter(c)
return (c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsFaceup()) or (c:IsType(TYPE_MONSTER) and c:IsAttackBelow(0)) return (c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsFaceup()) or (c:IsType(TYPE_MONSTER) and (c:GetAttack()==0 or (c:GetDefense()==0 and not c:IsType(TYPE_LINK))))
end end
function cm.bombop(e,tp,eg,ep,ev,re,r,rp) function cm.bombop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -46,13 +46,13 @@ function c33400102.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -46,13 +46,13 @@ function c33400102.activate(e,tp,eg,ep,ev,re,r,rp)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SET_ATTACK_FINAL) e1:SetCode(EFFECT_SET_ATTACK_FINAL)
e1:SetReset(RESET_EVENT+RESETS_STANDARD) e1:SetReset(RESET_EVENT+RESETS_STANDARD)
e1:SetValue(sc:GetAttack()/2) e1:SetValue(sc:GetBaseAttack()/2)
sc:RegisterEffect(e1) sc:RegisterEffect(e1)
local e2=Effect.CreateEffect(e:GetHandler()) local e2=Effect.CreateEffect(e:GetHandler())
e2:SetType(EFFECT_TYPE_SINGLE) e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_SET_DEFENSE_FINAL) e2:SetCode(EFFECT_SET_DEFENSE_FINAL)
e2:SetReset(RESET_EVENT+RESETS_STANDARD) e2:SetReset(RESET_EVENT+RESETS_STANDARD)
e2:SetValue(sc:GetDefense()/2) e2:SetValue(sc:GetBaseDefense()/2)
sc:RegisterEffect(e2) sc:RegisterEffect(e2)
local e3=Effect.CreateEffect(e:GetHandler()) local e3=Effect.CreateEffect(e:GetHandler())
e3:SetType(EFFECT_TYPE_SINGLE) e3:SetType(EFFECT_TYPE_SINGLE)
......
...@@ -14,7 +14,7 @@ function cm.initial_effect(c) ...@@ -14,7 +14,7 @@ function cm.initial_effect(c)
e2:SetOperation(cm.spop) e2:SetOperation(cm.spop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(m*16) e2:SetDescription(aux.Stringid(m,0))
e2:SetType(EFFECT_TYPE_IGNITION) e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE) e2:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
...@@ -34,7 +34,7 @@ function cm.initial_effect(c) ...@@ -34,7 +34,7 @@ function cm.initial_effect(c)
end) end)
c:RegisterEffect(e2) c:RegisterEffect(e2)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(m*16) e2:SetDescription(aux.Stringid(m,1))
e2:SetType(EFFECT_TYPE_QUICK_O) e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetCode(EVENT_FREE_CHAIN) e2:SetCode(EVENT_FREE_CHAIN)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
...@@ -52,11 +52,14 @@ function cm.initial_effect(c) ...@@ -52,11 +52,14 @@ function cm.initial_effect(c)
Duel.SetOperationInfo(0,CATEGORY_ANNOUNCE,nil,0,tp,ANNOUNCE_CARD_FILTER) Duel.SetOperationInfo(0,CATEGORY_ANNOUNCE,nil,0,tp,ANNOUNCE_CARD_FILTER)
end) end)
e2:SetOperation(function(e,tp,eg,ep,ev,re,r,rp) e2:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
local tg=Duel.GetMatchingGroup(v_filter,tp,0,LOCATION_HAND+LOCATION_ONFIELD,nil)
Duel.ConfirmCards(tp,tg)
local ac=Duel.GetChainInfo(0,CHAININFO_TARGET_PARAM) local ac=Duel.GetChainInfo(0,CHAININFO_TARGET_PARAM)
local g=Duel.GetMatchingGroup(v_filter,tp,0,LOCATION_HAND+LOCATION_ONFIELD,nil):Filter(Card.IsCode,nil,ac) local g=tg:Filter(Card.IsCode,nil,ac)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.Destroy(g,REASON_EFFECT) Duel.Destroy(g,REASON_EFFECT)
end end
Duel.ShuffleHand(1-tp)
end) end)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
...@@ -76,14 +79,14 @@ function cm.spcon(e,c) ...@@ -76,14 +79,14 @@ function cm.spcon(e,c)
if c==nil then return true end if c==nil then return true end
local tp=c:GetControler() local tp=c:GetControler()
local g=Duel.GetReleaseGroup(tp):Filter(cm.spfilter,nil,c) local g=Duel.GetReleaseGroup(tp):Filter(cm.spfilter,nil,c)
local g2=Duel.GetMatchingGroup(1-tp):Filter(cm.spfilter_,nil,c) local g2=Duel.GetReleaseGroup(1-tp):Filter(cm.spfilter_,nil,c)
g1:Merge(g2) g:Merge(g2)
return g:IsExists(cm.spfilter1,1,nil,tp,g) return g:IsExists(cm.spfilter1,1,nil,tp,g)
end end
function cm.spop(e,tp,eg,ep,ev,re,r,rp,c) function cm.spop(e,tp,eg,ep,ev,re,r,rp,c)
local g=Duel.GetReleaseGroup(tp):Filter(cm.spfilter,nil,c) local g=Duel.GetReleaseGroup(tp):Filter(cm.spfilter,nil,c)
local g2=Duel.GetMatchingGroup(1-tp):Filter(cm.spfilter_,nil,c) local g2=Duel.GetReleaseGroup(1-tp):Filter(cm.spfilter_,nil,c)
g1:Merge(g2) g:Merge(g2)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
local g1=g:FilterSelect(tp,cm.spfilter1,1,1,nil,tp,g) local g1=g:FilterSelect(tp,cm.spfilter1,1,1,nil,tp,g)
local mc=g1:GetFirst() local mc=g1:GetFirst()
......
...@@ -132,7 +132,7 @@ function c500007.stg2(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -132,7 +132,7 @@ function c500007.stg2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c500007.setfilter2,tp,LOCATION_GRAVE,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c500007.setfilter2,tp,LOCATION_GRAVE,0,1,nil) end
end end
function c500007.sop2(e,tp,eg,ep,ev,re,r,rp) function c500007.sop2(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(c500007.setfilter3,tp,LOCATION_GRAVE,0,nil) local g=Duel.GetMatchingGroup(c500007.setfilter2,tp,LOCATION_GRAVE,0,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local tc=g:Select(tp,1,1,nil):GetFirst() local tc=g:Select(tp,1,1,nil):GetFirst()
...@@ -141,7 +141,7 @@ function c500007.sop2(e,tp,eg,ep,ev,re,r,rp) ...@@ -141,7 +141,7 @@ function c500007.sop2(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c500007.sop(e,tp,eg,ep,ev,re,r,rp) function c500007.sop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(c500007.setfilter3,tp,LOCATION_DECK,0,nil) local g=Duel.GetMatchingGroup(c500007.setfilter2,tp,LOCATION_DECK,0,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local tc=g:Select(tp,1,1,nil):GetFirst() local tc=g:Select(tp,1,1,nil):GetFirst()
...@@ -150,7 +150,7 @@ function c500007.sop(e,tp,eg,ep,ev,re,r,rp) ...@@ -150,7 +150,7 @@ function c500007.sop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c500007.stg(e,tp,eg,ep,ev,re,r,rp,chk) function c500007.stg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c500007.setfilter3,tp,LOCATION_DECK,0,1,nil,tp) and Duel.GetFlagEffect(tp,500007)==0 end if chk==0 then return Duel.IsExistingMatchingCard(c500007.setfilter2,tp,LOCATION_DECK,0,1,nil,tp) and Duel.GetFlagEffect(tp,500007)==0 end
end end
function c500007.scost(e,tp,eg,ep,ev,re,r,rp,chk) function c500007.scost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsReleasable() end if chk==0 then return e:GetHandler():IsReleasable() end
......
...@@ -18,7 +18,6 @@ function c77770020.initial_effect(c) ...@@ -18,7 +18,6 @@ function c77770020.initial_effect(c)
e2:SetCategory(CATEGORY_ATKCHANGE) e2:SetCategory(CATEGORY_ATKCHANGE)
e2:SetType(EFFECT_TYPE_QUICK_O) e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetProperty(EFFECT_FLAG_DAMAGE_STEP) e2:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e2:SetRange(LOCATION_MZONE)
e2:SetCode(EVENT_FREE_CHAIN) e2:SetCode(EVENT_FREE_CHAIN)
e2:SetHintTiming(TIMING_DAMAGE_STEP,TIMINGS_CHECK_MONSTER+TIMING_DAMAGE_STEP+TIMING_END_PHASE) e2:SetHintTiming(TIMING_DAMAGE_STEP,TIMINGS_CHECK_MONSTER+TIMING_DAMAGE_STEP+TIMING_END_PHASE)
e2:SetRange(LOCATION_GRAVE) e2:SetRange(LOCATION_GRAVE)
......
--凑友希那
function c9951527.initial_effect(c)
--spsummon bgm
local e8=Effect.CreateEffect(c)
e8:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e8:SetCode(EVENT_SPSUMMON_SUCCESS)
e8:SetOperation(c9951527.sumsuc)
c:RegisterEffect(e8)
local e9=e8:Clone()
e9:SetCode(EVENT_SUMMON_SUCCESS)
c:RegisterEffect(e9)
end
function c9951527.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_MUSIC,0,aux.Stringid(9951527,0))
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