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
08c1f3d7
Commit
08c1f3d7
authored
Aug 12, 2023
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
ba7a53b1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
3 deletions
+30
-3
expansions/script/c11450998.lua
expansions/script/c11450998.lua
+16
-0
expansions/script/c11451623.lua
expansions/script/c11451623.lua
+13
-2
expansions/script/c11560707.lua
expansions/script/c11560707.lua
+1
-1
No files found.
expansions/script/c11450998.lua
View file @
08c1f3d7
...
@@ -88,11 +88,27 @@ function cm.imop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -88,11 +88,27 @@ function cm.imop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_CHAIN_SOLVING
)
e1
:
SetCode
(
EVENT_CHAIN_SOLVING
)
e1
:
SetCondition
(
cm
.
flcon
)
e1
:
SetOperation
(
cm
.
thop
)
e1
:
SetOperation
(
cm
.
thop
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
if
not
Duel
.
SelectYesNo
(
1
-
tp
,
aux
.
Stringid
(
m
,
2
))
then
e1
:
SetLabel
(
1
)
end
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
0x10000000
+
m
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e
:
GetHandler
():
RegisterEffect
(
e2
)
end
function
cm
.
flcon
(
e
)
return
Duel
.
GetFlagEffect
(
e
:
GetHandlerPlayer
(),
m
)
~=
0
end
end
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
rp
==
1
-
tp
and
e
:
GetLabel
()
==
1
then
return
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToHand
,
rp
,
LOCATION_DECK
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToHand
,
rp
,
LOCATION_DECK
,
0
,
nil
)
if
#
g
>
0
then
--and Duel.SelectYesNo(rp,aux.Stringid(m,1)) then
if
#
g
>
0
then
--and Duel.SelectYesNo(rp,aux.Stringid(m,1)) then
Duel
.
Hint
(
HINT_SELECTMSG
,
rp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
rp
,
HINTMSG_ATOHAND
)
...
...
expansions/script/c11451623.lua
View file @
08c1f3d7
--闪光魔术栗子球
--闪光魔术栗子球
--21.08.25
--21.08.25
local
m
=
11451623
local
cm
,
m
=
GetID
()
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--tohand
--tohand
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
@@ -59,11 +58,23 @@ function cm.imop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -59,11 +58,23 @@ function cm.imop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetCondition
(
cm
.
flcon
)
e1
:
SetTarget
(
cm
.
imlimit
)
e1
:
SetTarget
(
cm
.
imlimit
)
e1
:
SetValue
(
cm
.
efilter
)
e1
:
SetValue
(
cm
.
efilter
)
e1
:
SetOwnerPlayer
(
tp
)
e1
:
SetOwnerPlayer
(
tp
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
0x10000000
+
m
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e
:
GetHandler
():
RegisterEffect
(
e2
)
end
function
cm
.
flcon
(
e
)
return
Duel
.
GetFlagEffect
(
e
:
GetHandlerPlayer
(),
m
)
~=
0
end
end
function
cm
.
imlimit
(
e
,
c
)
function
cm
.
imlimit
(
e
,
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xa4
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xa4
)
...
...
expansions/script/c11560707.lua
View file @
08c1f3d7
...
@@ -22,7 +22,7 @@ function c11560707.initial_effect(c)
...
@@ -22,7 +22,7 @@ function c11560707.initial_effect(c)
--to deck
--to deck
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TODECK
)
e1
:
SetCategory
(
CATEGORY_TODECK
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_
O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_
F
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCountLimit
(
1
,
11560707
)
e1
:
SetCountLimit
(
1
,
11560707
)
...
...
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