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
3
Issues
3
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
b7babc47
Commit
b7babc47
authored
Sep 18, 2021
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2021/9/18 合并战斗·效果破坏的效果,新增鞋子附赠卡
parent
5980b0b6
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
35 additions
and
74 deletions
+35
-74
RD Patch.cdb
RD Patch.cdb
+0
-0
script/c120120048.lua
script/c120120048.lua
+1
-1
script/c120120049.lua
script/c120120049.lua
+1
-1
script/c120120050.lua
script/c120120050.lua
+6
-15
script/c120130050.lua
script/c120130050.lua
+1
-1
script/c120145054.lua
script/c120145054.lua
+8
-18
script/c120145060.lua
script/c120145060.lua
+1
-1
script/c120155058.lua
script/c120155058.lua
+8
-18
script/c120188030.lua
script/c120188030.lua
+8
-19
script/c120199060.lua
script/c120199060.lua
+1
-0
No files found.
RD Patch.cdb
View file @
b7babc47
No preview for this file type
script/c120120048.lua
View file @
b7babc47
...
...
@@ -16,7 +16,7 @@ end
--Activate
function
cm
.
confilter
(
c
,
tp
)
return
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
bit
.
band
(
c
:
GetPreviousTypeOnField
(),
TYPE_SPELL
)
~=
0
and
bit
.
band
(
c
:
GetPreviousTypeOnField
(),
TYPE_SPELL
)
~=
0
and
c
:
IsReason
(
REASON_EFFECT
)
end
function
cm
.
desfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
...
...
script/c120120049.lua
View file @
b7babc47
...
...
@@ -16,7 +16,7 @@ end
--Activate
function
cm
.
confilter
(
c
,
tp
)
return
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
bit
.
band
(
c
:
GetPreviousTypeOnField
(),
TYPE_NORMAL
)
~=
0
and
bit
.
band
(
c
:
GetPreviousTypeOnField
(),
TYPE_NORMAL
)
~=
0
and
c
:
IsReason
(
REASON_EFFECT
)
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
script/c120120050.lua
View file @
b7babc47
...
...
@@ -6,32 +6,23 @@ function cm.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_GRAVE_SPSUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_
BATTLE_
DESTROYED
)
e1
:
SetCode
(
EVENT_DESTROYED
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetCondition
(
cm
.
condition
1
)
e1
:
SetCondition
(
cm
.
condition
)
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
()
end
function
cm
.
confilter2
(
c
,
tp
)
function
cm
.
confilter
(
c
,
tp
)
return
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
(
c
:
IsReason
(
REASON_EFFECT
)
or
c
==
Duel
.
GetAttackTarget
())
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsLevel
(
1
)
and
c
:
IsType
(
TYPE_NORMAL
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
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
eg
:
IsExists
(
cm
.
confilter2
,
1
,
nil
,
tp
)
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
and
eg
:
IsExists
(
cm
.
confilter
,
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
...
...
script/c120130050.lua
View file @
b7babc47
...
...
@@ -16,7 +16,7 @@ end
--Activate
function
cm
.
confilter
(
c
,
tp
)
return
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
bit
.
band
(
c
:
GetPreviousTypeOnField
(),
TYPE_TRAP
)
~=
0
and
bit
.
band
(
c
:
GetPreviousTypeOnField
(),
TYPE_TRAP
)
~=
0
and
c
:
IsReason
(
REASON_EFFECT
)
end
function
cm
.
desfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
...
...
script/c120145054.lua
View file @
b7babc47
...
...
@@ -8,34 +8,24 @@ function cm.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_GRAVE_SPSUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_
BATTLE_
DESTROYED
)
e1
:
SetCode
(
EVENT_DESTROYED
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetCondition
(
cm
.
condition
1
)
e1
:
SetCondition
(
cm
.
condition
)
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
:
GetPreviousPosition
()
==
POS_FACEUP_ATTACK
and
c
:
GetPreviousControler
()
==
tp
and
c
==
Duel
.
GetAttackTarget
()
end
function
cm
.
confilter2
(
c
,
tp
)
return
c
:
GetPreviousPosition
()
==
POS_FACEUP_ATTACK
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
function
cm
.
confilter
(
c
,
tp
)
return
c
:
IsPreviousPosition
(
POS_ATTACK
)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
(
c
:
IsReason
(
REASON_EFFECT
)
or
c
==
Duel
.
GetAttackTarget
())
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
list
[
1
],
list
[
2
])
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
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
eg
:
IsExists
(
cm
.
confilter2
,
1
,
nil
,
tp
)
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
and
eg
:
IsExists
(
cm
.
confilter
,
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
...
...
script/c120145060.lua
View file @
b7babc47
...
...
@@ -16,7 +16,7 @@ end
--Activate
function
cm
.
confilter
(
c
,
tp
)
return
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
bit
.
band
(
c
:
GetPreviousTypeOnField
(),
TYPE_SPELL
+
TYPE_TRAP
)
~=
0
and
bit
.
band
(
c
:
GetPreviousTypeOnField
(),
TYPE_SPELL
+
TYPE_TRAP
)
~=
0
and
c
:
IsReason
(
REASON_EFFECT
)
end
function
cm
.
desfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_EFFECT
)
and
c
:
IsLevelBelow
(
6
)
...
...
script/c120155058.lua
View file @
b7babc47
...
...
@@ -8,25 +8,18 @@ function cm.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_GRAVE_SPSUMMON
+
CATEGORY_RECOVER
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_
BATTLE_
DESTROYED
)
e1
:
SetCode
(
EVENT_DESTROYED
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetCondition
(
cm
.
condition
1
)
e1
:
SetCondition
(
cm
.
condition
)
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
bit
.
band
(
c
:
GetPreviousRaceOnField
(),
RACE_PYRO
)
~=
0
end
function
cm
.
confilter2
(
c
,
tp
)
return
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsPreviousPosition
(
POS_ATTACK
)
and
bit
.
band
(
c
:
GetPreviousRaceOnField
(),
RACE_PYRO
)
~=
0
function
cm
.
confilter
(
c
,
tp
,
re
)
return
c
:
IsPreviousPosition
(
POS_ATTACK
)
and
bit
.
band
(
c
:
GetPreviousRaceOnField
(),
RACE_PYRO
)
~=
0
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
((
c
:
IsReason
(
REASON_EFFECT
)
and
re
:
IsActiveType
(
TYPE_TRAP
))
or
c
==
Duel
.
GetAttackTarget
())
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
list
[
1
],
list
[
2
])
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
@@ -34,11 +27,8 @@ end
function
cm
.
exfilter
(
c
)
return
c
:
IsAttribute
(
ATTRIBUTE_EARTH
)
and
c
:
IsRace
(
RACE_PYRO
)
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
)
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
and
eg
:
IsExists
(
cm
.
confilter
,
1
,
nil
,
tp
,
re
)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetMZoneCount
(
tp
)
>
0
...
...
script/c120188030.lua
View file @
b7babc47
...
...
@@ -8,36 +8,25 @@ function cm.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_GRAVE_SPSUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_
BATTLE_
DESTROYED
)
e1
:
SetCode
(
EVENT_DESTROYED
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetCondition
(
cm
.
condition
1
)
e1
:
SetCondition
(
cm
.
condition
)
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
function
cm
.
confilter
(
c
,
tp
,
re
)
return
c
:
IsPreviousPosition
(
POS_ATTACK
)
and
c
:
GetPreviousLevelOnField
()
>=
7
and
bit
.
band
(
c
:
GetPreviousRaceOnField
(),
RACE_WARRIOR
)
~=
0
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
((
c
:
IsReason
(
REASON_EFFECT
)
and
re
:
IsActiveType
(
TYPE_TRAP
))
or
c
==
Duel
.
GetAttackTarget
())
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
)
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
and
eg
:
IsExists
(
cm
.
confilter
,
1
,
nil
,
tp
,
re
)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetMZoneCount
(
tp
)
>
0
...
...
script/c120199060.lua
View file @
b7babc47
...
...
@@ -18,6 +18,7 @@ end
--Activate
function
cm
.
confilter
(
c
,
tp
)
return
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsReason
(
REASON_EFFECT
)
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
...
...
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