Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-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
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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
a600ce4f
Commit
a600ce4f
authored
Sep 15, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
0efa77c7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
6 deletions
+7
-6
expansions/script/c19500014.lua
expansions/script/c19500014.lua
+2
-2
expansions/script/c19500018.lua
expansions/script/c19500018.lua
+2
-2
expansions/script/c19500035.lua
expansions/script/c19500035.lua
+1
-1
expansions/script/c9320004.lua
expansions/script/c9320004.lua
+2
-1
No files found.
expansions/script/c19500014.lua
View file @
a600ce4f
...
...
@@ -4,8 +4,8 @@ function c19500014.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
19500014
,
0
))
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_
QUICK_O
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetType
(
EFFECT_TYPE_
IGNITION
)
--
e1:SetCode(EVENT_FREE_CHAIN)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCountLimit
(
1
,
19500014
)
...
...
expansions/script/c19500018.lua
View file @
a600ce4f
...
...
@@ -4,8 +4,8 @@ function c19500018.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
19500018
,
0
))
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_DRAW
)
e1
:
SetType
(
EFFECT_TYPE_
QUICK_O
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetType
(
EFFECT_TYPE_
IGNITION
)
--
e1:SetCode(EVENT_FREE_CHAIN)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCountLimit
(
1
,
19500018
)
e1
:
SetCost
(
c19500018
.
descost
)
...
...
expansions/script/c19500035.lua
View file @
a600ce4f
...
...
@@ -42,7 +42,7 @@ function c19500035.filter(c)
return
c
:
IsSetCard
(
0x3990
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_MACHINE
)
and
not
c
:
IsForbidden
()
end
function
c19500035
.
matfilter1
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsFusionSetCard
(
0x3991
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsFusionSetCard
(
0x3991
)
and
c
:
IsType
(
TYPE_LINK
)
end
function
c19500035
.
matfilter2
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsFusionSetCard
(
0x3990
)
...
...
expansions/script/c9320004.lua
View file @
a600ce4f
...
...
@@ -59,12 +59,13 @@ function c9320004.discon(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
if
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
then
return
false
end
return
Duel
.
IsChainNegatable
(
ev
)
and
e
:
GetHandler
():
GetFlagEffectLabel
(
9321004
)
and
e
:
GetHandler
()
:
GetFlagEffectLabel
(
9321004
)
>
0
and
c
:
GetFlagEffectLabel
(
9321004
)
and
c
:
GetFlagEffectLabel
(
9321004
)
>
0
end
function
c9320004
.
desfilter
(
c
)
return
(
c
:
IsLocation
(
LOCATION_HAND
)
or
c
:
IsFaceup
())
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_DINOSAUR
)
end
function
c9320004
.
negtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c9320004
.
desfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
nil
)
and
c
:
GetFlagEffect
(
9320004
)
<
c
:
GetFlagEffectLabel
(
9321004
)
end
c
:
RegisterFlagEffect
(
9320004
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
...
...
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