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
4
Merge Requests
4
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
b7ef78f9
Commit
b7ef78f9
authored
Mar 31, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/master' into master
parents
7a943f7f
7980aeec
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
15 additions
and
10 deletions
+15
-10
c12381100.lua
c12381100.lua
+1
-1
c39767432.lua
c39767432.lua
+1
-1
c50321796.lua
c50321796.lua
+1
-1
c67517351.lua
c67517351.lua
+2
-2
c88504133.lua
c88504133.lua
+1
-1
c90050480.lua
c90050480.lua
+1
-1
c90315086.lua
c90315086.lua
+4
-2
c93509766.lua
c93509766.lua
+1
-0
constant.lua
constant.lua
+3
-1
No files found.
c12381100.lua
View file @
b7ef78f9
...
@@ -87,7 +87,7 @@ function s.foperation(e,tp,eg,ep,ev,re,r,rp,gc,chkf)
...
@@ -87,7 +87,7 @@ function s.foperation(e,tp,eg,ep,ev,re,r,rp,gc,chkf)
Duel
.
SetFusionMaterial
(
g
)
Duel
.
SetFusionMaterial
(
g
)
end
end
function
s
.
ultimate_fusion_check
(
tp
,
sg
,
fc
)
function
s
.
ultimate_fusion_check
(
tp
,
sg
,
fc
)
return
#
sg
==
2
and
aux
.
gffcheck
(
sg
,
s
.
ffilter1
,
fc
,
s
.
ffilter3
,
nil
)
return
#
sg
==
2
and
aux
.
gffcheck
(
sg
,
Card
.
IsFusionCode
,
23995346
,
s
.
ffilter3
,
nil
)
end
end
function
s
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
and
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
Duel
.
IsChainNegatable
(
ev
)
return
rp
==
1
-
tp
and
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
Duel
.
IsChainNegatable
(
ev
)
...
...
c39767432.lua
View file @
b7ef78f9
...
@@ -25,7 +25,7 @@ function s.initial_effect(c)
...
@@ -25,7 +25,7 @@ function s.initial_effect(c)
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e3
:
SetCategory
(
CATEGORY_DAMAGE
)
e3
:
SetCategory
(
CATEGORY_DAMAGE
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e3
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_D
AMAGE_CAL
+
EFFECT_FLAG_D
ELAY
)
e3
:
SetCode
(
EVENT_RECOVER
)
e3
:
SetCode
(
EVENT_RECOVER
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
,
id
+
o
)
e3
:
SetCountLimit
(
1
,
id
+
o
)
...
...
c50321796.lua
View file @
b7ef78f9
...
@@ -43,7 +43,7 @@ function c50321796.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -43,7 +43,7 @@ function c50321796.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoGrave
(
cg
,
REASON_COST
+
REASON_DISCARD
)
Duel
.
SendtoGrave
(
cg
,
REASON_COST
+
REASON_DISCARD
)
end
end
function
c50321796
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c50321796
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsAbleToHand
()
end
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
Is
Controler
(
1
-
tp
)
and
chkc
:
Is
AbleToHand
()
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsAbleToHand
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsAbleToHand
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
local
ct
=
e
:
GetLabel
()
local
ct
=
e
:
GetLabel
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
...
...
c67517351.lua
View file @
b7ef78f9
...
@@ -71,13 +71,13 @@ function c67517351.tgfilter(c,eg)
...
@@ -71,13 +71,13 @@ function c67517351.tgfilter(c,eg)
end
end
function
c67517351
.
mattg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c67517351
.
mattg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c67517351
.
tgfilter
(
chkc
,
eg
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c67517351
.
tgfilter
(
chkc
,
eg
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c67517351
.
tgfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
eg
)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c67517351
.
tgfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
eg
)
and
e
:
GetHandler
():
IsCanOverlay
()
end
and
e
:
GetHandler
():
IsCanOverlay
()
end
if
eg
:
GetCount
()
==
1
then
if
eg
:
GetCount
()
==
1
then
Duel
.
SetTargetCard
(
eg
)
Duel
.
SetTargetCard
(
eg
)
else
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
SelectTarget
(
tp
,
c67517351
.
tgfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
eg
)
Duel
.
SelectTarget
(
tp
,
c67517351
.
tgfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
eg
)
end
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
...
...
c88504133.lua
View file @
b7ef78f9
...
@@ -7,7 +7,7 @@ function c88504133.initial_effect(c)
...
@@ -7,7 +7,7 @@ function c88504133.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
88504133
)
e1
:
SetCountLimit
(
1
,
88504133
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetHintTiming
(
0
,
TIMING_MAIN_END
)
e1
:
SetHintTiming
(
0
,
TIMING_MAIN_END
)
e1
:
SetCondition
(
c88504133
.
condition
)
e1
:
SetCondition
(
c88504133
.
condition
)
e1
:
SetCost
(
c88504133
.
cost
)
e1
:
SetCost
(
c88504133
.
cost
)
...
...
c90050480.lua
View file @
b7ef78f9
...
@@ -26,7 +26,7 @@ function c90050480.initial_effect(c)
...
@@ -26,7 +26,7 @@ function c90050480.initial_effect(c)
end
end
c90050480
.
material_setcode
=
0x8
c90050480
.
material_setcode
=
0x8
function
c90050480
.
ffilter
(
c
,
fc
,
sub
,
mg
,
sg
)
function
c90050480
.
ffilter
(
c
,
fc
,
sub
,
mg
,
sg
)
return
c
:
IsFusionSetCard
(
0x1f
)
and
(
not
sg
or
not
sg
:
Filter
(
Card
.
IsFusionSetCard
,
nil
,
0x1f
):
IsExists
(
Card
.
IsFusionAttribute
,
1
,
c
,
c
:
GetFusionAttribute
()))
return
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
FusionSetCard
(
0x1f
)
and
(
not
sg
or
not
sg
:
Filter
(
Card
.
IsFusionSetCard
,
nil
,
0x1f
):
IsExists
(
Card
.
IsFusionAttribute
,
1
,
c
,
c
:
GetFusionAttribute
()))
end
end
function
c90050480
.
splimit
(
e
,
se
,
sp
,
st
)
function
c90050480
.
splimit
(
e
,
se
,
sp
,
st
)
return
not
e
:
GetHandler
():
IsLocation
(
LOCATION_EXTRA
)
return
not
e
:
GetHandler
():
IsLocation
(
LOCATION_EXTRA
)
...
...
c90315086.lua
View file @
b7ef78f9
...
@@ -36,8 +36,10 @@ end
...
@@ -36,8 +36,10 @@ end
function
s
.
cfilter
(
c
)
function
s
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
end
end
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
spcon
(
e
,
c
)
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
c93509766.lua
View file @
b7ef78f9
...
@@ -20,6 +20,7 @@ function s.initial_effect(c)
...
@@ -20,6 +20,7 @@ function s.initial_effect(c)
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_HAND
)
e2
:
SetRange
(
LOCATION_HAND
)
e2
:
SetHintTiming
(
0
,
TIMING_MAIN_END
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
spcon
)
e2
:
SetCondition
(
s
.
spcon
)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetTarget
(
s
.
sptg
)
...
...
constant.lua
View file @
b7ef78f9
...
@@ -169,7 +169,7 @@ STATUS_SET_TURN =0x0010 --在本回合覆盖
...
@@ -169,7 +169,7 @@ STATUS_SET_TURN =0x0010 --在本回合覆盖
STATUS_NO_LEVEL
=
0x0020
--无等级
STATUS_NO_LEVEL
=
0x0020
--无等级
STATUS_BATTLE_RESULT
=
0x0040
--傷害計算結果預計要破壞的怪獸
STATUS_BATTLE_RESULT
=
0x0040
--傷害計算結果預計要破壞的怪獸
STATUS_SPSUMMON_STEP
=
0x0080
--效果特召處理中
STATUS_SPSUMMON_STEP
=
0x0080
--效果特召處理中
STATUS_
FORM_CHANGED
=
0x0100
--改变过
表示形式
STATUS_
CANNOT_CHANGE_FORM
=
0x0100
--回合玩家不能手动改变
表示形式
STATUS_SUMMONING
=
0x0200
--召唤中
STATUS_SUMMONING
=
0x0200
--召唤中
STATUS_EFFECT_ENABLED
=
0x0400
--卡片準備就緒(不在移動、召喚、魔法陷阱發動中)
STATUS_EFFECT_ENABLED
=
0x0400
--卡片準備就緒(不在移動、召喚、魔法陷阱發動中)
STATUS_SUMMON_TURN
=
0x0800
--在本回合召喚/SET
STATUS_SUMMON_TURN
=
0x0800
--在本回合召喚/SET
...
@@ -607,6 +607,8 @@ EFFECT_TUNER =369 --同调召唤时可以当作调整(百檎龙-苹果鳞
...
@@ -607,6 +607,8 @@ EFFECT_TUNER =369 --同调召唤时可以当作调整(百檎龙-苹果鳞
EFFECT_KAISER_COLOSSEUM
=
370
--皇帝斗技场
EFFECT_KAISER_COLOSSEUM
=
370
--皇帝斗技场
EFFECT_REPLACE_DAMAGE
=
371
--伤害由特定行动代替
EFFECT_REPLACE_DAMAGE
=
371
--伤害由特定行动代替
EFFECT_XYZ_MIN_COUNT
=
372
--只能用在X只以上的超量召唤
EFFECT_XYZ_MIN_COUNT
=
372
--只能用在X只以上的超量召唤
EFFECT_SYNCHRO_LEVEL_EX
=
373
--支持使用没有等级的怪兽作为同调素材
EFFECT_RITUAL_LEVEL_EX
=
374
--支持使用没有等级的怪兽作为仪式素材
EFFECT_FLAG_EFFECT
=
0x20000000
--标记类效果,即RegisterFlagEffect()创建的效果
EFFECT_FLAG_EFFECT
=
0x20000000
--标记类效果,即RegisterFlagEffect()创建的效果
--下面是诱发效果的诱发事件、时点 (如果是TYPE_SINGLE则自己发生以下事件后触发,如果TYPE_FIELD则场上任何卡发生以下事件都触发)
--下面是诱发效果的诱发事件、时点 (如果是TYPE_SINGLE则自己发生以下事件后触发,如果TYPE_FIELD则场上任何卡发生以下事件都触发)
...
...
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