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
Soulgamer
ygopro-222DIY-cards
Commits
ba48317f
Commit
ba48317f
authored
May 08, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
str
parent
da84f04e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
30 deletions
+13
-30
expansions/script/c75646970.lua
expansions/script/c75646970.lua
+4
-28
expansions/script/c75646971.lua
expansions/script/c75646971.lua
+8
-0
expansions/script/c81046016.lua
expansions/script/c81046016.lua
+1
-2
No files found.
expansions/script/c75646970.lua
View file @
ba48317f
--纯白花嫁 希儿
local
m
=
75646970
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c33503600.lua"
)
cm
.
dfc_front_side
=
m
cm
.
dfc_back_side
=
m
+
1
cm
.
code
=
75646970
...
...
@@ -77,33 +78,8 @@ end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
GetMZoneCount
(
tp
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
m
+
1
,
0xa2c2
,
0x21
,
2800
,
2000
,
8
,
RACE_PSYCHO
,
ATTRIBUTE_WATER
)
then
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_MOVE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_SET_AVAILABLE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetLabel
(
c
.
dfc_front_side
)
e1
:
SetCondition
(
cm
.
backon
)
e1
:
SetOperation
(
cm
.
backop
)
c
:
RegisterEffect
(
e1
)
local
tcode
=
c
.
dfc_back_side
c
:
SetEntityCode
(
tcode
,
true
)
c
:
ReplaceEffect
(
tcode
,
RESET_EVENT
+
0x7e0000
)
c
:
RegisterFlagEffect
(
m
,
0
,
0
,
0
)
Duel
.
SpecialSummonComplete
()
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
and
Suyu_bh
.
c_code
(
c
)
then
Suyu_bh
.
changecode
(
c
)
end
end
end
function
cm
.
backon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
e
:
GetHandler
():
GetFlagEffect
(
m
)
>
0
end
function
cm
.
backop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tcode
=
e
:
GetLabel
()
c
:
SetEntityCode
(
tcode
)
Duel
.
ConfirmCards
(
tp
,
Group
.
FromCards
(
c
))
Duel
.
ConfirmCards
(
1
-
tp
,
Group
.
FromCards
(
c
))
c
:
ReplaceEffect
(
tcode
,
0
,
0
)
c
:
ResetFlagEffect
(
m
)
end
\ No newline at end of file
expansions/script/c75646971.lua
View file @
ba48317f
...
...
@@ -3,6 +3,9 @@ local m=75646971
local
cm
=
_G
[
"c"
..
m
]
cm
.
dfc_front_side
=
m
-
1
cm
.
dfc_back_side
=
m
Duel
.
LoadScript
(
"c33503600.lua"
)
cm
.
code
=
75646970
cm
.
side_code
=
75646971
function
cm
.
initial_effect
(
c
)
--
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -23,6 +26,11 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetOperation
(
cm
.
chainop
)
c
:
RegisterEffect
(
e2
)
--
if
not
rk
.
Side_Check
then
rk
.
Side_Check
=
true
local
ce
=
rk
.
side_do
(
c
)
end
end
function
cm
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_ONFIELD
)
and
chkc
:
IsControler
(
1
-
tp
)
end
...
...
expansions/script/c81046016.lua
View file @
ba48317f
...
...
@@ -9,7 +9,6 @@ function cm.initial_effect(c)
--overlay
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCode
(
EVENT_CHAINING
)
...
...
@@ -24,7 +23,7 @@ function cm.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e
1
:
SetCountLimit
(
1
,
EFFECT_COUNT_CODE_SINGLE
)
e
3
:
SetCountLimit
(
1
,
EFFECT_COUNT_CODE_SINGLE
)
e3
:
SetCondition
(
cm
.
descon
)
e3
:
SetCost
(
cm
.
descost
)
e3
:
SetTarget
(
cm
.
destg
)
...
...
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