Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
ygopro-scripts-888
Commits
84f5fb10
Commit
84f5fb10
authored
Dec 25, 2023
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复先行卡setcode未更新的问题
parent
5ef193dd
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
24 additions
and
24 deletions
+24
-24
c10774240.lua
c10774240.lua
+1
-1
c24878656.lua
c24878656.lua
+1
-1
c25801745.lua
c25801745.lua
+1
-1
c26913989.lua
c26913989.lua
+3
-3
c47172959.lua
c47172959.lua
+1
-1
c62318994.lua
c62318994.lua
+4
-4
c65261141.lua
c65261141.lua
+4
-4
c86310763.lua
c86310763.lua
+1
-1
c87532344.lua
c87532344.lua
+3
-3
c90829280.lua
c90829280.lua
+1
-1
c91434208.lua
c91434208.lua
+1
-1
c92650749.lua
c92650749.lua
+2
-2
c98477480.lua
c98477480.lua
+1
-1
No files found.
c10774240.lua
View file @
84f5fb10
...
@@ -43,7 +43,7 @@ function s.thcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -43,7 +43,7 @@ function s.thcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_RITUAL
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_RITUAL
)
end
end
function
s
.
thfilter
(
c
)
function
s
.
thfilter
(
c
)
return
(
c
:
IsSetCard
(
0x
2
a6
)
or
(
c
:
IsRace
(
RACE_DRAGON
+
RACE_WARRIOR
)
and
c
:
IsType
(
TYPE_RITUAL
)))
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
return
(
c
:
IsSetCard
(
0x
1
a6
)
or
(
c
:
IsRace
(
RACE_DRAGON
+
RACE_WARRIOR
)
and
c
:
IsType
(
TYPE_RITUAL
)))
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
end
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c24878656.lua
View file @
84f5fb10
...
@@ -35,7 +35,7 @@ function s.initial_effect(c)
...
@@ -35,7 +35,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
s
.
stfilter
(
c
)
function
s
.
stfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x
2
a8
)
and
c
:
IsSSetable
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x
1
a8
)
and
c
:
IsSSetable
()
and
c
.
set_as_spell
and
(
not
c
:
IsLocation
(
LOCATION_MZONE
)
or
c
:
IsFaceup
())
and
c
.
set_as_spell
and
(
not
c
:
IsLocation
(
LOCATION_MZONE
)
or
c
:
IsFaceup
())
end
end
function
s
.
sttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
sttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c25801745.lua
View file @
84f5fb10
...
@@ -36,7 +36,7 @@ function s.initial_effect(c)
...
@@ -36,7 +36,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
s
.
pfilter
(
c
,
tp
)
function
s
.
pfilter
(
c
,
tp
)
return
c
:
IsType
(
TYPE_CONTINUOUS
)
and
c
:
IsSetCard
(
0x
2
a6
)
return
c
:
IsType
(
TYPE_CONTINUOUS
)
and
c
:
IsSetCard
(
0x
1
a6
)
and
not
c
:
IsForbidden
()
and
c
:
CheckUniqueOnField
(
tp
)
and
not
c
:
IsForbidden
()
and
c
:
CheckUniqueOnField
(
tp
)
end
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c26913989.lua
View file @
84f5fb10
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
local
s
,
id
,
o
=
GetID
()
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
78371393
)
aux
.
AddCodeList
(
c
,
78371393
)
aux
.
AddSetNameMonsterList
(
c
,
0x
2a4
)
aux
.
AddSetNameMonsterList
(
c
,
0x
1a5
)
c
:
SetSPSummonOnce
(
id
)
c
:
SetSPSummonOnce
(
id
)
local
e0
=
aux
.
AddThisCardInGraveAlreadyCheck
(
c
)
local
e0
=
aux
.
AddThisCardInGraveAlreadyCheck
(
c
)
--spsummon
--spsummon
...
@@ -42,7 +42,7 @@ function s.initial_effect(c)
...
@@ -42,7 +42,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
s
.
cfilter
(
c
)
function
s
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x
2a4
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsPublic
()
return
c
:
IsSetCard
(
0x
1a5
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsPublic
()
end
end
function
s
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
...
@@ -73,7 +73,7 @@ end
...
@@ -73,7 +73,7 @@ end
function
s
.
reccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
reccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
bc
=
c
:
GetBattleTarget
()
local
bc
=
c
:
GetBattleTarget
()
return
bc
and
bc
:
IsFaceup
()
and
bc
:
IsSetCard
(
0x
2a4
)
return
bc
and
bc
:
IsFaceup
()
and
bc
:
IsSetCard
(
0x
1a5
)
end
end
function
s
.
rectg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
rectg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
c47172959.lua
View file @
84f5fb10
...
@@ -5,7 +5,7 @@ function s.initial_effect(c)
...
@@ -5,7 +5,7 @@ function s.initial_effect(c)
aux
.
AddCodeList
(
c
,
78371393
)
aux
.
AddCodeList
(
c
,
78371393
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
--material
--material
aux
.
AddFusionProcFunFunRep
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0x
2a4
),
s
.
matfilter
,
1
,
63
,
true
)
aux
.
AddFusionProcFunFunRep
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0x
1a5
),
s
.
matfilter
,
1
,
63
,
true
)
--damage
--damage
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DAMAGE
)
e1
:
SetCategory
(
CATEGORY_DAMAGE
)
...
...
c62318994.lua
View file @
84f5fb10
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
local
s
,
id
,
o
=
GetID
()
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
78371393
)
aux
.
AddCodeList
(
c
,
78371393
)
aux
.
AddSetNameMonsterList
(
c
,
0x
2a4
)
aux
.
AddSetNameMonsterList
(
c
,
0x
1a5
)
--spsummon
--spsummon
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
...
@@ -46,7 +46,7 @@ function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -46,7 +46,7 @@ function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
end
end
function
s
.
spfilter
(
c
,
e
,
tp
)
function
s
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x
2a4
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x
1a5
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetMZoneCount
(
tp
,
e
:
GetHandler
())
>
0
if
chk
==
0
then
return
Duel
.
GetMZoneCount
(
tp
,
e
:
GetHandler
())
>
0
...
@@ -62,7 +62,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -62,7 +62,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
s
.
confilter
(
c
)
function
s
.
confilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
2a4
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
1a5
)
end
end
function
s
.
chcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
chcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
1
-
tp
and
re
:
IsActiveType
(
TYPE_MONSTER
)
return
Duel
.
GetTurnPlayer
()
==
1
-
tp
and
re
:
IsActiveType
(
TYPE_MONSTER
)
...
@@ -73,7 +73,7 @@ function s.chcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -73,7 +73,7 @@ function s.chcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
end
end
function
s
.
repfilter
(
c
)
function
s
.
repfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x
2a4
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x
1a5
)
end
end
function
s
.
chtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
chtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
repfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
repfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
...
...
c65261141.lua
View file @
84f5fb10
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
local
s
,
id
,
o
=
GetID
()
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
78371393
)
aux
.
AddCodeList
(
c
,
78371393
)
aux
.
AddSetNameMonsterList
(
c
,
0x
2a4
)
aux
.
AddSetNameMonsterList
(
c
,
0x
1a5
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
...
@@ -65,14 +65,14 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -65,14 +65,14 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
s
.
atkfilter
(
c
)
function
s
.
atkfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
2a4
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
1a5
)
end
end
function
s
.
atkcon
(
e
)
function
s
.
atkcon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
s
.
atkfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
s
.
atkfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
end
end
function
s
.
atklimit
(
e
,
c
)
function
s
.
atklimit
(
e
,
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
2a4
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
1a5
)
end
end
function
s
.
reftg
(
e
,
c
)
function
s
.
reftg
(
e
,
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
2a4
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
1a5
)
end
end
\ No newline at end of file
c86310763.lua
View file @
84f5fb10
...
@@ -40,7 +40,7 @@ function s.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -40,7 +40,7 @@ function s.condition(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
end
end
function
s
.
dfilter
(
c
,
e
,
tp
,
ft
)
function
s
.
dfilter
(
c
,
e
,
tp
,
ft
)
return
c
:
IsSetCard
(
0x
2
a6
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
(
c
:
IsAbleToHand
()
or
(
ft
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)))
return
c
:
IsSetCard
(
0x
1
a6
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
(
c
:
IsAbleToHand
()
or
(
ft
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)))
end
end
function
s
.
tdfilter
(
c
)
function
s
.
tdfilter
(
c
)
return
c
:
IsAbleToDeck
()
and
c
:
IsType
(
TYPE_RITUAL
)
and
((
c
:
IsRace
(
RACE_WARRIOR
+
RACE_DRAGON
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
))
or
c
:
IsType
(
TYPE_SPELL
))
return
c
:
IsAbleToDeck
()
and
c
:
IsType
(
TYPE_RITUAL
)
and
((
c
:
IsRace
(
RACE_WARRIOR
+
RACE_DRAGON
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
))
or
c
:
IsType
(
TYPE_SPELL
))
...
...
c87532344.lua
View file @
84f5fb10
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
local
s
,
id
,
o
=
GetID
()
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
78371393
)
aux
.
AddCodeList
(
c
,
78371393
)
aux
.
AddSetNameMonsterList
(
c
,
0x
2a4
)
aux
.
AddSetNameMonsterList
(
c
,
0x
1a5
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
...
@@ -38,7 +38,7 @@ function s.initial_effect(c)
...
@@ -38,7 +38,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
s
.
spfilter
(
c
,
e
,
tp
)
function
s
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x
2a4
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x
1a5
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
id
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
id
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
@@ -128,7 +128,7 @@ function s.filter3(c,e)
...
@@ -128,7 +128,7 @@ function s.filter3(c,e)
return
c
:
IsOnField
()
and
not
c
:
IsImmuneToEffect
(
e
)
return
c
:
IsOnField
()
and
not
c
:
IsImmuneToEffect
(
e
)
end
end
function
s
.
fcheck
(
tp
,
sg
,
fc
)
function
s
.
fcheck
(
tp
,
sg
,
fc
)
return
sg
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x
2a4
)
return
sg
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x
1a5
)
end
end
function
s
.
futg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
futg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
chk
==
0
then
...
...
c90829280.lua
View file @
84f5fb10
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
local
s
,
id
,
o
=
GetID
()
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
78371393
)
aux
.
AddCodeList
(
c
,
78371393
)
aux
.
AddSetNameMonsterList
(
c
,
0x
2a4
)
aux
.
AddSetNameMonsterList
(
c
,
0x
1a5
)
--Special Summon (from hand : itself)
--Special Summon (from hand : itself)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
...
...
c91434208.lua
View file @
84f5fb10
...
@@ -52,7 +52,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,7 +52,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetAttacker
()
local
tc
=
Duel
.
GetAttacker
()
return
tc
:
IsControler
(
tp
)
and
tc
:
IsSetCard
(
0x
2
a7
)
and
tc
:
IsRelateToBattle
()
return
tc
:
IsControler
(
tp
)
and
tc
:
IsSetCard
(
0x
1
a7
)
and
tc
:
IsRelateToBattle
()
and
tc
:
IsChainAttackable
()
and
tc
:
IsChainAttackable
()
end
end
function
s
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c92650749.lua
View file @
84f5fb10
...
@@ -4,7 +4,7 @@ local s,id,o=GetID()
...
@@ -4,7 +4,7 @@ local s,id,o=GetID()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x25
)
c
:
EnableCounterPermit
(
0x25
)
aux
.
AddCodeList
(
c
,
78371393
)
aux
.
AddCodeList
(
c
,
78371393
)
aux
.
AddSetNameMonsterList
(
c
,
0x
2a4
)
aux
.
AddSetNameMonsterList
(
c
,
0x
1a5
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
...
@@ -74,7 +74,7 @@ function s.initial_effect(c)
...
@@ -74,7 +74,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e7
)
c
:
RegisterEffect
(
e7
)
end
end
function
s
.
cfilter
(
c
)
function
s
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x
2a4
)
or
aux
.
IsCodeListed
(
c
,
78371393
)
return
c
:
IsSetCard
(
0x
1a5
)
or
aux
.
IsCodeListed
(
c
,
78371393
)
end
end
function
s
.
counter
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
counter
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
eg
:
IsExists
(
s
.
cfilter
,
1
,
nil
)
then
if
eg
:
IsExists
(
s
.
cfilter
,
1
,
nil
)
then
...
...
c98477480.lua
View file @
84f5fb10
...
@@ -53,7 +53,7 @@ function s.alimit(e,c)
...
@@ -53,7 +53,7 @@ function s.alimit(e,c)
return
c
:
IsFacedown
()
or
not
c
:
IsType
(
TYPE_RITUAL
)
return
c
:
IsFacedown
()
or
not
c
:
IsType
(
TYPE_RITUAL
)
end
end
function
s
.
filter
(
c
)
function
s
.
filter
(
c
)
return
(
c
:
IsSetCard
(
0x
2
a6
)
or
c
:
IsSetCard
(
0x2052
)
and
c
:
GetType
()
&
0x81
==
0x81
)
and
c
:
IsAbleToHand
()
return
(
c
:
IsSetCard
(
0x
1
a6
)
or
c
:
IsSetCard
(
0x2052
)
and
c
:
GetType
()
&
0x81
==
0x81
)
and
c
:
IsAbleToHand
()
and
not
c
:
IsCode
(
id
)
and
not
c
:
IsCode
(
id
)
end
end
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment