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
59bb96ba
Commit
59bb96ba
authored
Feb 29, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
4af4efde
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
39 additions
and
39 deletions
+39
-39
expansions/no81.cdb
expansions/no81.cdb
+0
-0
expansions/pics/40006763.jpg
expansions/pics/40006763.jpg
+0
-0
expansions/pics/40006765.jpg
expansions/pics/40006765.jpg
+0
-0
expansions/pics/40006767.jpg
expansions/pics/40006767.jpg
+0
-0
expansions/pics/40006827.jpg
expansions/pics/40006827.jpg
+0
-0
expansions/pics/40006829.jpg
expansions/pics/40006829.jpg
+0
-0
expansions/script/c11451551.lua
expansions/script/c11451551.lua
+3
-3
expansions/script/c11451552.lua
expansions/script/c11451552.lua
+4
-4
expansions/script/c11451553.lua
expansions/script/c11451553.lua
+3
-3
expansions/script/c11451554.lua
expansions/script/c11451554.lua
+3
-3
expansions/script/c11451555.lua
expansions/script/c11451555.lua
+3
-3
expansions/script/c11451556.lua
expansions/script/c11451556.lua
+3
-3
expansions/script/c11451557.lua
expansions/script/c11451557.lua
+4
-4
expansions/script/c11451558.lua
expansions/script/c11451558.lua
+3
-3
expansions/script/c11451559.lua
expansions/script/c11451559.lua
+4
-4
expansions/script/c11451560.lua
expansions/script/c11451560.lua
+4
-4
expansions/script/c11451831.lua
expansions/script/c11451831.lua
+5
-5
No files found.
expansions/no81.cdb
View file @
59bb96ba
No preview for this file type
expansions/pics/40006763.jpg
deleted
100644 → 0
View file @
4af4efde
13.3 KB
expansions/pics/40006765.jpg
deleted
100644 → 0
View file @
4af4efde
13.4 KB
expansions/pics/40006767.jpg
deleted
100644 → 0
View file @
4af4efde
13.6 KB
expansions/pics/40006827.jpg
deleted
100644 → 0
View file @
4af4efde
12.5 KB
expansions/pics/40006829.jpg
deleted
100644 → 0
View file @
4af4efde
12.4 KB
expansions/script/c11451551.lua
View file @
59bb96ba
...
...
@@ -50,14 +50,13 @@ function cm.equipfd(c,tp,tc)
end
function
cm
.
adjustop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
pnfl_adjusting
then
return
end
pnfl_adjusting
=
true
local
phase
=
Duel
.
GetCurrentPhase
()
local
c
=
e
:
GetHandler
()
if
(
phase
==
PHASE_DAMAGE
and
not
Duel
.
IsDamageCalculated
())
or
phase
==
PHASE_DAMAGE_CAL
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
or
not
Duel
.
IsPlayerCanSSet
(
tp
)
then
return
end
if
not
c
:
GetEquipGroup
():
IsExists
(
cm
.
eqfilter
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
GetMatchingGroupCount
(
nil
,
tp
,
LOCATION_DECK
,
0
,
nil
)
>
0
then
if
not
((
phase
==
PHASE_DAMAGE
and
not
Duel
.
IsDamageCalculated
())
or
phase
==
PHASE_DAMAGE_CAL
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
))
and
Duel
.
IsPlayerCanSSet
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
not
c
:
GetEquipGroup
():
IsExists
(
cm
.
eqfilter
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
GetMatchingGroupCount
(
nil
,
tp
,
LOCATION_DECK
,
0
,
nil
)
>
0
then
Duel
.
Hint
(
HINT_CARD
,
0
,
m
)
local
tc
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_DECK
,
0
,
nil
):
GetMaxGroup
(
Card
.
GetSequence
):
GetFirst
()
Duel
.
DisableShuffleCheck
()
pnfl_adjusting
=
true
if
tc
:
IsForbidden
()
then
Duel
.
DiscardDeck
(
tp
,
1
,
REASON_RULE
)
pnfl_adjusting
=
false
...
...
@@ -67,6 +66,7 @@ function cm.adjustop(e,tp,eg,ep,ev,re,r,rp)
pnfl_adjusting
=
false
Duel
.
Readjust
()
end
pnfl_adjusting
=
false
end
pnfl_adjusting
=
false
end
...
...
expansions/script/c11451552.lua
View file @
59bb96ba
...
...
@@ -62,14 +62,13 @@ function cm.equipfd2(c,tp,tc)
end
function
cm
.
adjustop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
pnfl_adjusting
then
return
end
pnfl_adjusting
=
true
local
phase
=
Duel
.
GetCurrentPhase
()
local
c
=
e
:
GetHandler
()
if
(
phase
==
PHASE_DAMAGE
and
not
Duel
.
IsDamageCalculated
())
or
phase
==
PHASE_DAMAGE_CAL
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
or
not
Duel
.
IsPlayerCanSSet
(
tp
)
then
return
end
if
not
c
:
GetEquipGroup
():
IsExists
(
cm
.
eqfilter
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
GetMatchingGroupCount
(
nil
,
tp
,
LOCATION_DECK
,
0
,
nil
)
>
0
then
if
not
((
phase
==
PHASE_DAMAGE
and
not
Duel
.
IsDamageCalculated
())
or
phase
==
PHASE_DAMAGE_CAL
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
))
and
Duel
.
IsPlayerCanSSet
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
not
c
:
GetEquipGroup
():
IsExists
(
cm
.
eqfilter
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
GetMatchingGroupCount
(
nil
,
tp
,
LOCATION_DECK
,
0
,
nil
)
>
0
then
Duel
.
Hint
(
HINT_CARD
,
0
,
m
)
local
tc
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_DECK
,
0
,
nil
):
GetMaxGroup
(
Card
.
GetSequence
):
GetFirst
()
Duel
.
DisableShuffleCheck
()
pnfl_adjusting
=
true
if
tc
:
IsForbidden
()
then
Duel
.
DiscardDeck
(
tp
,
1
,
REASON_RULE
)
pnfl_adjusting
=
false
...
...
@@ -79,6 +78,7 @@ function cm.adjustop(e,tp,eg,ep,ev,re,r,rp)
pnfl_adjusting
=
false
Duel
.
Readjust
()
end
pnfl_adjusting
=
false
end
pnfl_adjusting
=
false
end
...
...
@@ -96,7 +96,7 @@ function cm.eqop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
<
3
or
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
<=
0
or
not
c
:
IsRelateToEffect
(
e
)
then
return
end
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
3
)
Duel
.
ConfirmCards
(
tp
,
g
)
--
Duel.ConfirmCards(tp,g)
Duel
.
Hint
(
HINT_SELECTMSG
,
p
,
HINTMSG_EQUIP
)
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
if
tc
:
IsForbidden
()
then
...
...
expansions/script/c11451553.lua
View file @
59bb96ba
...
...
@@ -50,14 +50,13 @@ function cm.equipfd(c,tp,tc)
end
function
cm
.
adjustop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
pnfl_adjusting
then
return
end
pnfl_adjusting
=
true
local
phase
=
Duel
.
GetCurrentPhase
()
local
c
=
e
:
GetHandler
()
if
(
phase
==
PHASE_DAMAGE
and
not
Duel
.
IsDamageCalculated
())
or
phase
==
PHASE_DAMAGE_CAL
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
or
not
Duel
.
IsPlayerCanSSet
(
tp
)
then
return
end
if
not
c
:
GetEquipGroup
():
IsExists
(
cm
.
eqfilter
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
GetMatchingGroupCount
(
nil
,
tp
,
LOCATION_DECK
,
0
,
nil
)
>
0
then
if
not
((
phase
==
PHASE_DAMAGE
and
not
Duel
.
IsDamageCalculated
())
or
phase
==
PHASE_DAMAGE_CAL
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
))
and
Duel
.
IsPlayerCanSSet
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
not
c
:
GetEquipGroup
():
IsExists
(
cm
.
eqfilter
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
GetMatchingGroupCount
(
nil
,
tp
,
LOCATION_DECK
,
0
,
nil
)
>
0
then
Duel
.
Hint
(
HINT_CARD
,
0
,
m
)
local
tc
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_DECK
,
0
,
nil
):
GetMaxGroup
(
Card
.
GetSequence
):
GetFirst
()
Duel
.
DisableShuffleCheck
()
pnfl_adjusting
=
true
if
tc
:
IsForbidden
()
then
Duel
.
DiscardDeck
(
tp
,
1
,
REASON_RULE
)
pnfl_adjusting
=
false
...
...
@@ -67,6 +66,7 @@ function cm.adjustop(e,tp,eg,ep,ev,re,r,rp)
pnfl_adjusting
=
false
Duel
.
Readjust
()
end
pnfl_adjusting
=
false
end
pnfl_adjusting
=
false
end
...
...
expansions/script/c11451554.lua
View file @
59bb96ba
...
...
@@ -47,14 +47,13 @@ function cm.equipfd(c,tp,tc)
end
function
cm
.
adjustop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
pnfl_adjusting
then
return
end
pnfl_adjusting
=
true
local
phase
=
Duel
.
GetCurrentPhase
()
local
c
=
e
:
GetHandler
()
if
(
phase
==
PHASE_DAMAGE
and
not
Duel
.
IsDamageCalculated
())
or
phase
==
PHASE_DAMAGE_CAL
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
or
not
Duel
.
IsPlayerCanSSet
(
tp
)
then
return
end
if
c
:
IsLocation
(
LOCATION_MZONE
)
and
not
c
:
GetEquipGroup
():
IsExists
(
cm
.
eqfilter
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
GetMatchingGroupCount
(
nil
,
tp
,
LOCATION_DECK
,
0
,
nil
)
>
0
then
if
not
((
phase
==
PHASE_DAMAGE
and
not
Duel
.
IsDamageCalculated
())
or
phase
==
PHASE_DAMAGE_CAL
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
))
and
Duel
.
IsPlayerCanSSet
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
not
c
:
GetEquipGroup
():
IsExists
(
cm
.
eqfilter
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
GetMatchingGroupCount
(
nil
,
tp
,
LOCATION_DECK
,
0
,
nil
)
>
0
then
Duel
.
Hint
(
HINT_CARD
,
0
,
m
)
local
tc
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_DECK
,
0
,
nil
):
GetMaxGroup
(
Card
.
GetSequence
):
GetFirst
()
Duel
.
DisableShuffleCheck
()
pnfl_adjusting
=
true
if
tc
:
IsForbidden
()
then
Duel
.
DiscardDeck
(
tp
,
1
,
REASON_RULE
)
pnfl_adjusting
=
false
...
...
@@ -64,6 +63,7 @@ function cm.adjustop(e,tp,eg,ep,ev,re,r,rp)
pnfl_adjusting
=
false
Duel
.
Readjust
()
end
pnfl_adjusting
=
false
end
pnfl_adjusting
=
false
end
...
...
expansions/script/c11451555.lua
View file @
59bb96ba
...
...
@@ -50,14 +50,13 @@ function cm.equipfd(c,tp,tc)
end
function
cm
.
adjustop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
pnfl_adjusting
then
return
end
pnfl_adjusting
=
true
local
phase
=
Duel
.
GetCurrentPhase
()
local
c
=
e
:
GetHandler
()
if
(
phase
==
PHASE_DAMAGE
and
not
Duel
.
IsDamageCalculated
())
or
phase
==
PHASE_DAMAGE_CAL
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
or
not
Duel
.
IsPlayerCanSSet
(
tp
)
then
return
end
if
not
c
:
GetEquipGroup
():
IsExists
(
cm
.
eqfilter
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
GetMatchingGroupCount
(
nil
,
tp
,
LOCATION_DECK
,
0
,
nil
)
>
0
then
if
not
((
phase
==
PHASE_DAMAGE
and
not
Duel
.
IsDamageCalculated
())
or
phase
==
PHASE_DAMAGE_CAL
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
))
and
Duel
.
IsPlayerCanSSet
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
not
c
:
GetEquipGroup
():
IsExists
(
cm
.
eqfilter
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
GetMatchingGroupCount
(
nil
,
tp
,
LOCATION_DECK
,
0
,
nil
)
>
0
then
Duel
.
Hint
(
HINT_CARD
,
0
,
m
)
local
tc
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_DECK
,
0
,
nil
):
GetMaxGroup
(
Card
.
GetSequence
):
GetFirst
()
Duel
.
DisableShuffleCheck
()
pnfl_adjusting
=
true
if
tc
:
IsForbidden
()
then
Duel
.
DiscardDeck
(
tp
,
1
,
REASON_RULE
)
pnfl_adjusting
=
false
...
...
@@ -67,6 +66,7 @@ function cm.adjustop(e,tp,eg,ep,ev,re,r,rp)
pnfl_adjusting
=
false
Duel
.
Readjust
()
end
pnfl_adjusting
=
false
end
pnfl_adjusting
=
false
end
...
...
expansions/script/c11451556.lua
View file @
59bb96ba
...
...
@@ -162,14 +162,13 @@ function cm.equipfd(c,tp,tc)
end
function
cm
.
adjustop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
pnfl_adjusting
then
return
end
pnfl_adjusting
=
true
local
phase
=
Duel
.
GetCurrentPhase
()
local
c
=
e
:
GetHandler
()
if
(
phase
==
PHASE_DAMAGE
and
not
Duel
.
IsDamageCalculated
())
or
phase
==
PHASE_DAMAGE_CAL
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
or
not
Duel
.
IsPlayerCanSSet
(
tp
)
then
return
end
if
c
:
IsLocation
(
LOCATION_MZONE
)
and
not
c
:
GetEquipGroup
():
IsExists
(
cm
.
eqfilter
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
GetMatchingGroupCount
(
nil
,
tp
,
LOCATION_DECK
,
0
,
nil
)
>
0
then
if
not
((
phase
==
PHASE_DAMAGE
and
not
Duel
.
IsDamageCalculated
())
or
phase
==
PHASE_DAMAGE_CAL
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
))
and
Duel
.
IsPlayerCanSSet
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
not
c
:
GetEquipGroup
():
IsExists
(
cm
.
eqfilter
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
GetMatchingGroupCount
(
nil
,
tp
,
LOCATION_DECK
,
0
,
nil
)
>
0
then
Duel
.
Hint
(
HINT_CARD
,
0
,
m
)
local
tc
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_DECK
,
0
,
nil
):
GetMaxGroup
(
Card
.
GetSequence
):
GetFirst
()
Duel
.
DisableShuffleCheck
()
pnfl_adjusting
=
true
if
tc
:
IsForbidden
()
then
Duel
.
DiscardDeck
(
tp
,
1
,
REASON_RULE
)
pnfl_adjusting
=
false
...
...
@@ -179,6 +178,7 @@ function cm.adjustop(e,tp,eg,ep,ev,re,r,rp)
pnfl_adjusting
=
false
Duel
.
Readjust
()
end
pnfl_adjusting
=
false
end
pnfl_adjusting
=
false
end
...
...
expansions/script/c11451557.lua
View file @
59bb96ba
...
...
@@ -67,7 +67,7 @@ function cm.GetLinkMaterials(tp,f,lc)
return
mg
end
function
cm
.
LCheckGoal
(
sg
,
tp
,
lc
,
gf
,
lmat
)
return
sg
:
CheckWithSumEqual
(
Auxiliary
.
GetLinkCount
,
lc
:
GetLink
(),
#
sg
,
#
sg
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
sg
,
lc
)
>
0
and
(
not
gf
or
gf
(
sg
))
and
not
sg
:
IsExists
(
Auxiliary
.
LUncompatibilityFilter
,
1
,
nil
,
sg
,
lc
,
tp
)
and
(
not
lmat
or
sg
:
IsContains
(
lmat
))
and
not
sg
:
IsExists
(
cm
.
fdfilter
,
4
,
nil
)
return
sg
:
CheckWithSumEqual
(
Auxiliary
.
GetLinkCount
,
lc
:
GetLink
(),
#
sg
,
#
sg
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
sg
,
lc
)
>
0
and
(
not
gf
or
gf
(
sg
))
and
not
sg
:
IsExists
(
Auxiliary
.
LUncompatibilityFilter
,
1
,
nil
,
sg
,
lc
,
tp
)
and
(
not
lmat
or
sg
:
IsContains
(
lmat
))
and
sg
:
IsExists
(
aux
.
NOT
(
cm
.
fdfilter
),
1
,
nil
)
end
function
cm
.
LinkCondition
(
f
,
minc
,
maxc
,
gf
)
return
function
(
e
,
c
,
og
,
lmat
,
min
,
max
)
...
...
@@ -163,14 +163,13 @@ function cm.equipfd(c,tp,tc)
end
function
cm
.
adjustop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
pnfl_adjusting
then
return
end
pnfl_adjusting
=
true
local
phase
=
Duel
.
GetCurrentPhase
()
local
c
=
e
:
GetHandler
()
if
(
phase
==
PHASE_DAMAGE
and
not
Duel
.
IsDamageCalculated
())
or
phase
==
PHASE_DAMAGE_CAL
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
or
not
Duel
.
IsPlayerCanSSet
(
tp
)
then
return
end
if
c
:
IsLocation
(
LOCATION_MZONE
)
and
not
c
:
GetEquipGroup
():
IsExists
(
cm
.
eqfilter
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
GetMatchingGroupCount
(
nil
,
tp
,
LOCATION_DECK
,
0
,
nil
)
>
0
then
if
not
((
phase
==
PHASE_DAMAGE
and
not
Duel
.
IsDamageCalculated
())
or
phase
==
PHASE_DAMAGE_CAL
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
))
and
Duel
.
IsPlayerCanSSet
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
not
c
:
GetEquipGroup
():
IsExists
(
cm
.
eqfilter
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
GetMatchingGroupCount
(
nil
,
tp
,
LOCATION_DECK
,
0
,
nil
)
>
0
then
Duel
.
Hint
(
HINT_CARD
,
0
,
m
)
local
tc
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_DECK
,
0
,
nil
):
GetMaxGroup
(
Card
.
GetSequence
):
GetFirst
()
Duel
.
DisableShuffleCheck
()
pnfl_adjusting
=
true
if
tc
:
IsForbidden
()
then
Duel
.
DiscardDeck
(
tp
,
1
,
REASON_RULE
)
pnfl_adjusting
=
false
...
...
@@ -180,6 +179,7 @@ function cm.adjustop(e,tp,eg,ep,ev,re,r,rp)
pnfl_adjusting
=
false
Duel
.
Readjust
()
end
pnfl_adjusting
=
false
end
pnfl_adjusting
=
false
end
...
...
expansions/script/c11451558.lua
View file @
59bb96ba
...
...
@@ -163,14 +163,13 @@ function cm.equipfd(c,tp,tc)
end
function
cm
.
adjustop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
pnfl_adjusting
then
return
end
pnfl_adjusting
=
true
local
phase
=
Duel
.
GetCurrentPhase
()
local
c
=
e
:
GetHandler
()
if
(
phase
==
PHASE_DAMAGE
and
not
Duel
.
IsDamageCalculated
())
or
phase
==
PHASE_DAMAGE_CAL
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
or
not
Duel
.
IsPlayerCanSSet
(
tp
)
then
return
end
if
not
c
:
GetEquipGroup
():
IsExists
(
cm
.
eqfilter
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
GetMatchingGroupCount
(
nil
,
tp
,
LOCATION_DECK
,
0
,
nil
)
>
0
then
if
not
((
phase
==
PHASE_DAMAGE
and
not
Duel
.
IsDamageCalculated
())
or
phase
==
PHASE_DAMAGE_CAL
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
))
and
Duel
.
IsPlayerCanSSet
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
not
c
:
GetEquipGroup
():
IsExists
(
cm
.
eqfilter
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
GetMatchingGroupCount
(
nil
,
tp
,
LOCATION_DECK
,
0
,
nil
)
>
0
then
Duel
.
Hint
(
HINT_CARD
,
0
,
m
)
local
tc
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_DECK
,
0
,
nil
):
GetMaxGroup
(
Card
.
GetSequence
):
GetFirst
()
Duel
.
DisableShuffleCheck
()
pnfl_adjusting
=
true
if
tc
:
IsForbidden
()
then
Duel
.
DiscardDeck
(
tp
,
1
,
REASON_RULE
)
pnfl_adjusting
=
false
...
...
@@ -180,6 +179,7 @@ function cm.adjustop(e,tp,eg,ep,ev,re,r,rp)
pnfl_adjusting
=
false
Duel
.
Readjust
()
end
pnfl_adjusting
=
false
end
pnfl_adjusting
=
false
end
...
...
expansions/script/c11451559.lua
View file @
59bb96ba
...
...
@@ -69,16 +69,15 @@ function cm.equipfd(c,tp,tc)
end
function
cm
.
adjustop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
pnfl_adjusting
then
return
end
pnfl_adjusting
=
true
local
phase
=
Duel
.
GetCurrentPhase
()
local
c
=
e
:
GetHandler
()
if
(
phase
==
PHASE_DAMAGE
and
not
Duel
.
IsDamageCalculated
())
or
phase
==
PHASE_DAMAGE_CAL
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
or
not
Duel
.
IsPlayerCanSSet
(
tp
)
then
return
end
if
not
c
:
GetEquipGroup
():
IsExists
(
cm
.
eqfilter
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
GetMatchingGroupCount
(
nil
,
tp
,
0
,
LOCATION_EXTRA
,
nil
)
>
0
then
if
not
((
phase
==
PHASE_DAMAGE
and
not
Duel
.
IsDamageCalculated
())
or
phase
==
PHASE_DAMAGE_CAL
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
))
and
Duel
.
IsPlayerCanSSet
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
not
c
:
GetEquipGroup
():
IsExists
(
cm
.
eqfilter
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
GetMatchingGroupCount
(
nil
,
tp
,
0
,
LOCATION_EXTRA
,
nil
)
>
0
then
Duel
.
Hint
(
HINT_CARD
,
0
,
m
)
local
tc
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
0
,
LOCATION_EXTRA
,
nil
):
GetMaxGroup
(
Card
.
GetSequence
):
GetFirst
()
Duel
.
DisableShuffleCheck
()
pnfl_adjusting
=
true
if
tc
:
IsForbidden
()
then
Duel
.
DiscardDeck
(
tp
,
1
,
REASON_RULE
)
Duel
.
SendtoGrave
(
tc
,
REASON_RULE
)
pnfl_adjusting
=
false
cm
.
adjustop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
elseif
cm
.
equipfd
(
c
,
tp
,
tc
)
then
...
...
@@ -86,6 +85,7 @@ function cm.adjustop(e,tp,eg,ep,ev,re,r,rp)
pnfl_adjusting
=
false
Duel
.
Readjust
()
end
pnfl_adjusting
=
false
end
pnfl_adjusting
=
false
end
...
...
expansions/script/c11451560.lua
View file @
59bb96ba
...
...
@@ -64,16 +64,15 @@ function cm.equipfd(c,tp,tc)
end
function
cm
.
adjustop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
pnfl_adjusting
then
return
end
pnfl_adjusting
=
true
local
phase
=
Duel
.
GetCurrentPhase
()
local
c
=
e
:
GetHandler
()
if
(
phase
==
PHASE_DAMAGE
and
not
Duel
.
IsDamageCalculated
())
or
phase
==
PHASE_DAMAGE_CAL
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
or
not
Duel
.
IsPlayerCanSSet
(
tp
)
then
return
end
if
not
c
:
GetEquipGroup
():
IsExists
(
cm
.
eqfilter
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
GetMatchingGroupCount
(
nil
,
tp
,
LOCATION_EXTRA
,
0
,
nil
)
>
0
then
if
not
((
phase
==
PHASE_DAMAGE
and
not
Duel
.
IsDamageCalculated
())
or
phase
==
PHASE_DAMAGE_CAL
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
))
and
Duel
.
IsPlayerCanSSet
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
not
c
:
GetEquipGroup
():
IsExists
(
cm
.
eqfilter
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
GetMatchingGroupCount
(
nil
,
tp
,
LOCATION_EXTRA
,
0
,
nil
)
>
0
then
Duel
.
Hint
(
HINT_CARD
,
0
,
m
)
local
tc
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_EXTRA
,
0
,
nil
):
GetMaxGroup
(
Card
.
GetSequence
):
GetFirst
()
Duel
.
DisableShuffleCheck
()
pnfl_adjusting
=
true
if
tc
:
IsForbidden
()
then
Duel
.
DiscardDeck
(
tp
,
1
,
REASON_RULE
)
Duel
.
SendtoGrave
(
tc
,
REASON_RULE
)
pnfl_adjusting
=
false
cm
.
adjustop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
elseif
cm
.
equipfd
(
c
,
tp
,
tc
)
then
...
...
@@ -81,6 +80,7 @@ function cm.adjustop(e,tp,eg,ep,ev,re,r,rp)
pnfl_adjusting
=
false
Duel
.
Readjust
()
end
pnfl_adjusting
=
false
end
pnfl_adjusting
=
false
end
...
...
expansions/script/c11451831.lua
View file @
59bb96ba
...
...
@@ -57,23 +57,23 @@ function cm.equipfd(c,tp,tc)
end
function
cm
.
adjustop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
pnfl_adjusting
then
return
end
pnfl_adjusting
=
true
local
phase
=
Duel
.
GetCurrentPhase
()
local
c
=
e
:
GetHandler
()
if
(
phase
==
PHASE_DAMAGE
and
not
Duel
.
IsDamageCalculated
())
or
phase
==
PHASE_DAMAGE_CAL
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
or
not
Duel
.
IsPlayerCanSSet
(
tp
)
then
return
end
if
not
c
:
GetEquipGroup
():
IsExists
(
cm
.
eqfilter
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
GetMatchingGroupCount
(
nil
,
tp
,
0
,
LOCATION_DECK
,
nil
)
>
0
then
if
not
((
phase
==
PHASE_DAMAGE
and
not
Duel
.
IsDamageCalculated
())
or
phase
==
PHASE_DAMAGE_CAL
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
))
and
Duel
.
IsPlayerCanSSet
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
not
c
:
GetEquipGroup
():
IsExists
(
cm
.
eqfilter
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
GetMatchingGroupCount
(
nil
,
tp
,
0
,
LOCATION_DECK
,
nil
)
>
0
then
Duel
.
Hint
(
HINT_CARD
,
0
,
m
)
local
tc
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
0
,
LOCATION_DECK
,
nil
):
GetMaxGroup
(
Card
.
GetSequence
):
GetFirst
()
Duel
.
DisableShuffleCheck
()
pnfl_adjusting
=
true
if
tc
:
IsForbidden
()
then
Duel
.
DiscardDeck
(
tp
,
1
,
REASON_RULE
)
Duel
.
DiscardDeck
(
1
-
tp
,
1
,
REASON_RULE
)
pnfl_adjusting
=
false
Duel
.
Readjust
(
)
cm
.
adjustop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
elseif
cm
.
equipfd
(
c
,
tp
,
tc
)
then
Duel
.
RaiseEvent
(
tc
,
EVENT_SSET
,
e
,
REASON_EFFECT
,
tp
,
tp
,
0
)
pnfl_adjusting
=
false
Duel
.
Readjust
()
end
pnfl_adjusting
=
false
end
pnfl_adjusting
=
false
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