Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
no81cards
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
Nemo Ma
no81cards
Commits
96aae200
Commit
96aae200
authored
Dec 15, 2024
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
85370fa6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
3 deletions
+13
-3
expansions/script/c65131100.lua
expansions/script/c65131100.lua
+8
-0
expansions/script/c65131112.lua
expansions/script/c65131112.lua
+4
-2
expansions/script/c65131118.lua
expansions/script/c65131118.lua
+1
-1
No files found.
expansions/script/c65131100.lua
View file @
96aae200
...
@@ -6,6 +6,7 @@ function s.initial_effect(c)
...
@@ -6,6 +6,7 @@ function s.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_XMATERIAL
+
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_XMATERIAL
+
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EVENT_ADJUST
)
e1
:
SetCode
(
EVENT_ADJUST
)
e1
:
SetCondition
(
s
.
xcon
)
e1
:
SetOperation
(
s
.
xop
)
e1
:
SetOperation
(
s
.
xop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
if
not
s
.
global_check
then
if
not
s
.
global_check
then
...
@@ -86,6 +87,8 @@ function s.ChangeCard(card1,card2,seq)
...
@@ -86,6 +87,8 @@ function s.ChangeCard(card1,card2,seq)
Duel
.
DisableShuffleCheck
()
Duel
.
DisableShuffleCheck
()
card1
:
ReplaceEffect
(
code2
,
0
,
0
)
card1
:
ReplaceEffect
(
code2
,
0
,
0
)
card1
:
SetEntityCode
(
code2
)
card1
:
SetEntityCode
(
code2
)
Duel
.
RaiseEvent
(
card1
,
EVENT_CUSTOM
+
65131100
,
Effect
.
GlobalEffect
(),
0
,
0
,
0
,
0
)
Duel
.
RaiseSingleEvent
(
card1
,
EVENT_CUSTOM
+
65131100
,
Effect
.
GlobalEffect
(),
0
,
0
,
0
,
0
)
end
end
if
card2
:
IsLocation
(
LOCATION_DECK
)
then
if
card2
:
IsLocation
(
LOCATION_DECK
)
then
Duel
.
DisableShuffleCheck
()
Duel
.
DisableShuffleCheck
()
...
@@ -95,6 +98,8 @@ function s.ChangeCard(card1,card2,seq)
...
@@ -95,6 +98,8 @@ function s.ChangeCard(card1,card2,seq)
Duel
.
DisableShuffleCheck
()
Duel
.
DisableShuffleCheck
()
card2
:
ReplaceEffect
(
code1
,
0
,
0
)
card2
:
ReplaceEffect
(
code1
,
0
,
0
)
card2
:
SetEntityCode
(
code1
)
card2
:
SetEntityCode
(
code1
)
Duel
.
RaiseEvent
(
card2
,
EVENT_CUSTOM
+
65131100
,
Effect
.
GlobalEffect
(),
0
,
0
,
0
,
0
)
Duel
.
RaiseSingleEvent
(
card2
,
EVENT_CUSTOM
+
65131100
,
Effect
.
GlobalEffect
(),
0
,
0
,
0
,
0
)
end
end
end
end
function
s
.
lostfilter
(
c
)
function
s
.
lostfilter
(
c
)
...
@@ -125,6 +130,9 @@ function s.lostop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -125,6 +130,9 @@ function s.lostop(e,tp,eg,ep,ev,re,r,rp)
elseif
not
Islost1
and
Islost2
then
Duel
.
Win
(
0
,
0x0
)
elseif
not
Islost1
and
Islost2
then
Duel
.
Win
(
0
,
0x0
)
else
Duel
.
Win
(
PLAYER_NONE
,
0x0
)
end
else
Duel
.
Win
(
PLAYER_NONE
,
0x0
)
end
end
end
function
s
.
xcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_ONFIELD
)
end
function
s
.
xop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
xop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
86541496
)
Duel
.
Hint
(
HINT_CARD
,
0
,
86541496
)
local
g
=
Duel
.
GetOverlayGroup
(
0
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
local
g
=
Duel
.
GetOverlayGroup
(
0
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
...
...
expansions/script/c65131112.lua
View file @
96aae200
...
@@ -32,7 +32,7 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -32,7 +32,7 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
setfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
setfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
local
dc
=
g
:
GetFirst
()
local
dc
=
g
:
GetFirst
()
if
Duel
.
SSet
(
tp
,
dc
,
tp
,
false
)
==
0
then
return
end
if
Duel
.
SSet
(
tp
,
dc
,
tp
,
false
)
==
0
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
2
))
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
2
))
...
@@ -86,5 +86,7 @@ function s.reop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -86,5 +86,7 @@ function s.reop(e,tp,eg,ep,ev,re,r,rp)
local
te
=
e
:
GetLabelObject
()
local
te
=
e
:
GetLabelObject
()
local
rc
=
te
:
GetHandler
()
local
rc
=
te
:
GetHandler
()
rc
:
CancelToGrave
()
rc
:
CancelToGrave
()
Duel
.
SendtoHand
(
rc
,
tp
,
REASON_EFFECT
)
if
Duel
.
SendtoHand
(
rc
,
tp
,
REASON_EFFECT
)
==
0
then
rc
:
CancelToGrave
(
true
)
end
end
end
\ No newline at end of file
expansions/script/c65131118.lua
View file @
96aae200
...
@@ -41,7 +41,7 @@ function s.checkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -41,7 +41,7 @@ function s.checkop(e,tp,eg,ep,ev,re,r,rp)
end
end
local
g
=
Duel
.
GetFieldGroup
(
0
,
0xff
,
0xff
):
Filter
(
s
.
checkfilter
,
nil
)
local
g
=
Duel
.
GetFieldGroup
(
0
,
0xff
,
0xff
):
Filter
(
s
.
checkfilter
,
nil
)
for
tc
in
aux
.
Next
(
g
)
do
for
tc
in
aux
.
Next
(
g
)
do
tc
:
SetHint
(
CHINT_NUMBER
,
Duel
.
GetFlagEffect
(
c
:
GetControler
(),
id
))
tc
:
SetHint
(
CHINT_NUMBER
,
Duel
.
GetFlagEffect
(
t
c
:
GetControler
(),
id
))
end
end
end
end
function
s
.
filter
(
c
,
dam
)
function
s
.
filter
(
c
,
dam
)
...
...
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