Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
dc-special-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
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
JoyJ
dc-special-cards
Commits
50007db9
Commit
50007db9
authored
Feb 04, 2021
by
JoyJ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b57dca15
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
85 additions
and
84 deletions
+85
-84
script/c20049999.lua
script/c20049999.lua
+1
-1
script/c20140001.lua
script/c20140001.lua
+1
-1
script/c20140002.lua
script/c20140002.lua
+1
-1
script/c20150001.lua
script/c20150001.lua
+1
-1
script/c20150002.lua
script/c20150002.lua
+1
-1
script/c20160001.lua
script/c20160001.lua
+1
-1
script/c20160002.lua
script/c20160002.lua
+2
-2
script/c66666004.lua
script/c66666004.lua
+77
-76
No files found.
script/c20049999.lua
View file @
50007db9
...
@@ -14,7 +14,7 @@ function c20049999.initial_effect(c)
...
@@ -14,7 +14,7 @@ function c20049999.initial_effect(c)
end
end
e
:
SetValue
(
newv
)
e
:
SetValue
(
newv
)
orig
(
c
,
e
,
...
)
orig
(
c
,
e
,
...
)
else
if
c
:
GetAttack
()
>
0
and
((
e
:
GetCode
()
==
EFFECT_SET_ATTACK_FINAL
and
val
==
0
)
or
(
e
:
GetCode
()
==
EFFECT_UPDATE_ATTACK
and
c
:
GetAttack
()
+
val
==
0
))
then
elseif
c
:
GetAttack
()
>
0
and
((
e
:
GetCode
()
==
EFFECT_SET_ATTACK_FINAL
and
val
==
0
)
or
(
e
:
GetCode
()
==
EFFECT_UPDATE_ATTACK
and
c
:
GetAttack
()
+
val
==
0
))
then
Duel
.
RaiseEvent
(
EVENT_CUSTOM
+
20049999
)
Duel
.
RaiseEvent
(
EVENT_CUSTOM
+
20049999
)
orig
(
c
,
e
,
...
)
orig
(
c
,
e
,
...
)
end
end
...
...
script/c20140001.lua
View file @
50007db9
...
@@ -71,7 +71,7 @@ function c20140001.mkcostfilter(c)
...
@@ -71,7 +71,7 @@ function c20140001.mkcostfilter(c)
and
c
:
IsRace
(
RACE_BEAST
)
and
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsRace
(
RACE_BEAST
)
and
c
:
IsAbleToRemoveAsCost
()
end
end
function
c20140001
.
mkcostfilter2
(
c
,
e
,
tp
)
function
c20140001
.
mkcostfilter2
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsCanBeEffectTarget
(
e
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsCanBeEffectTarget
(
e
)
and
Duel
.
IsExistingMatchingCard
(
c20140001
.
mkcostfilter
,
tp
,
LOCATION_MZONE
,
0
,
3
,
c
)
Duel
.
IsExistingMatchingCard
(
c20140001
.
mkcostfilter
,
tp
,
LOCATION_MZONE
,
0
,
3
,
c
)
end
end
function
c20140001
.
mktgfilter
(
c
,
e
,
tp
)
function
c20140001
.
mktgfilter
(
c
,
e
,
tp
)
...
...
script/c20140002.lua
View file @
50007db9
...
@@ -20,7 +20,7 @@ function c20140002.mkcostfilter(c)
...
@@ -20,7 +20,7 @@ function c20140002.mkcostfilter(c)
and
c
:
IsRace
(
RACE_MACHINE
)
and
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsRace
(
RACE_MACHINE
)
and
c
:
IsAbleToRemoveAsCost
()
end
end
function
c20140002
.
mkcostfilter2
(
c
,
e
,
tp
)
function
c20140002
.
mkcostfilter2
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsCanBeEffectTarget
(
e
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsCanBeEffectTarget
(
e
)
and
Duel
.
IsExistingMatchingCard
(
c20140002
.
mkcostfilter
,
tp
,
LOCATION_MZONE
,
0
,
3
,
c
)
Duel
.
IsExistingMatchingCard
(
c20140002
.
mkcostfilter
,
tp
,
LOCATION_MZONE
,
0
,
3
,
c
)
end
end
function
c20140002
.
mktgfilter
(
c
,
e
,
tp
)
function
c20140002
.
mktgfilter
(
c
,
e
,
tp
)
...
...
script/c20150001.lua
View file @
50007db9
...
@@ -71,7 +71,7 @@ function c20150001.mkcostfilter(c)
...
@@ -71,7 +71,7 @@ function c20150001.mkcostfilter(c)
and
c
:
IsRace
(
RACE_BEAST
)
and
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsRace
(
RACE_BEAST
)
and
c
:
IsAbleToRemoveAsCost
()
end
end
function
c20150001
.
mkcostfilter2
(
c
,
e
,
tp
)
function
c20150001
.
mkcostfilter2
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsCanBeEffectTarget
(
e
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsCanBeEffectTarget
(
e
)
and
Duel
.
IsExistingMatchingCard
(
c20150001
.
mkcostfilter
,
tp
,
LOCATION_MZONE
,
0
,
3
,
c
)
Duel
.
IsExistingMatchingCard
(
c20150001
.
mkcostfilter
,
tp
,
LOCATION_MZONE
,
0
,
3
,
c
)
end
end
function
c20150001
.
mktgfilter
(
c
,
e
,
tp
)
function
c20150001
.
mktgfilter
(
c
,
e
,
tp
)
...
...
script/c20150002.lua
View file @
50007db9
...
@@ -20,7 +20,7 @@ function c20150002.mkcostfilter(c)
...
@@ -20,7 +20,7 @@ function c20150002.mkcostfilter(c)
and
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAbleToRemoveAsCost
()
end
end
function
c20150002
.
mkcostfilter2
(
c
,
e
,
tp
)
function
c20150002
.
mkcostfilter2
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsCanBeEffectTarget
(
e
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsCanBeEffectTarget
(
e
)
and
Duel
.
IsExistingMatchingCard
(
c20150002
.
mkcostfilter
,
tp
,
LOCATION_MZONE
,
0
,
3
,
c
)
Duel
.
IsExistingMatchingCard
(
c20150002
.
mkcostfilter
,
tp
,
LOCATION_MZONE
,
0
,
3
,
c
)
end
end
function
c20150002
.
mktgfilter
(
c
,
e
,
tp
)
function
c20150002
.
mktgfilter
(
c
,
e
,
tp
)
...
...
script/c20160001.lua
View file @
50007db9
...
@@ -71,7 +71,7 @@ function c20160001.mkcostfilter(c)
...
@@ -71,7 +71,7 @@ function c20160001.mkcostfilter(c)
and
c
:
IsRace
(
RACE_FAIRY
)
and
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsRace
(
RACE_FAIRY
)
and
c
:
IsAbleToRemoveAsCost
()
end
end
function
c20160001
.
mkcostfilter2
(
c
,
e
,
tp
)
function
c20160001
.
mkcostfilter2
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsCanBeEffectTarget
(
e
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsCanBeEffectTarget
(
e
)
and
Duel
.
IsExistingMatchingCard
(
c20160001
.
mkcostfilter
,
tp
,
LOCATION_MZONE
,
0
,
3
,
c
)
Duel
.
IsExistingMatchingCard
(
c20160001
.
mkcostfilter
,
tp
,
LOCATION_MZONE
,
0
,
3
,
c
)
end
end
function
c20160001
.
mktgfilter
(
c
,
e
,
tp
)
function
c20160001
.
mktgfilter
(
c
,
e
,
tp
)
...
...
script/c20160002.lua
View file @
50007db9
...
@@ -8,7 +8,7 @@ function c20160002.initial_effect(c)
...
@@ -8,7 +8,7 @@ function c20160002.initial_effect(c)
e0
:
SetType
(
EFFECT_TYPE_IGNITION
)
e0
:
SetType
(
EFFECT_TYPE_IGNITION
)
e0
:
SetRange
(
LOCATION_PZONE
)
e0
:
SetRange
(
LOCATION_PZONE
)
e0
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e0
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
s
e0
:
SetTarget
(
c20160002
.
mkcost
)
e0
:
SetTarget
(
c20160002
.
mkcost
)
e0
:
SetTarget
(
c20160002
.
mktg
)
e0
:
SetTarget
(
c20160002
.
mktg
)
e0
:
SetOperation
(
c20160002
.
mkop
)
e0
:
SetOperation
(
c20160002
.
mkop
)
c
:
RegisterEffect
(
e0
)
c
:
RegisterEffect
(
e0
)
...
@@ -19,7 +19,7 @@ function c20160002.mkcostfilter(c)
...
@@ -19,7 +19,7 @@ function c20160002.mkcostfilter(c)
and
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAbleToRemoveAsCost
()
end
end
function
c20160002
.
mkcostfilter2
(
c
,
e
,
tp
)
function
c20160002
.
mkcostfilter2
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsCanBeEffectTarget
(
e
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsCanBeEffectTarget
(
e
)
and
Duel
.
IsExistingMatchingCard
(
c20160002
.
mkcostfilter
,
tp
,
LOCATION_MZONE
,
0
,
3
,
c
)
Duel
.
IsExistingMatchingCard
(
c20160002
.
mkcostfilter
,
tp
,
LOCATION_MZONE
,
0
,
3
,
c
)
end
end
function
c20160002
.
mktgfilter
(
c
,
e
,
tp
)
function
c20160002
.
mktgfilter
(
c
,
e
,
tp
)
...
...
script/c66666004.lua
View file @
50007db9
...
@@ -73,4 +73,5 @@ function c66666004.cfop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -73,4 +73,5 @@ function c66666004.cfop(e,tp,eg,ep,ev,re,r,rp)
,
0
,
nil
,
code
)
and
,
0
,
nil
,
code
)
and
Duel
.
SelectYesNo
(
1
-
tp
,
aux
.
Stringid
(
66666004
,
2
))
then
Duel
.
SelectYesNo
(
1
-
tp
,
aux
.
Stringid
(
66666004
,
2
))
then
Duel
.
Win
(
1
-
tp
,
0x0
)
Duel
.
Win
(
1
-
tp
,
0x0
)
end
end
end
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