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
4d33b57c
Commit
4d33b57c
authored
Jun 03, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
18a502af
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
2 deletions
+22
-2
expansions/script/c11561058.lua
expansions/script/c11561058.lua
+3
-0
expansions/script/c53702500.lua
expansions/script/c53702500.lua
+19
-2
No files found.
expansions/script/c11561058.lua
View file @
4d33b57c
...
...
@@ -56,6 +56,9 @@ function c11561058.xbop(e,tp,eg,ep,ev,re,r,rp)
local
ac
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PARAM
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsCode
,
tp
,
0
,
LOCATION_HAND
,
nil
,
ac
)
local
ct
local
hg
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_HAND
)
if
hg
:
GetCount
()
==
0
then
return
end
Duel
.
ConfirmCards
(
tp
,
hg
)
if
g
:
GetCount
()
>
0
then
ct
=
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
+
REASON_DISCARD
)
c11561058
[
1
-
tp
]
=
c11561058
[
1
-
tp
]
+
ct
...
...
expansions/script/c53702500.lua
View file @
4d33b57c
...
...
@@ -4660,7 +4660,7 @@ end
function
cm
.
ActivatedAsSpellorTrap
(
c
,
otyp
,
loc
,
setava
,
owne
)
local
e1
=
nil
if
owne
then
e1
=
owne
else
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
=
Effect
.
CreateEffect
(
c
)
if
otyp
&
(
TYPE_TRAP
+
TYPE_QUICKPLAY
)
~=
0
then
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
@@ -4936,6 +4936,7 @@ function cm.AASTcostop(otyp)
elseif
not
c
:
IsLocation
(
LOCATION_SZONE
)
then
Duel
.
MoveToField
(
c
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
false
)
end
if
c
:
IsPreviousLocation
(
LOCATION_HAND
)
then
c
:
SetStatus
(
STATUS_ACT_FROM_HAND
,
true
)
end
xe1
:
SetLabel
(
c
:
GetSequence
()
+
1
,
otyp
)
e0
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TURN_SET
)
c
:
CreateEffectRelation
(
te
)
...
...
@@ -5608,9 +5609,25 @@ function cm.ActivatedAsSpellorTrapCheck(c)
end
return
table.unpack
(
t
)
end
ADIMI_NegateActivation
=
Duel
.
NegateActivation
Duel
.
NegateActivation
=
function
(
chainc
)
local
re
=
ADIMI_GetChainInfo
(
chainc
,
CHAININFO_TRIGGERING_EFFECT
)
local
xe
=
{}
if
re
and
re
:
GetHandler
()
then
xe
=
{
re
:
GetHandler
():
IsHasEffect
(
53765099
)}
end
local
b
=
false
for
_
,
v
in
pairs
(
xe
)
do
if
re
==
v
:
GetLabelObject
()
then
b
=
true
end
end
local
res
=
ADIMI_NegateActivation
(
chainc
)
if
res
and
b
then
local
rc
=
re
:
GetHandler
()
if
rc
and
rc
:
IsRelateToEffect
(
re
)
and
not
(
rc
:
IsOnField
()
and
rc
:
IsFacedown
())
then
rc
:
SetStatus
(
STATUS_ACTIVATE_DISABLED
,
true
)
end
end
return
res
end
ADIMI_ChangeChainOperation
=
Duel
.
ChangeChainOperation
Duel
.
ChangeChainOperation
=
function
(
chainc
,
...
)
local
re
=
Duel
.
GetChainInfo
(
chainc
,
CHAININFO_TRIGGERING_EFFECT
)
local
re
=
ADIMI_
GetChainInfo
(
chainc
,
CHAININFO_TRIGGERING_EFFECT
)
local
xe
=
{}
if
re
and
re
:
GetHandler
()
then
xe
=
{
re
:
GetHandler
():
IsHasEffect
(
53765099
)}
end
local
b
=
false
...
...
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