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
4
Issues
4
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
MyCard
ygopro-rush-duel
Commits
5065baa5
Commit
5065baa5
authored
Jul 26, 2021
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2021/7/26 新增:魔将方圆舞,更新翻译
parent
b55f3131
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
54 additions
and
1 deletion
+54
-1
RD Patch.cdb
RD Patch.cdb
+0
-0
script/c120186009.lua
script/c120186009.lua
+1
-1
script/c120188030.lua
script/c120188030.lua
+53
-0
No files found.
RD Patch.cdb
View file @
5065baa5
No preview for this file type
script/c120186009.lua
View file @
5065baa5
local
m
=
120186009
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"加速
奇幻 超上
"
cm
.
name
=
"加速
魔杖手·飞溅魔女
"
function
cm
.
initial_effect
(
c
)
--Atk Up
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
script/c120188030.lua
0 → 100644
View file @
5065baa5
local
m
=
120188030
local
list
=
{
120120029
,
120140001
,
120155020
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"魔将方圆舞"
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
list
[
1
],
list
[
2
],
list
[
3
])
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_GRAVE_SPSUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_BATTLE_DESTROYED
)
e1
:
SetCondition
(
cm
.
condition1
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EVENT_DESTROYED
)
e2
:
SetCondition
(
cm
.
condition2
)
c
:
RegisterEffect
(
e2
)
end
--Activate
function
cm
.
confilter1
(
c
,
tp
)
return
c
:
GetPreviousControler
()
==
tp
and
c
==
Duel
.
GetAttackTarget
()
and
c
:
IsPreviousPosition
(
POS_ATTACK
)
and
c
:
GetPreviousLevelOnField
()
>=
7
and
bit
.
band
(
c
:
GetPreviousRaceOnField
(),
RACE_WARRIOR
)
~=
0
end
function
cm
.
confilter2
(
c
,
tp
)
return
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsPreviousPosition
(
POS_ATTACK
)
and
c
:
GetPreviousLevelOnField
()
>=
7
and
bit
.
band
(
c
:
GetPreviousRaceOnField
(),
RACE_WARRIOR
)
~=
0
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
list
[
1
],
list
[
2
],
list
[
3
])
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
function
cm
.
condition1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
cm
.
confilter1
,
1
,
nil
,
tp
)
end
function
cm
.
condition2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
and
re
:
IsActiveType
(
TYPE_TRAP
)
and
eg
:
IsExists
(
cm
.
confilter2
,
1
,
nil
,
tp
)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetMZoneCount
(
tp
)
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetMZoneCount
(
tp
)
<
1
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
cm
.
spfilter
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
\ No newline at end of file
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