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
659e725b
Commit
659e725b
authored
May 03, 2022
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
8d141b1a
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
14 deletions
+13
-14
expansions/script/c11451549.lua
expansions/script/c11451549.lua
+3
-1
expansions/script/c11451652.lua
expansions/script/c11451652.lua
+1
-3
expansions/script/c29065901.lua
expansions/script/c29065901.lua
+6
-6
expansions/script/c29065902.lua
expansions/script/c29065902.lua
+0
-2
expansions/script/c33200057.lua
expansions/script/c33200057.lua
+1
-1
expansions/script/c53729006.lua
expansions/script/c53729006.lua
+1
-0
expansions/script/c79029527.lua
expansions/script/c79029527.lua
+1
-1
No files found.
expansions/script/c11451549.lua
View file @
659e725b
...
...
@@ -93,7 +93,9 @@ function cm.erop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
local
tg
=
g
:
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
#
tg
>
0
then
local
ct
=
Duel
.
SendtoDeck
(
tg
,
nil
,
2
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
tg
,
nil
,
2
,
REASON_EFFECT
)
local
og
=
Duel
.
GetOperatedGroup
()
local
ct
=
og
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_HAND
+
LOCATION_EXTRA
)
if
ct
>
0
then
local
rg
=
Duel
.
GetDecktopGroup
(
tp
,
ct
)
Duel
.
DisableShuffleCheck
()
...
...
expansions/script/c11451652.lua
View file @
659e725b
...
...
@@ -52,9 +52,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
reg
(
sc
,
se
,
bool
)
end
for
tc
in
aux
.
Next
(
g
)
do
if
tc
.
initial_effect
and
tc
:
GetOriginalType
()
&
TYPE_NORMAL
==
0
then
tc
:
ReplaceEffect
(
tc
:
GetOriginalCode
(),
0
)
elseif
tc
.
initial_effect
then
if
tc
.
initial_effect
then
local
ini
=
cm
.
initial_effect
cm
.
initial_effect
=
function
()
end
tc
:
ReplaceEffect
(
m
,
0
)
...
...
expansions/script/c29065901.lua
View file @
659e725b
...
...
@@ -40,30 +40,30 @@ function cm.replace(e,c,tp,sumtp,sumpos)
return
not
c
:
IsSetCard
(
0xaa
)
and
bit
.
band
(
sumtp
,
SUMMON_TYPE_PENDULUM
)
==
SUMMON_TYPE_PENDULUM
end
function
cm
.
check
(
c
)
return
c
:
GetFlagEffect
(
m
)
==
0
return
c
:
GetFlagEffect
(
m
)
==
0
and
c
:
IsSetCard
(
0xaa
)
and
c
:
IsType
(
TYPE_PENDULUM
)
end
function
cm
.
con
(
e
,
tp
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
check
,
tp
,
LOCATION_PZONE
,
0
,
1
,
nil
)
and
Duel
.
IsPlayerAffectedByEffect
(
e
:
GetHandlerPlayer
(),
m
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
check
,
tp
,
0x7f
,
0x7f
,
1
,
nil
)
end
function
cm
.
splimit
(
e
,
c
,
tp
,
sumtp
,
sumpos
)
return
not
c
:
IsSetCard
(
0xaa
)
end
function
cm
.
op
(
e
,
tp
)
local
rg
=
Duel
.
GetMatchingGroup
(
cm
.
check
,
tp
,
LOCATION_PZONE
,
0
,
nil
)
local
rg
=
Duel
.
GetMatchingGroup
(
cm
.
check
,
tp
,
0x7f
,
0
,
nil
)
for
tc
in
aux
.
Next
(
rg
)
do
table_effect
=
{}
clffunc
=
Card
.
RegisterEffect
Card
.
RegisterEffect
=
function
(
card
,
effect
,
flag
)
if
effect
and
effect
:
GetCode
()
~=
EFFECT_CANNOT_SPECIAL_SUMMON
then
if
effect
and
(
effect
:
GetCode
()
~=
EFFECT_CANNOT_SPECIAL_SUMMON
or
effect
:
GetRange
()
&
LOCATION_PZONE
==
0
)
then
local
eff
=
effect
:
Clone
()
table.insert
(
table_effect
,
eff
)
end
return
clffunc
(
card
,
effect
,
flag
)
end
tc
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
0
,
0
)
tc
:
RegisterFlagEffect
(
m
,
0
,
0
,
0
,
0
)
Duel
.
CreateToken
(
tp
,
tc
:
GetOriginalCode
())
Card
.
RegisterEffect
=
clffunc
local
cid2
=
tc
:
ReplaceEffect
(
m
+
1
,
RESET_EVENT
+
RESETS_STANDARD
,
1
)
local
cid2
=
tc
:
ReplaceEffect
(
m
+
1
,
0
,
1
)
for
key
,
eff
in
ipairs
(
table_effect
)
do
Card
.
RegisterEffect
(
tc
,
eff
,
true
)
end
...
...
expansions/script/c29065902.lua
View file @
659e725b
...
...
@@ -2,8 +2,6 @@
local
m
=
29065902
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
--pendulum summon
aux
.
EnablePendulumAttribute
(
c
)
--splimit
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
expansions/script/c33200057.lua
View file @
659e725b
...
...
@@ -14,7 +14,7 @@ function c33200057.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOGRAVE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCondition
(
c33200057
.
tgcon
)
e1
:
SetTarget
(
c33200057
.
tgtg
)
...
...
expansions/script/c53729006.lua
View file @
659e725b
...
...
@@ -44,6 +44,7 @@ end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
zone
=
e
:
GetHandler
():
GetLinkedZone
(
tp
)
&
0x1f
if
zone
==
0
or
not
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
math.log
(
zone
,
2
))
then
return
end
if
tp
==
1
then
zone
=
((
zone
&
0xffff
)
<<
16
)
|
((
zone
>>
16
)
&
0xffff
)
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_DISABLE_FIELD
)
...
...
expansions/script/c79029527.lua
View file @
659e725b
...
...
@@ -22,7 +22,7 @@ function c79029527.filter1(c,e,tp)
return
c
:
IsType
(
TYPE_LINK
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
and
rg
:
GetCount
()
>=
lv
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_LINK
,
tp
,
false
,
false
)
end
function
c79029527
.
filter3
(
c
)
return
c
:
IsAbleToDeck
()
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsAbleToDeck
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsFaceup
()
end
function
c79029527
.
filter2
(
c
)
return
c
:
IsType
(
TYPE_LINK
)
and
c
:
IsSetCard
(
0x11b
)
...
...
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