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
46a89ec3
Commit
46a89ec3
authored
Feb 22, 2025
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
d4557247
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
64 additions
and
6 deletions
+64
-6
expansions/script/c11451853.lua
expansions/script/c11451853.lua
+5
-4
expansions/script/c11451907.lua
expansions/script/c11451907.lua
+2
-2
expansions/script/c22021860.lua
expansions/script/c22021860.lua
+57
-0
No files found.
expansions/script/c11451853.lua
View file @
46a89ec3
...
@@ -418,12 +418,13 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -418,12 +418,13 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
for
tc
in
aux
.
Next
(
rg
)
do
for
tc
in
aux
.
Next
(
rg
)
do
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_TRIGGER
)
if
tc
:
IsLocation
(
LOCATION_SZONE
)
then
e1
:
SetCode
(
EFFECT_CANNOT_TRIGGER
)
else
e1
:
SetCode
(
EFFECT_CANNOT_FLIP_SUMMON
)
end
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_CANNOT_FLIP_SUMMON
)
tc
:
RegisterEffect
(
e2
)
end
end
end
end
end
end
...
...
expansions/script/c11451907.lua
View file @
46a89ec3
...
@@ -271,7 +271,7 @@ function cm.cpop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -271,7 +271,7 @@ function cm.cpop(e,tp,eg,ep,ev,re,r,rp)
local
tc1
=
g
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_MZONE
):
GetFirst
()
local
tc1
=
g
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_MZONE
):
GetFirst
()
local
tc2
=
g
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_GRAVE
):
GetFirst
()
local
tc2
=
g
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_GRAVE
):
GetFirst
()
if
c
:
IsRelateToEffect
(
e
)
and
tc1
and
tc1
:
IsFaceup
()
and
tc2
then
if
c
:
IsRelateToEffect
(
e
)
and
tc1
and
tc1
:
IsFaceup
()
and
tc2
then
local
code
=
tc2
:
GetOriginalCode
Rule
()
local
code
=
tc2
:
GetOriginalCode
()
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
...
@@ -284,7 +284,7 @@ function cm.cpop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -284,7 +284,7 @@ function cm.cpop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
code
)
e1
:
SetValue
(
code
)
tc1
:
RegisterEffect
(
e1
)
tc1
:
RegisterEffect
(
e1
)
--local c1,c2=tc1:GetCode() Debug.Message(c2)
--local c1,c2=tc1:GetCode() Debug.Message(c2)
if
tc1
:
GetFlagEffect
(
0xffffff
+
code
+
m
)
==
0
then
if
tc1
:
Get
OriginalCode
()
~=
code
and
tc1
:
Get
FlagEffect
(
0xffffff
+
code
+
m
)
==
0
then
tc1
:
CopyEffect
(
code
,
RESET_EVENT
+
RESETS_STANDARD
)
tc1
:
CopyEffect
(
code
,
RESET_EVENT
+
RESETS_STANDARD
)
tc1
:
RegisterFlagEffect
(
0xffffff
+
code
+
m
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
tc1
:
RegisterFlagEffect
(
0xffffff
+
code
+
m
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
end
end
...
...
expansions/script/c22021860.lua
0 → 100644
View file @
46a89ec3
--葛饰北斋
function
c22021860
.
initial_effect
(
c
)
--pendulum summon
aux
.
EnablePendulumAttribute
(
c
)
--cannot remove
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_REMOVE
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetTargetRange
(
LOCATION_GRAVE
,
LOCATION_GRAVE
)
e1
:
SetCondition
(
c22021860
.
con1
)
c
:
RegisterEffect
(
e1
)
--cannot ACTIVATE
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetTargetRange
(
1
,
1
)
e2
:
SetCondition
(
c22021860
.
con2
)
e2
:
SetValue
(
c22021860
.
aclimit
)
c
:
RegisterEffect
(
e2
)
--cannot spsummon
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e3
:
SetRange
(
LOCATION_PZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e3
:
SetTargetRange
(
1
,
1
)
e3
:
SetCondition
(
c22021860
.
con3
)
e3
:
SetTarget
(
c22021860
.
splimit
)
c
:
RegisterEffect
(
e3
)
end
function
c22021860
.
aclimit
(
e
,
re
,
tp
)
return
re
:
GetActivateLocation
()
==
LOCATION_GRAVE
end
function
c22021860
.
splimit
(
e
,
c
)
return
c
:
IsLocation
(
LOCATION_GRAVE
)
end
function
c22021860
.
cfilter1
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_RITUAL
)
end
function
c22021860
.
con1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c22021860
.
cfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
function
c22021860
.
cfilter2
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_FUSION
)
end
function
c22021860
.
con2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c22021860
.
cfilter2
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
function
c22021860
.
cfilter3
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_LINK
)
end
function
c22021860
.
con3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c22021860
.
cfilter3
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
\ No newline at end of file
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