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
6b54177c
Commit
6b54177c
authored
Nov 22, 2023
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
bc4bac19
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
expansions/script/c11630211.lua
expansions/script/c11630211.lua
+2
-2
expansions/script/c9910853.lua
expansions/script/c9910853.lua
+4
-1
No files found.
expansions/script/c11630211.lua
View file @
6b54177c
...
@@ -103,14 +103,14 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -103,14 +103,14 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local
e5
=
Effect
.
CreateEffect
(
c
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
)
e5
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e5
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e5
:
SetCode
(
EFFECT_SET_ATTACK
_FINAL
)
e5
:
SetCode
(
EFFECT_SET_ATTACK
)
e5
:
SetValue
(
atk
)
e5
:
SetValue
(
atk
)
e5
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
)
e5
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
)
token
:
RegisterEffect
(
e5
,
true
)
token
:
RegisterEffect
(
e5
,
true
)
local
e6
=
Effect
.
CreateEffect
(
c
)
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
)
e6
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e6
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e6
:
SetCode
(
EFFECT_SET_
BASE_DEFENSE_FINAL
)
e6
:
SetCode
(
EFFECT_SET_
DEFENSE
)
e6
:
SetValue
(
def
)
e6
:
SetValue
(
def
)
e6
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
)
e6
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
)
token
:
RegisterEffect
(
e6
,
true
)
token
:
RegisterEffect
(
e6
,
true
)
...
...
expansions/script/c9910853.lua
View file @
6b54177c
...
@@ -82,9 +82,12 @@ function c9910853.retcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -82,9 +82,12 @@ function c9910853.retcost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToHandAsCost
()
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToHandAsCost
()
end
Duel
.
SendtoHand
(
e
:
GetHandler
(),
nil
,
REASON_COST
)
Duel
.
SendtoHand
(
e
:
GetHandler
(),
nil
,
REASON_COST
)
end
end
function
c9910853
.
cffilter
(
c
)
return
not
c
:
IsPublic
()
end
function
c9910853
.
retop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c9910853
.
retop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_HAND
,
nil
,
1
-
tp
)
local
g
=
Duel
.
GetMatchingGroup
(
c9910853
.
cffilter
,
tp
,
0
,
LOCATION_HAND
,
nil
)
local
ct
=
g
:
GetCount
()
local
ct
=
g
:
GetCount
()
if
ct
<=
0
then
return
end
if
ct
<=
0
then
return
end
if
ct
>
2
then
ct
=
2
end
if
ct
>
2
then
ct
=
2
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