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
REIKAI
ygopro-222DIY-cards
Commits
0fb7bba0
Commit
0fb7bba0
authored
Nov 24, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hop
parent
0702468e
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
10 additions
and
14 deletions
+10
-14
expansions/script/c12866690.lua
expansions/script/c12866690.lua
+1
-1
expansions/script/c16114226.lua
expansions/script/c16114226.lua
+1
-0
expansions/script/c16114266.lua
expansions/script/c16114266.lua
+3
-4
expansions/script/c16114268.lua
expansions/script/c16114268.lua
+1
-2
expansions/script/c16114288.lua
expansions/script/c16114288.lua
+1
-0
expansions/script/c16199990.lua
expansions/script/c16199990.lua
+1
-1
expansions/script/c22100000.lua
expansions/script/c22100000.lua
+2
-6
No files found.
expansions/script/c12866690.lua
View file @
0fb7bba0
...
...
@@ -7,7 +7,7 @@ function s.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TOGRAVE
+
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetCountLimit
(
1
,
id
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCost
(
s
.
cost
)
e1
:
SetTarget
(
s
.
thtg
)
e1
:
SetOperation
(
s
.
thop
)
...
...
expansions/script/c16114226.lua
View file @
0fb7bba0
...
...
@@ -2,6 +2,7 @@
xpcall
(
function
()
dofile
(
"expansions/script/c16199990.lua"
)
end
,
function
()
dofile
(
"script/c16199990.lua"
)
end
)
local
m
,
cm
=
rk
.
set
(
16114226
,
nil
,
1
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
16114205
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DESTROY
)
...
...
expansions/script/c16114266.lua
View file @
0fb7bba0
...
...
@@ -18,15 +18,14 @@ function cm.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
2
))
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TOGRAVE
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_
CUSTOM
+
m
)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN_FORBIDDEN
)
e2
:
SetCode
(
EVENT_
RECOVER
)
e2
:
SetRange
(
LOCATION_REMOVED
)
e2
:
SetCountLimit
(
1
,
m
)
e2
:
SetCondition
(
cm
.
spcon2
)
e2
:
SetTarget
(
cm
.
sptg2
)
e2
:
SetOperation
(
cm
.
spop2
)
c
:
RegisterEffect
(
e2
)
aux
.
RegisterMergedDelayedEvent
(
c
,
m
,
EVENT_RECOVER
)
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToRemoveAsCost
()
end
...
...
@@ -81,7 +80,7 @@ function cm.tgcheck(c,tp)
end
function
cm
.
tgfilter
(
c
,
tc
)
local
typ
=
tc
:
GetType
()
&
0x7
return
not
c
:
IsType
(
typ
)
and
c
:
IsAbleToGrave
()
return
not
c
:
IsType
(
typ
)
and
c
:
IsAbleToGrave
()
and
c
:
IsSetCard
(
0xccf
)
end
function
cm
.
spop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c16114268.lua
View file @
0fb7bba0
...
...
@@ -16,7 +16,7 @@ function cm.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e2
:
SetCategory
(
CATEGORY_REMOVE
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_
CUSTOM
+
m
)
e2
:
SetCode
(
EVENT_
RECOVER
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetCountLimit
(
1
)
...
...
@@ -24,7 +24,6 @@ function cm.initial_effect(c)
e2
:
SetTarget
(
cm
.
cptg
)
e2
:
SetOperation
(
cm
.
cpop
)
c
:
RegisterEffect
(
e2
)
aux
.
RegisterMergedDelayedEvent
(
c
,
m
,
EVENT_RECOVER
)
--set
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
2
))
...
...
expansions/script/c16114288.lua
View file @
0fb7bba0
...
...
@@ -2,6 +2,7 @@
xpcall
(
function
()
dofile
(
"expansions/script/c16199990.lua"
)
end
,
function
()
dofile
(
"script/c16199990.lua"
)
end
)
local
m
,
cm
=
rk
.
set
(
16114288
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
16114247
)
--damage
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
...
...
expansions/script/c16199990.lua
View file @
0fb7bba0
if
not
pcall
(
function
()
dofile
(
"expansions/script/c16101100.lua"
)
end
)
then
dofile
(
"script/c16101100.lua"
)
end
if
rk
then
return
end
rk
=
rk
or
{}
local
loc_table_for_reikai
=
{
[
'dk'
]
=
LOCATION_DECK
,
...
...
expansions/script/c22100000.lua
View file @
0fb7bba0
...
...
@@ -61,14 +61,10 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e6
)
end
function
cm
.
atkval
(
e
,
c
)
local
atk
=
c
:
GetAttack
()
if
c
:
GetControler
()
~=
e
:
GetHandlerPlayer
()
then
atk
=-
atk
/
2
end
return
atk
return
math.ceil
(
c
:
GetAttack
())
end
function
cm
.
defval
(
e
,
c
)
local
atk
=
c
:
GetAttack
()
if
c
:
GetControler
()
~=
e
:
GetHandlerPlayer
()
then
atk
=-
atk
/
2
end
return
atk
return
math.ceil
(
c
:
GetDefense
())
end
function
cm
.
atkval1
(
e
,
c
)
return
math.ceil
(
-
c
:
GetAttack
()
/
2
)
...
...
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