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
aafa6994
Commit
aafa6994
authored
Dec 20, 2020
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
4f9ba10a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
11 deletions
+13
-11
expansions/script/c112538374.lua
expansions/script/c112538374.lua
+4
-5
expansions/script/c22050180.lua
expansions/script/c22050180.lua
+2
-0
expansions/script/c22050210.lua
expansions/script/c22050210.lua
+6
-4
expansions/script/c22050310.lua
expansions/script/c22050310.lua
+1
-1
expansions/script/c89388026.lua
expansions/script/c89388026.lua
+0
-1
No files found.
expansions/script/c112538374.lua
View file @
aafa6994
...
...
@@ -23,8 +23,8 @@ function c112538374.initial_effect(c)
e4
:
SetCategory
(
CATEGORY_TODECK
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e4
:
SetRange
(
LOCATION_REMOVED
)
e4
:
SetCountLimit
(
1
,
112538574
)
e4
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e4
:
SetCountLimit
(
1
,
112538574
)
e4
:
SetCondition
(
c112538374
.
retcon
)
e4
:
SetTarget
(
c112538374
.
rettg
)
e4
:
SetOperation
(
c112538374
.
retop
)
...
...
@@ -94,10 +94,9 @@ function c112538374.retfilter(c)
return
c
:
IsRace
(
RACE_AQUA
)
and
c
:
IsAbleToDeck
()
end
function
c112538374
.
rettg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c112538374
.
retfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
and
c
:
IsAbleToDeck
()
end
if
chk
==
0
then
return
true
end
local
g
=
Duel
.
GetMatchingGroup
(
c112538374
.
retfilter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
g
:
AddCard
(
c
)
g
:
AddCard
(
e
:
GetHandler
()
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
2
,
0
,
LOCATION_GRAVE
+
LOCATION_REMOVED
)
end
function
c112538374
.
retop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -111,7 +110,7 @@ function c112538374.retop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
sg
:
Merge
(
g
:
Select
(
tp
,
1
,
1
,
nil
))
end
if
sg
:
GetCount
()
>
0
then
if
sg
:
GetCount
()
==
2
then
Duel
.
SendtoDeck
(
sg
,
nil
,
2
,
REASON_EFFECT
)
end
end
...
...
expansions/script/c22050180.lua
View file @
aafa6994
...
...
@@ -11,6 +11,7 @@ function c22050180.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCode
(
EVENT_SUMMON
)
e1
:
SetCountLimit
(
1
,
22050180
)
e1
:
SetCondition
(
c22050180
.
dscon
)
e1
:
SetCost
(
c22050180
.
cost
)
e1
:
SetTarget
(
c22050180
.
dstg
)
...
...
@@ -18,6 +19,7 @@ function c22050180.initial_effect(c)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EVENT_SPSUMMON
)
e2
:
SetCountLimit
(
1
,
22050180
)
c
:
RegisterEffect
(
e2
)
--xyz
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c22050210.lua
View file @
aafa6994
...
...
@@ -30,7 +30,7 @@ function c22050210.initial_effect(c)
--end battle phase
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
22050210
,
1
))
e3
:
SetType
(
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetType
(
EFFECT_TYPE_
FIELD
+
EFFECT_TYPE_
TRIGGER_O
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetCountLimit
(
1
,
22050211
)
e3
:
SetCode
(
EVENT_DESTROYED
)
...
...
@@ -83,7 +83,9 @@ function c22050210.condition(e,tp,eg,ep,ev,re,r,rp)
return
eg
:
IsExists
(
c22050210
.
cfilter
,
1
,
nil
,
tp
)
end
function
c22050210
.
operation1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
SkipPhase
(
1
-
tp
,
PHASE_MAIN1
,
RESET_PHASE
+
PHASE_END
,
1
,
1
)
Duel
.
SkipPhase
(
1
-
tp
,
PHASE_BATTLE
,
RESET_PHASE
+
PHASE_END
,
1
,
1
)
Duel
.
SkipPhase
(
1
-
tp
,
PHASE_MAIN2
,
RESET_PHASE
+
PHASE_END
,
1
)
local
turnp
=
Duel
.
GetTurnPlayer
()
Duel
.
SkipPhase
(
turnp
,
PHASE_MAIN1
,
RESET_PHASE
+
PHASE_END
,
1
)
Duel
.
SkipPhase
(
turnp
,
PHASE_BATTLE
,
RESET_PHASE
+
PHASE_END
,
1
,
1
)
Duel
.
SkipPhase
(
turnp
,
PHASE_MAIN2
,
RESET_PHASE
+
PHASE_END
,
1
)
end
expansions/script/c22050310.lua
View file @
aafa6994
...
...
@@ -17,7 +17,7 @@ function c22050310.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
2205031
0
)
e2
:
SetCountLimit
(
1
,
2205031
1
)
e2
:
SetCost
(
aux
.
bfgcost
)
e2
:
SetTarget
(
c22050310
.
thtg
)
e2
:
SetOperation
(
c22050310
.
thop
)
...
...
expansions/script/c89388026.lua
View file @
aafa6994
...
...
@@ -18,7 +18,6 @@ function cm.initial_effect(c)
e3
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_DRAW
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetRange
(
LOCATION_FZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e3
:
SetCountLimit
(
1
)
e3
:
SetTarget
(
cm
.
drtg
)
e3
:
SetOperation
(
cm
.
drop
)
...
...
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