Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-rush-duel
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
Clara Grace Paulsen
ygopro-rush-duel
Commits
d4b78c58
Commit
d4b78c58
authored
Dec 27, 2021
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2021/12/27 新增:炎神专属卡,更新翻译,目前极大怪兽标记为同盟(0x400)类型
parent
dfca2a32
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
60 additions
and
12 deletions
+60
-12
RD Patch.cdb
RD Patch.cdb
+0
-0
RD Standard.cdb
RD Standard.cdb
+0
-0
script/c120199058.lua
script/c120199058.lua
+4
-6
script/c120205013.lua
script/c120205013.lua
+1
-1
script/c120205015.lua
script/c120205015.lua
+1
-1
script/c120205037.lua
script/c120205037.lua
+1
-1
script/c120205045.lua
script/c120205045.lua
+45
-0
script/c120205063.lua
script/c120205063.lua
+1
-1
script/special.lua
script/special.lua
+7
-2
No files found.
RD Patch.cdb
View file @
d4b78c58
No preview for this file type
RD Standard.cdb
View file @
d4b78c58
No preview for this file type
script/c120199058.lua
View file @
d4b78c58
...
...
@@ -32,8 +32,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_COST
)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
and
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
end
...
...
@@ -49,10 +48,9 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
sg
=
mg
end
Duel
.
HintSelection
(
sg
)
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
local
tc
=
Duel
.
GetDecktopGroup
(
tp
,
1
):
GetFirst
()
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
if
tc
then
if
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
~=
0
and
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
then
local
tc
=
Duel
.
GetDecktopGroup
(
tp
,
1
):
GetFirst
()
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
if
tc
:
IsCode
(
list
[
1
],
list
[
2
])
then
Duel
.
Damage
(
1
-
tp
,
500
,
REASON_EFFECT
)
...
...
script/c120205013.lua
View file @
d4b78c58
local
m
=
120205013
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"
执行美少女·菲娜
"
cm
.
name
=
"
可爱处决者·烈火女
"
function
cm
.
initial_effect
(
c
)
--Atk Up
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
script/c120205015.lua
View file @
d4b78c58
local
m
=
120205015
local
list
=
{
120183045
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"机械
扇风
鸟"
cm
.
name
=
"机械
烧蚀伞护
鸟"
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
list
[
1
])
--To Hand
...
...
script/c120205037.lua
View file @
d4b78c58
local
m
=
120205037
local
list
=
{
120170029
,
120170029
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"花牙绚烂
美香
·绘都兰世"
cm
.
name
=
"花牙绚烂
名花
·绘都兰世"
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
list
[
1
],
list
[
2
])
--Fusion Material
...
...
script/c120205045.lua
0 → 100644
View file @
d4b78c58
local
m
=
120205045
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"火山引燃超级驱动"
function
cm
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DAMAGE
+
CATEGORY_DESTROY
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetCondition
(
cm
.
condition
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
end
--Activate
function
cm
.
confilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_MAXIMUM
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsRace
(
RACE_WARRIOR
)
end
function
cm
.
exfilter
(
c
)
return
RushDuel
.
IsMaximumMode
(
c
)
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
confilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetTargetPlayer
(
1
-
tp
)
Duel
.
SetTargetParam
(
800
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
800
)
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
Duel
.
Damage
(
p
,
d
,
REASON_EFFECT
)
if
Duel
.
IsExistingMatchingCard
(
cm
.
exfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
HintSelection
(
g
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
end
\ No newline at end of file
script/c120205063.lua
View file @
d4b78c58
local
m
=
120205063
local
list
=
{
120194005
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"神圣装甲 -炸裂
之
力-"
cm
.
name
=
"神圣装甲 -炸裂
罩
力-"
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
list
[
1
])
--Activate
...
...
script/special.lua
View file @
d4b78c58
--Constant
TYPE_MAXIMUM
=
0x400
SUMMON_TYPE_MAXIMUM
=
0x45000000
RACE_CYBORG
=
0x2000000
RACE_MAGICALKNIGHT
=
0x4000000
...
...
@@ -244,8 +245,12 @@ function RushDuel.MaximumSummonOperation(left_code,right_code)
sg
:
Merge
(
g
)
end
end
function
RushDuel
.
IsMaximumMode
(
e
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_MAXIMUM
)
function
RushDuel
.
IsMaximumMode
(
e_or_c
)
local
c
=
e_or_c
if
aux
.
GetValueType
(
c
)
==
"Effect"
then
c
=
c
:
GetHandler
()
end
return
c
:
IsSummonType
(
SUMMON_TYPE_MAXIMUM
)
end
function
RushDuel
.
MaxPosCondition
(
e
)
return
RushDuel
.
IsMaximumMode
(
e
)
and
e
:
GetHandler
():
IsAttackPos
()
...
...
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