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
907d9fa2
Commit
907d9fa2
authored
Aug 23, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
78e07f65
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
14 deletions
+16
-14
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c12084010.lua
expansions/script/c12084010.lua
+13
-12
expansions/script/c12084011.lua
expansions/script/c12084011.lua
+1
-1
expansions/script/c19500035.lua
expansions/script/c19500035.lua
+1
-1
expansions/script/c33501024.lua
expansions/script/c33501024.lua
+1
-0
No files found.
expansions/222DIY.cdb
View file @
907d9fa2
No preview for this file type
expansions/script/c12084010.lua
View file @
907d9fa2
...
...
@@ -4,7 +4,7 @@ local cm=_G["c"..m]
Duel
.
LoadScript
(
"c12084001.lua"
)
function
cm
.
initial_effect
(
c
)
--synchro summon
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x9fa8
),
nil
,
1
,
1
)
aux
.
AddSynchroProcedure
(
c
,
aux
.
Tuner
(
nil
),
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x9fa8
)
,
1
,
1
)
c
:
EnableReviveLimit
()
--destroy
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -19,17 +19,18 @@ function cm.initial_effect(c)
e3
:
SetOperation
(
cm
.
desop
)
c
:
RegisterEffect
(
e3
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_NEGATE
+
CATEGORY_DESTROY
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
,
m
+
100
)
e3
:
SetCondition
(
cm
.
discon
)
e3
:
SetTarget
(
cm
.
distg
)
e3
:
SetOperation
(
cm
.
disop
)
c
:
RegisterEffect
(
e3
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e4
:
SetCategory
(
CATEGORY_NEGATE
+
CATEGORY_DESTROY
)
e4
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e4
:
SetCode
(
EVENT_CHAINING
)
e4
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCountLimit
(
1
,
m
+
100
)
e4
:
SetCondition
(
cm
.
discon
)
e4
:
SetTarget
(
cm
.
distg
)
e4
:
SetOperation
(
cm
.
disop
)
c
:
RegisterEffect
(
e4
)
end
function
cm
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
Duel
.
IsChainNegatable
(
ev
)
...
...
expansions/script/c12084011.lua
View file @
907d9fa2
...
...
@@ -4,7 +4,7 @@ local cm=_G["c"..m]
Duel
.
LoadScript
(
"c12084001.lua"
)
function
cm
.
initial_effect
(
c
)
--synchro summon
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x9fa8
),
nil
,
1
,
1
)
aux
.
AddSynchroProcedure
(
c
,
aux
.
Tuner
(
nil
),
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x9fa8
)
,
1
,
1
)
c
:
EnableReviveLimit
()
--destroy
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c19500035.lua
View file @
907d9fa2
...
...
@@ -3,7 +3,7 @@ function c19500035.initial_effect(c)
--fusion
c
:
EnableReviveLimit
()
aux
.
AddFusionProcCodeFun
(
c
,
c19500035
.
matfilter1
,
c19500035
.
matfilter2
,
7
,
true
,
true
)
aux
.
AddContactFusionProcedure
(
c
,
Card
.
IsAbleToRemoveAsCost
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
Duel
.
Remove
,
POS_FACEUP
,
REASON_COST
)
--
aux.AddContactFusionProcedure(c,Card.IsAbleToRemoveAsCost,LOCATION_MZONE+LOCATION_GRAVE,0,Duel.Remove,POS_FACEUP,REASON_COST)
--spsummon condition
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c33501024.lua
View file @
907d9fa2
...
...
@@ -15,6 +15,7 @@ function cm.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e2
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetTarget
(
cm
.
tg2
)
e2
:
SetTargetRange
(
LOCATION_ONFIELD
,
LOCATION_ONFIELD
)
...
...
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