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
Huangnan
no81cards
Commits
55c94fcc
Commit
55c94fcc
authored
May 06, 2023
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
9482a39e
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
17 deletions
+20
-17
expansions/script/c14000096.lua
expansions/script/c14000096.lua
+6
-3
expansions/script/c22348166.lua
expansions/script/c22348166.lua
+1
-1
expansions/script/c22348167.lua
expansions/script/c22348167.lua
+1
-1
expansions/script/c22348168.lua
expansions/script/c22348168.lua
+1
-1
expansions/script/c40009190.lua
expansions/script/c40009190.lua
+1
-1
expansions/script/c98920027.lua
expansions/script/c98920027.lua
+10
-10
No files found.
expansions/script/c14000096.lua
View file @
55c94fcc
...
...
@@ -39,16 +39,19 @@ function cm.actcon(e)
local
tp
=
e
:
GetHandlerPlayer
()
return
not
Duel
.
IsExistingMatchingCard
(
cm
.
setfilter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
end
function
cm
.
setfilter
(
c
)
function
cm
.
setfilter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
GetSequence
()
<
5
end
function
cm
.
setfilter1
(
c
)
return
cm
.
BRAVE
(
c
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsForbidden
()
end
function
cm
.
settg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
setfilter
1
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
end
end
function
cm
.
setop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
setfilter
1
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEDOWN
,
true
)
...
...
expansions/script/c22348166.lua
View file @
55c94fcc
...
...
@@ -19,7 +19,7 @@ function cm.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_LEAVE_GRAVE
+
CATEGORY_EQUIP
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e1
:
SetCountLimit
(
1
,
22349166
)
e1
:
SetCondition
(
c22348166
.
eqcon
)
e1
:
SetTarget
(
c22348166
.
eqtg
)
...
...
expansions/script/c22348167.lua
View file @
55c94fcc
...
...
@@ -19,7 +19,7 @@ function cm.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_LEAVE_GRAVE
+
CATEGORY_EQUIP
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e1
:
SetCountLimit
(
1
,
22349167
)
e1
:
SetCondition
(
c22348167
.
eqcon
)
e1
:
SetTarget
(
c22348167
.
eqtg
)
...
...
expansions/script/c22348168.lua
View file @
55c94fcc
...
...
@@ -12,7 +12,7 @@ function cm.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_LEAVE_GRAVE
+
CATEGORY_EQUIP
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e1
:
SetTarget
(
c22348168
.
eqtg
)
e1
:
SetOperation
(
c22348168
.
eqop
)
c
:
RegisterEffect
(
e1
)
...
...
expansions/script/c40009190.lua
View file @
55c94fcc
...
...
@@ -67,7 +67,7 @@ function cm.efop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e1
:
SetCategory
(
CATEGORY_TODECK
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_
CHAINING
)
e1
:
SetCode
(
EVENT_
FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_NO_TURN_RESET
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
,
m
+
1
)
...
...
expansions/script/c98920027.lua
View file @
55c94fcc
...
...
@@ -3,12 +3,12 @@ function c98920027.initial_effect(c)
--pendulum summon
aux
.
EnablePendulumAttribute
(
c
)
--synchro limit
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_BE_SYNCHRO_MATERIAL
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetValue
(
c98920027
.
synlimit
)
c
:
RegisterEffect
(
e1
)
local
e1
1
=
Effect
.
CreateEffect
(
c
)
e1
1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
1
:
SetCode
(
EFFECT_CANNOT_BE_SYNCHRO_MATERIAL
)
e1
1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
1
:
SetValue
(
c98920027
.
synlimit
)
c
:
RegisterEffect
(
e1
1
)
--draw
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
98920027
,
0
))
...
...
@@ -32,9 +32,9 @@ function c98920027.initial_effect(c)
e1
:
SetOperation
(
c98920027
.
thop
)
e1
:
SetCountLimit
(
1
,
98920027
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e2
)
local
e
1
2
=
e1
:
Clone
()
e
1
2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e
1
2
)
end
function
c98920027
.
synlimit
(
e
,
c
)
if
not
c
then
return
false
end
...
...
@@ -89,7 +89,7 @@ function c98920027.thop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetValue
(
c98920027
.
aclimit
)
e2
:
SetLabel
(
tc
:
GetCode
())
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e2
,
tp
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
end
end
...
...
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