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
e4ce83d2
Commit
e4ce83d2
authored
May 16, 2025
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
9c3b85e3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
22 deletions
+14
-22
expansions/script/c28317923.lua
expansions/script/c28317923.lua
+13
-21
expansions/script/c76029017.lua
expansions/script/c76029017.lua
+1
-1
No files found.
expansions/script/c28317923.lua
View file @
e4ce83d2
...
...
@@ -31,11 +31,15 @@ function c28317923.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e3
:
SetCode
(
EVENT_CUSTOM
+
28317923
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetRange
(
LOCATION_HAND
+
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_HAND
)
e3
:
SetCondition
(
c28317923
.
tgcon
)
e3
:
SetTarget
(
c28317923
.
tgtg
)
e3
:
SetOperation
(
c28317923
.
tgop
)
c
:
RegisterEffect
(
e3
)
local
ee3
=
e3
:
Clone
()
ee3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
ee3
:
SetRange
(
LOCATION_MZONE
)
c
:
RegisterEffect
(
ee3
)
if
not
c28317923
.
global_check
then
c28317923
.
global_check
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -49,28 +53,16 @@ end
function
c28317923
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
eg
:
Clone
()
g
:
KeepAlive
()
if
eg
:
IsExists
(
Card
.
IsSummonPlayer
,
1
,
nil
,
0
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_CHAIN_END
)
e1
:
SetLabel
(
0
)
e1
:
SetLabelObject
(
g
)
e1
:
SetOperation
(
c28317923
.
regop
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
if
eg
:
IsExists
(
Card
.
IsSummonPlayer
,
1
,
nil
,
1
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_CHAIN_END
)
e1
:
SetLabel
(
1
)
e1
:
SetLabelObject
(
g
)
e1
:
SetOperation
(
c28317923
.
regop
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_CHAIN_END
)
e1
:
SetLabelObject
(
g
)
e1
:
SetOperation
(
c28317923
.
regop
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
c28317923
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
e
:
GetLabelObject
()
Duel
.
RaiseEvent
(
g
,
EVENT_CUSTOM
+
28317923
,
e
,
0
,
0
,
e
:
GetLabel
()
,
0
)
Duel
.
RaiseEvent
(
g
,
EVENT_CUSTOM
+
28317923
,
e
,
0
,
0
,
0
,
0
)
g
:
DeleteGroup
()
e
:
Reset
()
end
...
...
@@ -163,7 +155,7 @@ function c28317923.fsop(e,tp,eg,ep,ev,re,r,rp)
aux
.
FCheckAdditional
=
nil
end
function
c28317923
.
tgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
eg
:
IsContains
(
e
:
GetHandler
())
and
tp
==
ep
--eg:IsExists(Card.IsSummonPlayer,1,nil,tp)
return
not
eg
:
IsContains
(
e
:
GetHandler
())
and
eg
:
IsExists
(
Card
.
IsSummonPlayer
,
1
,
nil
,
tp
)
-- and tp==ep
end
function
c28317923
.
tgfilter
(
c
)
return
c
:
IsSetCard
(
0x285
)
and
c
:
IsAbleToGrave
()
...
...
expansions/script/c76029017.lua
View file @
e4ce83d2
...
...
@@ -21,7 +21,7 @@ function c76029017.initial_effect(c)
c
:
RegisterEffect
(
e2
)
--to hand or SpecialSummon
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DECKDES
+
CATEGORY_SEARCH
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_LEAVE_FIELD
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
...
...
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