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
ffb23130
Commit
ffb23130
authored
Dec 13, 2023
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2fe1fd25
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
27 additions
and
28 deletions
+27
-28
expansions/script/c11451851.lua
expansions/script/c11451851.lua
+6
-6
expansions/script/c11451852.lua
expansions/script/c11451852.lua
+9
-6
expansions/script/c11451853.lua
expansions/script/c11451853.lua
+4
-3
expansions/script/c11451854.lua
expansions/script/c11451854.lua
+4
-3
expansions/script/c13015710.lua
expansions/script/c13015710.lua
+2
-3
expansions/script/c13015711.lua
expansions/script/c13015711.lua
+1
-2
expansions/script/c13015715.lua
expansions/script/c13015715.lua
+1
-2
expansions/script/c13015724.lua
expansions/script/c13015724.lua
+0
-3
No files found.
expansions/script/c11451851.lua
View file @
ffb23130
...
...
@@ -2,7 +2,7 @@
pnflpf
=
pnflpf
or
{}
function
pnfl_prophecy_flight_initial
(
c
)
PNFL_PROPHECY_FLIGHT_CHECK
=
true
PNFL_PROPHECY_FLIGHT_DEBUG
=
tru
e
PNFL_PROPHECY_FLIGHT_DEBUG
=
fals
e
PNFL_PROPHECY_FLIGHT_OPERATION_PERMIT
=
true
PNFL_PROPHECY_FLIGHT_TACTIC_VIEW
=
false
PNFL_PROPHECY_FLIGHT_STONE_HAIL
=
false
...
...
@@ -60,7 +60,6 @@ function pnflpf.chkval(e,te)
local
prop
=
0
if
PNFL_PROPHECY_FLIGHT_STONE_HAIL
then
prop
=
EFFECT_FLAG_CLIENT_HINT
end
e
:
GetHandler
():
RegisterFlagEffect
(
11451854
,
RESET_EVENT
+
RESETS_STANDARD
,
prop
,
1
,
0
,
aux
.
Stringid
(
11451854
,
2
))
if
PNFL_PROPHECY_FLIGHT_DEBUG
then
Debug
.
Message
(
"influence"
..
e
:
GetHandler
():
GetCode
())
end
end
return
false
end
...
...
@@ -131,7 +130,7 @@ function cm.initial_effect(c)
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
3
))
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
11451851
)
e3
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
--
e3:SetProperty(EFFECT_FLAG_CLIENT_HINT)
e3
:
SetRange
(
LOCATION_DECK
)
e3
:
SetCondition
(
function
(
e
)
return
e
:
GetHandler
():
IsFaceup
()
end
)
c
:
RegisterEffect
(
e3
)
...
...
@@ -172,8 +171,9 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
#
g
>
0
then
Duel
.
SSet
(
tp
,
g
)
end
if
c
:
IsRelateToEffect
(
e
)
then
local
res
=
Duel
.
TossCoin
(
tp
,
1
)
res
=
1
if
Duel
.
SendtoDeck
(
c
,
nil
,
0
,
REASON_EFFECT
)
and
c
:
IsLocation
(
LOCATION_DECK
)
and
res
==
1
then
local
res
=
Duel
.
TossCoin
(
tp
,
1
)
if
PNFL_PROPHECY_FLIGHT_DEBUG
then
res
=
1
end
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SendtoDeck
(
c
,
nil
,
0
,
REASON_EFFECT
)
and
c
:
IsLocation
(
LOCATION_DECK
)
and
res
==
1
then
Duel
.
ShuffleDeck
(
c
:
GetControler
())
c
:
ReverseInDeck
()
end
...
...
@@ -244,7 +244,7 @@ function cm.adjustop(e,tp,eg,ep,ev,re,r,rp)
elseif
tg
:
IsExists
(
cm
.
labseqfilter
,
1
,
nil
,
ct
)
then
if
PNFL_PROPHECY_FLIGHT_DEBUG
then
Debug
.
Message
(
"move"
..
c
:
GetCode
())
end
for
i
=#
tg
,
1
,
-
1
do
local
tc
=
tg
:
Filter
(
cm
.
labfilter
,
nil
,
ct
-
i
):
GetFirst
()
local
tc
=
tg
:
Filter
(
cm
.
labfilter
,
nil
,
i
):
GetFirst
()
Duel
.
MoveSequence
(
tc
,
0
)
tc
:
ReverseInDeck
()
end
...
...
expansions/script/c11451852.lua
View file @
ffb23130
...
...
@@ -34,7 +34,7 @@ function cm.initial_effect(c)
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
3
))
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
11451851
)
e3
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
--
e3:SetProperty(EFFECT_FLAG_CLIENT_HINT)
e3
:
SetRange
(
LOCATION_DECK
)
e3
:
SetCondition
(
function
(
e
)
return
e
:
GetHandler
():
IsFaceup
()
end
)
c
:
RegisterEffect
(
e3
)
...
...
@@ -74,8 +74,9 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoHand
(
tc
,
tp
,
REASON_EFFECT
)
end
if
c
:
IsRelateToEffect
(
e
)
then
local
res
=
Duel
.
TossCoin
(
tp
,
1
)
res
=
1
if
Duel
.
SendtoDeck
(
c
,
nil
,
0
,
REASON_EFFECT
)
and
c
:
IsLocation
(
LOCATION_DECK
)
and
res
==
1
then
local
res
=
Duel
.
TossCoin
(
tp
,
1
)
if
PNFL_PROPHECY_FLIGHT_DEBUG
then
res
=
1
end
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SendtoDeck
(
c
,
nil
,
0
,
REASON_EFFECT
)
and
c
:
IsLocation
(
LOCATION_DECK
)
and
res
==
1
then
Duel
.
ShuffleDeck
(
c
:
GetControler
())
c
:
ReverseInDeck
()
end
...
...
@@ -146,7 +147,7 @@ function cm.adjustop(e,tp,eg,ep,ev,re,r,rp)
elseif
tg
:
IsExists
(
cm
.
labseqfilter
,
1
,
nil
,
ct
)
then
if
PNFL_PROPHECY_FLIGHT_DEBUG
then
Debug
.
Message
(
"move"
..
c
:
GetCode
())
end
for
i
=#
tg
,
1
,
-
1
do
local
tc
=
tg
:
Filter
(
cm
.
labfilter
,
nil
,
ct
-
i
):
GetFirst
()
local
tc
=
tg
:
Filter
(
cm
.
labfilter
,
nil
,
i
):
GetFirst
()
Duel
.
MoveSequence
(
tc
,
0
)
tc
:
ReverseInDeck
()
end
...
...
@@ -210,8 +211,10 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
if
bg
and
#
bg
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DISABLE
)
bc
=
bg
:
Select
(
tp
,
0
,
1
,
nil
):
GetFirst
()
Duel
.
HintSelection
(
Group
.
FromCards
(
bc
))
rg
:
AddCard
(
bc
)
if
bc
then
Duel
.
HintSelection
(
Group
.
FromCards
(
bc
))
rg
:
AddCard
(
bc
)
end
end
end
for
tc
in
aux
.
Next
(
rg
)
do
...
...
expansions/script/c11451853.lua
View file @
ffb23130
...
...
@@ -32,7 +32,7 @@ function cm.initial_effect(c)
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
3
))
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
11451851
)
e3
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
--
e3:SetProperty(EFFECT_FLAG_CLIENT_HINT)
e3
:
SetRange
(
LOCATION_DECK
)
e3
:
SetCondition
(
function
(
e
)
return
e
:
GetHandler
():
IsFaceup
()
end
)
c
:
RegisterEffect
(
e3
)
...
...
@@ -93,8 +93,9 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
if
c
:
IsRelateToEffect
(
e
)
then
local
res
=
Duel
.
TossCoin
(
tp
,
1
)
res
=
1
if
Duel
.
SendtoDeck
(
c
,
nil
,
0
,
REASON_EFFECT
)
and
c
:
IsLocation
(
LOCATION_DECK
)
and
res
==
1
then
local
res
=
Duel
.
TossCoin
(
tp
,
1
)
if
PNFL_PROPHECY_FLIGHT_DEBUG
then
res
=
1
end
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SendtoDeck
(
c
,
nil
,
0
,
REASON_EFFECT
)
and
c
:
IsLocation
(
LOCATION_DECK
)
and
res
==
1
then
Duel
.
ShuffleDeck
(
c
:
GetControler
())
c
:
ReverseInDeck
()
end
...
...
expansions/script/c11451854.lua
View file @
ffb23130
...
...
@@ -32,7 +32,7 @@ function cm.initial_effect(c)
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
3
))
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
11451851
)
e3
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
+
EFFECT_FLAG_SET_AVAILABLE
)
--e3:SetProperty(EFFECT_FLAG_CLIENT_HINT
)
e3
:
SetRange
(
LOCATION_DECK
)
e3
:
SetCondition
(
function
(
e
)
return
e
:
GetHandler
():
IsFaceup
()
end
)
c
:
RegisterEffect
(
e3
)
...
...
@@ -80,8 +80,9 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
if
c
:
IsRelateToEffect
(
e
)
then
local
res
=
Duel
.
TossCoin
(
tp
,
1
)
res
=
1
if
Duel
.
SendtoDeck
(
c
,
nil
,
0
,
REASON_EFFECT
)
and
c
:
IsLocation
(
LOCATION_DECK
)
and
res
==
1
then
local
res
=
Duel
.
TossCoin
(
tp
,
1
)
if
PNFL_PROPHECY_FLIGHT_DEBUG
then
res
=
1
end
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SendtoDeck
(
c
,
nil
,
0
,
REASON_EFFECT
)
and
c
:
IsLocation
(
LOCATION_DECK
)
and
res
==
1
then
Duel
.
ShuffleDeck
(
c
:
GetControler
())
c
:
ReverseInDeck
()
end
...
...
expansions/script/c13015710.lua
View file @
ffb23130
...
...
@@ -29,8 +29,7 @@ end
function
c13015710
.
tdrcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
e
:
GetHandler
():
IsPublic
()
end
Duel
.
ConfirmCards
(
1
-
tp
,
e
:
GetHandler
())
Duel
.
ShuffleHand
(
tp
)
end
function
c13015710
.
thfil
(
c
)
return
c
:
IsAbleToHand
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0xe01
)
and
not
c
:
IsCode
(
13015710
)
...
...
@@ -52,7 +51,7 @@ function c13015710.tdrop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
BreakEffect
()
local
dg
=
Duel
.
SelectMatchingCard
(
tp
,
function
(
c
)
return
c
:
IsAbleToDeck
()
and
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
end
,
tp
,
LOCATION_REMOVED
,
LOCATION_REMOVED
,
1
,
1
,
nil
)
if
Duel
.
SendtoDeck
(
dg
,
nil
,
2
,
REASON_EFFECT
)
~=
0
then
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
end
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
expansions/script/c13015711.lua
View file @
ffb23130
...
...
@@ -27,8 +27,7 @@ function c13015711.initial_effect(c)
end
function
c13015711
.
tdrcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
e
:
GetHandler
():
IsPublic
()
end
Duel
.
ConfirmCards
(
1
-
tp
,
e
:
GetHandler
())
Duel
.
ShuffleHand
(
tp
)
end
function
c13015711
.
tdrtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
...
...
expansions/script/c13015715.lua
View file @
ffb23130
...
...
@@ -50,8 +50,7 @@ local lv=c:GetLevel()
function
c13015715
.
tdrcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
e
:
GetHandler
():
IsPublic
()
end
Duel
.
ConfirmCards
(
1
-
tp
,
e
:
GetHandler
())
Duel
.
ShuffleHand
(
tp
)
end
function
c13015715
.
tdrtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
or
Duel
.
IsExistingMatchingCard
(
function
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCanChangePosition
()
end
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
or
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
LOCATION_SZONE
,
LOCATION_SZONE
,
1
,
nil
)
end
...
...
expansions/script/c13015724.lua
View file @
ffb23130
...
...
@@ -28,9 +28,6 @@ end
function
c13015724
.
tdrcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
e
:
GetHandler
():
IsPublic
()
end
Duel
.
ConfirmCards
(
1
-
tp
,
e
:
GetHandler
())
Duel
.
ShuffleHand
(
tp
)
end
function
c13015724
.
setfil
(
c
)
return
c
:
IsSSetable
()
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsSetCard
(
0xe01
)
...
...
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