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
Ai
ygopro-222DIY-cards
Commits
aae3f4a2
Commit
aae3f4a2
authored
Mar 28, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得得得得得
parent
7d8cdcac
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
3 deletions
+5
-3
expansions/script/c16172006.lua
expansions/script/c16172006.lua
+1
-1
expansions/script/c16172015.lua
expansions/script/c16172015.lua
+1
-0
expansions/script/c16199990.lua
expansions/script/c16199990.lua
+2
-1
expansions/script/c39101036.lua
expansions/script/c39101036.lua
+1
-1
No files found.
expansions/script/c16172006.lua
View file @
aae3f4a2
...
@@ -143,7 +143,7 @@ function cm.spop(e,tp)
...
@@ -143,7 +143,7 @@ function cm.spop(e,tp)
e1
:
SetReset
(
RESET_EVENT
+
0x7e0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x7e0000
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterFlagEffect
(
16100000
,
RESET_EVENT
+
0x7e0000
,
0
,
0
)
c
:
RegisterFlagEffect
(
16100000
,
RESET_EVENT
+
0x7e0000
,
0
,
0
)
c
:
ReplaceEffect
(
m
+
1
,
RESET_EVENT
+
0x7e0000
)
c
:
ReplaceEffect
(
side_code
,
RESET_EVENT
+
0x7e0000
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
end
...
...
expansions/script/c16172015.lua
View file @
aae3f4a2
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
local
m
=
16172015
local
m
=
16172015
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x2cc
,
LOCATION_MZONE
)
--
--
c
:
SetSPSummonOnce
(
m
)
c
:
SetSPSummonOnce
(
m
)
--special summon
--special summon
...
...
expansions/script/c16199990.lua
View file @
aae3f4a2
...
@@ -250,7 +250,7 @@ function rk.backop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -250,7 +250,7 @@ function rk.backop(e,tp,eg,ep,ev,re,r,rp)
end
end
local
Reg
=
Card
.
RegisterEffect
local
Reg
=
Card
.
RegisterEffect
function
Card
.
RegisterEffect
(
card
,
effect
,
flag
)
function
Card
.
RegisterEffect
(
card
,
effect
,
flag
)
if
effect
:
IsHasProperty
(
EFFECT_FLAG_UNCOPYABLE
)
then
if
effect
:
IsHasProperty
(
EFFECT_FLAG_UNCOPYABLE
)
and
c
:
GetFlagEffect
(
16199999
)
==
0
then
local
er
=
effect
:
Clone
()
local
er
=
effect
:
Clone
()
Reg
(
c
,
er
,
true
)
Reg
(
c
,
er
,
true
)
Debug
.
Message
(
1
)
Debug
.
Message
(
1
)
...
@@ -265,6 +265,7 @@ function rk.backop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -265,6 +265,7 @@ function rk.backop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ShuffleHand
(
sp
)
Duel
.
ShuffleHand
(
sp
)
end
end
Card
.
RegisterEffect
=
Reg
Card
.
RegisterEffect
=
Reg
c
:
RegisterFlagEffect
(
16199999
,
0
,
0
,
0
)
end
end
Duel
.
Readjust
()
Duel
.
Readjust
()
end
end
...
...
expansions/script/c39101036.lua
View file @
aae3f4a2
...
@@ -43,7 +43,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -43,7 +43,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
m
,
0xd42
,
0x11
,
3100
,
2500
,
10
,
RACE_ROCK
,
ATTRIBUTE_WATER
)
then
return
end
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
m
,
0xd42
,
0x11
,
3100
,
2500
,
10
,
RACE_ROCK
,
ATTRIBUTE_WATER
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_SPELL
)
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_SPELL
)
if
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
then
if
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
then
local
reset_flag
=
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
local
reset_flag
=
RESET_EVENT
+
0x1fe0000
c
:
CopyEffect
(
code
,
reset_flag
,
1
)
c
:
CopyEffect
(
code
,
reset_flag
,
1
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
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