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
152b2ddc
Commit
152b2ddc
authored
Aug 31, 2023
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
8cd95f4b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
expansions/script/c10133009.lua
expansions/script/c10133009.lua
+1
-1
expansions/script/c10171001.lua
expansions/script/c10171001.lua
+3
-2
No files found.
expansions/script/c10133009.lua
View file @
152b2ddc
...
@@ -25,7 +25,7 @@ function s.ceop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -25,7 +25,7 @@ function s.ceop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ChangeChainOperation
(
ev
,
s
.
repop
)
Duel
.
ChangeChainOperation
(
ev
,
s
.
repop
)
end
end
function
s
.
repop
(
e
,
tp
)
function
s
.
repop
(
e
,
tp
)
rsop
.
SelectSpecialSummon
(
1
-
tp
,
s
.
spfilter
,
1
-
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,{},
e
,
1
-
tp
)
rsop
.
SelectSpecialSummon
(
1
-
tp
,
s
.
spfilter
,
1
-
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,{
0
,
1
-
tp
,
1
-
tp
},
e
,
1
-
tp
)
end
end
function
s
.
hint
(
g
,
e
,
tp
)
function
s
.
hint
(
g
,
e
,
tp
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
...
...
expansions/script/c10171001.lua
View file @
152b2ddc
...
@@ -132,7 +132,7 @@ end
...
@@ -132,7 +132,7 @@ end
-------------------------
-------------------------
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
local
e2
=
rsef
.
QO
(
c
,
nil
,{
m
,
2
},
nil
,
"sp"
,
nil
,
LOCATION_HAND
+
LOCATION_MZONE
,
nil
,
rsds
.
cost1
,
rsop
.
target2
(
cm
.
resetfun
,
cm
.
spfilter
,
"sp"
,
LOCATION_HAND
),
cm
.
spop
)
local
e2
=
rsef
.
QO
(
c
,
nil
,{
m
,
2
},
nil
,
"sp"
,
nil
,
LOCATION_HAND
+
LOCATION_MZONE
,
nil
,
rsds
.
cost1
,
rsop
.
target2
(
cm
.
resetfun
,
cm
.
spfilter
,
"sp"
,
LOCATION_HAND
),
cm
.
spop
)
local
e3
=
rsef
.
QO
(
c
,
nil
,{
m
,
4
},
nil
,
"atk,def"
,
nil
,
LOCATION_HAND
+
LOCATION_MZONE
,
nil
,
rsds
.
cost1
,
rsop
.
target2
(
cm
.
resetfun
,
cm
.
atkfilter
,
"dum"
,
LOCATION_MZONE
,
LOCATION_MZONE
),
cm
.
atkop
)
local
e3
=
rsef
.
QO
(
c
,
nil
,{
m
,
4
},
nil
,
"atk,def"
,
"dsp"
,
LOCATION_HAND
+
LOCATION_MZONE
,
nil
,
rsds
.
cost1
,
rsop
.
target
(
cm
.
atkfilter
,
"dum"
,
LOCATION_MZONE
,
LOCATION_MZONE
),
cm
.
atkop
)
local
e4
=
rsef
.
FTF
(
c
,
EVENT_LEAVE_FIELD
,{
m
,
0
},
nil
,
"th"
,
nil
,
LOCATION_REMOVED
,
cm
.
embthcon
,
cm
.
embthcost
,
rsop
.
target
(
Card
.
IsAbleToHand
,
"th"
),
cm
.
embthop
)
local
e4
=
rsef
.
FTF
(
c
,
EVENT_LEAVE_FIELD
,{
m
,
0
},
nil
,
"th"
,
nil
,
LOCATION_REMOVED
,
cm
.
embthcon
,
cm
.
embthcost
,
rsop
.
target
(
Card
.
IsAbleToHand
,
"th"
),
cm
.
embthop
)
end
end
function
cm
.
recop
(
e
,
tp
)
function
cm
.
recop
(
e
,
tp
)
...
@@ -158,7 +158,7 @@ function cm.rmop(e,tp)
...
@@ -158,7 +158,7 @@ function cm.rmop(e,tp)
end
end
end
end
function
cm
.
atkfilter
(
c
,
e
,
tp
)
function
cm
.
atkfilter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
(
e
:
GetLabel
()
~=
100
or
c
~=
e
:
GetHandler
())
and
c
:
IsSetCard
(
0xa335
,
0xc335
)
return
c
:
IsFaceup
()
and
(
not
e
:
IsCostChecked
()
or
c
~=
e
:
GetHandler
()
)
end
end
function
cm
.
atkop
(
e
,
tp
)
function
cm
.
atkop
(
e
,
tp
)
local
ct
=
rsop
.
SelectSolve
(
HINTMSG_FACEUP
,
tp
,
cm
.
atkfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
aux
.
ExceptThisCard
(
e
),
cm
.
solvefun
,
e
,
tp
)
local
ct
=
rsop
.
SelectSolve
(
HINTMSG_FACEUP
,
tp
,
cm
.
atkfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
aux
.
ExceptThisCard
(
e
),
cm
.
solvefun
,
e
,
tp
)
...
@@ -166,6 +166,7 @@ end
...
@@ -166,6 +166,7 @@ end
function
cm
.
solvefun
(
g
,
e
,
tp
)
function
cm
.
solvefun
(
g
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
Duel
.
HintSelection
(
Group
.
FromCards
(
tc
))
local
e1
,
e2
=
rscf
.
QuickBuff
({
c
,
tc
},
"atk+,def+"
,
500
,
"rst"
,
rsreset
.
est_pend
)
local
e1
,
e2
=
rscf
.
QuickBuff
({
c
,
tc
},
"atk+,def+"
,
500
,
"rst"
,
rsreset
.
est_pend
)
tc
:
RegisterFlagEffect
(
m
,
rsreset
.
est_pend
-
RESET_LEAVE
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
m
,
5
))
tc
:
RegisterFlagEffect
(
m
,
rsreset
.
est_pend
-
RESET_LEAVE
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
m
,
5
))
local
e3
,
e4
=
rsef
.
FV_CANNOT_DISABLE
({
c
,
tp
},
"neg,dise"
,
cm
.
imval
(
tc
),
nil
,
nil
,
nil
,
rsreset
.
pend
)
local
e3
,
e4
=
rsef
.
FV_CANNOT_DISABLE
({
c
,
tp
},
"neg,dise"
,
cm
.
imval
(
tc
),
nil
,
nil
,
nil
,
rsreset
.
pend
)
...
...
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