Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-cards
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
0
Merge Requests
0
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
GuGu
ygopro-THC-cards
Commits
2eec4807
Commit
2eec4807
authored
Jun 05, 2022
by
wyykak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix by keyigu
Signed-off-by:
wyykak
<
wyy_1414@126.com
>
parent
0345a7e5
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
16 additions
and
17 deletions
+16
-17
script/c25307.lua
script/c25307.lua
+2
-2
script/c25316.lua
script/c25316.lua
+2
-2
script/c25319.lua
script/c25319.lua
+2
-2
script/c25325.lua
script/c25325.lua
+2
-2
script/c25328.lua
script/c25328.lua
+2
-2
script/c25340.lua
script/c25340.lua
+3
-3
script/c25349.lua
script/c25349.lua
+1
-1
script/c99677703.lua
script/c99677703.lua
+1
-1
script/c99677793.lua
script/c99677793.lua
+1
-2
No files found.
script/c25307.lua
View file @
2eec4807
...
@@ -45,10 +45,10 @@ function c25307.initial_effect(c)
...
@@ -45,10 +45,10 @@ function c25307.initial_effect(c)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
function
c25307
.
ntfilter1
(
c
)
function
c25307
.
ntfilter1
(
c
)
return
c
:
IsSetCard
(
0x100
)
and
not
c
:
IsPublic
()
return
c
:
IsSetCard
(
0x100
)
and
not
c
:
IsPublic
()
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
c25307
.
ntfilter2
(
c
)
function
c25307
.
ntfilter2
(
c
)
return
c
:
IsSetCard
(
0x710
)
and
not
c
:
IsPublic
()
return
c
:
IsSetCard
(
0x710
)
and
not
c
:
IsPublic
()
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
c25307
.
ntcon
(
e
,
c
)
function
c25307
.
ntcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
...
script/c25316.lua
View file @
2eec4807
...
@@ -45,10 +45,10 @@ function c25316.initial_effect(c)
...
@@ -45,10 +45,10 @@ function c25316.initial_effect(c)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
function
c25316
.
ntfilter1
(
c
)
function
c25316
.
ntfilter1
(
c
)
return
c
:
IsSetCard
(
0x137
)
and
not
c
:
IsPublic
()
return
c
:
IsSetCard
(
0x137
)
and
not
c
:
IsPublic
()
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
c25316
.
ntfilter2
(
c
)
function
c25316
.
ntfilter2
(
c
)
return
c
:
Is
SetCard
(
0x710
)
and
not
c
:
IsPublic
(
)
return
c
:
Is
Race
(
RACE_BEAST
)
and
not
c
:
IsPublic
()
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
c25316
.
ntcon
(
e
,
c
)
function
c25316
.
ntcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
...
script/c25319.lua
View file @
2eec4807
...
@@ -43,10 +43,10 @@ function c25319.initial_effect(c)
...
@@ -43,10 +43,10 @@ function c25319.initial_effect(c)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
function
c25319
.
ntfilter1
(
c
)
function
c25319
.
ntfilter1
(
c
)
return
c
:
IsSetCard
(
0x194
)
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsSetCard
(
0x194
)
and
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
c25319
.
ntfilter2
(
c
)
function
c25319
.
ntfilter2
(
c
)
return
c
:
IsSetCard
(
0x252a
)
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsSetCard
(
0x252a
)
and
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
c25319
.
ntcon
(
e
,
c
)
function
c25319
.
ntcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
...
script/c25325.lua
View file @
2eec4807
...
@@ -44,10 +44,10 @@ function c25325.initial_effect(c)
...
@@ -44,10 +44,10 @@ function c25325.initial_effect(c)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
function
c25325
.
ntfilter1
(
c
)
function
c25325
.
ntfilter1
(
c
)
return
c
:
IsSetCard
(
0x255
)
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsSetCard
(
0x255
)
and
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
c25325
.
ntfilter2
(
c
)
function
c25325
.
ntfilter2
(
c
)
return
c
:
IsSetCard
(
0x273
)
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsSetCard
(
0x273
)
and
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
c25325
.
ntcon
(
e
,
c
)
function
c25325
.
ntcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
...
script/c25328.lua
View file @
2eec4807
...
@@ -44,10 +44,10 @@ function c25328.initial_effect(c)
...
@@ -44,10 +44,10 @@ function c25328.initial_effect(c)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
function
c25328
.
ntfilter1
(
c
)
function
c25328
.
ntfilter1
(
c
)
return
c
:
IsSetCard
(
0x255
)
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsSetCard
(
0x255
)
and
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
c25328
.
ntfilter2
(
c
)
function
c25328
.
ntfilter2
(
c
)
return
c
:
IsSetCard
(
0x273
)
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsSetCard
(
0x273
)
and
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
c25328
.
ntcon
(
e
,
c
)
function
c25328
.
ntcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
...
script/c25340.lua
View file @
2eec4807
...
@@ -53,7 +53,7 @@ function c25340.initial_effect(c)
...
@@ -53,7 +53,7 @@ function c25340.initial_effect(c)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
function
c25340
.
cfilter
(
c
,
tp
)
function
c25340
.
cfilter
(
c
,
tp
)
return
(
c
:
IsFusionSetCard
(
0x5779
)
or
c
:
IsFusionSetCard
(
0x6779
))
return
(
c
:
IsFusionSetCard
(
0x5779
)
or
c
:
IsFusionSetCard
(
0x6779
))
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeFusionMaterial
()
and
c
:
IsAbleToGraveAsCost
()
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
and
c
:
IsCanBeFusionMaterial
()
and
c
:
IsAbleToGraveAsCost
()
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
end
function
c25340
.
fcheck
(
c
,
sg
)
function
c25340
.
fcheck
(
c
,
sg
)
...
@@ -95,10 +95,10 @@ function c25340.con(e,tp,eg,ep,ev,re,r,rp)
...
@@ -95,10 +95,10 @@ function c25340.con(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c25340
.
filter
(
c
)
function
c25340
.
filter
(
c
)
return
c
:
IsSetCard
(
0x778
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x778
)
and
c
:
IsAbleToHand
()
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
c25340
.
tcfilter
(
c
)
function
c25340
.
tcfilter
(
c
)
return
c
:
IsSetCard
(
0x779
)
and
c
:
IsFaceup
()
return
c
:
IsSetCard
(
0x779
)
and
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
c25340
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c25340
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
cy
=
Duel
.
GetMatchingGroup
(
c25340
.
tcfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
nil
):
GetClassCount
(
Card
.
GetCode
)
local
cy
=
Duel
.
GetMatchingGroup
(
c25340
.
tcfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
nil
):
GetClassCount
(
Card
.
GetCode
)
...
...
script/c25349.lua
View file @
2eec4807
...
@@ -107,7 +107,7 @@ function c25349.thcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -107,7 +107,7 @@ function c25349.thcon(e,tp,eg,ep,ev,re,r,rp)
and
eg
:
IsExists
(
c25349
.
gfilter
,
1
,
nil
,
tp
)
and
g
:
GetClassCount
(
Card
.
GetCode
)
>=
e
:
GetLabel
()
and
eg
:
IsExists
(
c25349
.
gfilter
,
1
,
nil
,
tp
)
and
g
:
GetClassCount
(
Card
.
GetCode
)
>=
e
:
GetLabel
()
end
end
function
c25349
.
thfilter
(
c
)
function
c25349
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x778
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x778
)
and
c
:
IsAbleToHand
()
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
c25349
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c25349
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c25349
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c25349
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
script/c99677703.lua
View file @
2eec4807
...
@@ -34,7 +34,7 @@ function c99677703.initial_effect(c)
...
@@ -34,7 +34,7 @@ function c99677703.initial_effect(c)
e6
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e6
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e6
:
SetCode
(
EVENT_CHAINING
)
e6
:
SetCode
(
EVENT_CHAINING
)
e6
:
SetRange
(
LOCATION_MZONE
)
e6
:
SetRange
(
LOCATION_MZONE
)
e6
:
SetCountLimit
(
1
,
996777
60
3
)
e6
:
SetCountLimit
(
1
,
996777
7
3
)
e6
:
SetCondition
(
c99677703
.
spcon2
)
e6
:
SetCondition
(
c99677703
.
spcon2
)
e6
:
SetCost
(
c99677703
.
spcost2
)
e6
:
SetCost
(
c99677703
.
spcost2
)
e6
:
SetTarget
(
c99677703
.
sptg2
)
e6
:
SetTarget
(
c99677703
.
sptg2
)
...
...
script/c99677793.lua
View file @
2eec4807
...
@@ -11,7 +11,7 @@ function c99677793.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c99677793.initial_effect(c)
e5
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e5
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e5
:
SetCode
(
EVENT_FREE_CHAIN
)
e5
:
SetCode
(
EVENT_FREE_CHAIN
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetCountLimit
(
1
,
99677793
)
e5
:
SetCountLimit
(
1
)
e5
:
SetTarget
(
c99677793
.
target
)
e5
:
SetTarget
(
c99677793
.
target
)
e5
:
SetOperation
(
c99677793
.
operation
)
e5
:
SetOperation
(
c99677793
.
operation
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
...
@@ -23,7 +23,6 @@ function c99677793.initial_effect(c)
...
@@ -23,7 +23,6 @@ function c99677793.initial_effect(c)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetHintTiming
(
0
,
0x1c0
+
TIMING_MAIN_END
)
e2
:
SetHintTiming
(
0
,
0x1c0
+
TIMING_MAIN_END
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCondition
(
c99677793
.
sccon
)
e2
:
SetCondition
(
c99677793
.
sccon
)
e2
:
SetTarget
(
c99677793
.
sctarg
)
e2
:
SetTarget
(
c99677793
.
sctarg
)
e2
:
SetOperation
(
c99677793
.
scop
)
e2
:
SetOperation
(
c99677793
.
scop
)
...
...
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