Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
Vee4
ygopro-scripts-888
Commits
4ba50834
Commit
4ba50834
authored
Dec 31, 2021
by
Chrono-Genex
Committed by
mercury233
Dec 31, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix & update for Puppet King and Puppet Queen (#1766)
parent
3bbb1a02
Changes
17
Show whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
17 additions
and
5 deletions
+17
-5
c11819473.lua
c11819473.lua
+1
-0
c15001619.lua
c15001619.lua
+1
-1
c23270035.lua
c23270035.lua
+1
-0
c2403771.lua
c2403771.lua
+1
-0
c27564031.lua
c27564031.lua
+1
-0
c3167573.lua
c3167573.lua
+1
-1
c32360466.lua
c32360466.lua
+1
-0
c40230018.lua
c40230018.lua
+1
-0
c47120245.lua
c47120245.lua
+1
-0
c49776811.lua
c49776811.lua
+1
-1
c50756327.lua
c50756327.lua
+1
-0
c64280356.lua
c64280356.lua
+1
-0
c69838761.lua
c69838761.lua
+1
-0
c72813401.lua
c72813401.lua
+1
-0
c90969892.lua
c90969892.lua
+1
-1
c93437091.lua
c93437091.lua
+1
-0
constant.lua
constant.lua
+1
-1
No files found.
c11819473.lua
View file @
4ba50834
...
...
@@ -68,6 +68,7 @@ function c11819473.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
c11819473
.
thfilter2
,
1
-
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
1
-
tp
)
if
g
:
GetCount
()
>
0
then
g
:
GetFirst
():
SetStatus
(
STATUS_TO_HAND_WITHOUT_CONFIRM
,
true
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
end
end
...
...
c15001619.lua
View file @
4ba50834
...
...
@@ -28,7 +28,7 @@ function c15001619.initial_effect(c)
end
function
c15001619
.
cfilter
(
c
,
tp
)
return
c
:
IsControler
(
1
-
tp
)
and
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
not
c
:
IsReason
(
REASON_DRAW
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsStatus
(
STATUS_TO_HAND_WITHOUT_CONFIRM
)
end
function
c15001619
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c15001619
.
cfilter
,
1
,
nil
,
tp
)
...
...
c23270035.lua
View file @
4ba50834
...
...
@@ -36,6 +36,7 @@ function c23270035.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
sg
)
local
tg
=
sg
:
RandomSelect
(
1
-
tp
,
1
)
Duel
.
ShuffleDeck
(
tp
)
tg
:
GetFirst
():
SetStatus
(
STATUS_TO_HAND_WITHOUT_CONFIRM
,
true
)
Duel
.
SendtoHand
(
tg
,
nil
,
REASON_EFFECT
)
end
end
c2403771.lua
View file @
4ba50834
...
...
@@ -38,6 +38,7 @@ function c2403771.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
sg
)
Duel
.
ShuffleDeck
(
tp
)
local
tg
=
sg
:
RandomSelect
(
1
-
tp
,
1
)
tg
:
GetFirst
():
SetStatus
(
STATUS_TO_HAND_WITHOUT_CONFIRM
,
true
)
Duel
.
SendtoHand
(
tg
,
nil
,
REASON_EFFECT
)
end
end
...
...
c27564031.lua
View file @
4ba50834
...
...
@@ -51,6 +51,7 @@ function c27564031.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
sg
)
Duel
.
ShuffleDeck
(
tp
)
local
tg
=
sg
:
RandomSelect
(
1
-
tp
,
1
)
tg
:
GetFirst
():
SetStatus
(
STATUS_TO_HAND_WITHOUT_CONFIRM
,
true
)
Duel
.
SendtoHand
(
tg
,
nil
,
REASON_EFFECT
)
end
end
c3167573.lua
View file @
4ba50834
...
...
@@ -24,7 +24,7 @@ function c3167573.initial_effect(c)
end
function
c3167573
.
cfilter
(
c
,
tp
)
return
c
:
IsControler
(
1
-
tp
)
and
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
not
c
:
IsReason
(
REASON_DRAW
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsStatus
(
STATUS_TO_HAND_WITHOUT_CONFIRM
)
end
function
c3167573
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c3167573
.
cfilter
,
1
,
nil
,
tp
)
...
...
c32360466.lua
View file @
4ba50834
...
...
@@ -37,6 +37,7 @@ function c32360466.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
tg
:
GetFirst
()
Duel
.
Hint
(
HINT_CARD
,
0
,
tc
:
GetCode
())
if
c32360466
.
filter2
(
tc
)
and
tc
:
IsAbleToHand
()
then
tc
:
SetStatus
(
STATUS_TO_HAND_WITHOUT_CONFIRM
,
true
)
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
sg1
:
RemoveCard
(
tc
)
end
...
...
c40230018.lua
View file @
4ba50834
...
...
@@ -57,6 +57,7 @@ function c40230018.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_ATOHAND
)
local
tg
=
sg1
:
Select
(
1
-
tp
,
1
,
1
,
nil
)
local
tc
=
tg
:
GetFirst
()
tc
:
SetStatus
(
STATUS_TO_HAND_WITHOUT_CONFIRM
,
true
)
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
end
end
c47120245.lua
View file @
4ba50834
...
...
@@ -64,6 +64,7 @@ function c47120245.thop(e,tp,eg,ep,ev,re,r,rp)
local
tg
=
sg
:
RandomSelect
(
1
-
tp
,
1
)
local
tc
=
tg
:
GetFirst
()
if
tc
:
IsAbleToHand
()
then
tc
:
SetStatus
(
STATUS_TO_HAND_WITHOUT_CONFIRM
,
true
)
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
sg
:
RemoveCard
(
tc
)
end
...
...
c49776811.lua
View file @
4ba50834
...
...
@@ -59,8 +59,8 @@ function c49776811.ctop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
cg
:
Select
(
tp
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
g
:
GetFirst
():
SetStatus
(
STATUS_TO_HAND_WITHOUT_CONFIRM
,
true
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
end
...
...
c50756327.lua
View file @
4ba50834
...
...
@@ -47,6 +47,7 @@ function c50756327.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
sg1
)
local
cg
=
sg1
:
RandomSelect
(
1
-
tp
,
1
)
local
tc
=
cg
:
GetFirst
()
tc
:
SetStatus
(
STATUS_TO_HAND_WITHOUT_CONFIRM
,
true
)
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
ShuffleDeck
(
tp
)
end
...
...
c64280356.lua
View file @
4ba50834
...
...
@@ -70,6 +70,7 @@ function c64280356.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_ATOHAND
)
local
cg
=
sg1
:
Select
(
1
-
tp
,
1
,
1
,
nil
)
local
tc
=
cg
:
GetFirst
()
tc
:
SetStatus
(
STATUS_TO_HAND_WITHOUT_CONFIRM
,
true
)
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
sg1
:
RemoveCard
(
tc
)
Duel
.
SendtoGrave
(
sg1
,
REASON_EFFECT
)
...
...
c69838761.lua
View file @
4ba50834
...
...
@@ -55,6 +55,7 @@ function c69838761.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
sg
)
local
tg
=
sg
:
RandomSelect
(
1
-
tp
,
1
)
Duel
.
ShuffleDeck
(
tp
)
tg
:
GetFirst
():
SetStatus
(
STATUS_TO_HAND_WITHOUT_CONFIRM
,
true
)
Duel
.
SendtoHand
(
tg
,
nil
,
REASON_EFFECT
)
end
end
c72813401.lua
View file @
4ba50834
...
...
@@ -84,6 +84,7 @@ function c72813401.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
sg
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_ATOHAND
)
local
tg
=
sg
:
RandomSelect
(
1
-
tp
,
1
)
tg
:
GetFirst
():
SetStatus
(
STATUS_TO_HAND_WITHOUT_CONFIRM
,
true
)
Duel
.
SendtoHand
(
tg
,
nil
,
REASON_EFFECT
)
sg
:
Sub
(
tg
)
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
)
...
...
c90969892.lua
View file @
4ba50834
...
...
@@ -48,8 +48,8 @@ function c90969892.operation(e,tp,eg,ep,ev,re,r,rp)
and
Duel
.
SelectOption
(
tp
,
1190
,
1152
)
==
1
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
else
tc
:
SetStatus
(
STATUS_TO_HAND_WITHOUT_CONFIRM
,
true
)
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
sg
:
RemoveCard
(
tc
)
Duel
.
SendtoDeck
(
sg
,
nil
,
SEQ_DECKTOP
,
REASON_EFFECT
)
...
...
c93437091.lua
View file @
4ba50834
...
...
@@ -28,6 +28,7 @@ function c93437091.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_ATOHAND
)
local
tg
=
sg
:
RandomSelect
(
1
-
tp
,
1
)
Duel
.
ShuffleDeck
(
tp
)
tg
:
GetFirst
():
SetStatus
(
STATUS_TO_HAND_WITHOUT_CONFIRM
,
true
)
Duel
.
SendtoHand
(
tg
,
nil
,
REASON_EFFECT
)
end
end
constant.lua
View file @
4ba50834
...
...
@@ -175,7 +175,7 @@ STATUS_EFFECT_REPLACED =0x80000 --效果被替代(红莲霸权)
STATUS_FUTURE_FUSION
=
0x100000
--未来融合特殊召唤(不触发融合素材效果)
STATUS_ATTACK_CANCELED
=
0x200000
--若其為攻擊者,則攻擊中止
STATUS_INITIALIZING
=
0x400000
--初始化..
STATUS_
ACTIVATED
=
0x800000
--N/A
STATUS_
TO_HAND_WITHOUT_CONFIRM
=
0x800000
--非公开的卡被效果加入手卡但未给对方确认
STATUS_JUST_POS
=
0x1000000
--已改變表示形式(用於STATUS_CONTINUOUS_POS判定)
STATUS_CONTINUOUS_POS
=
0x2000000
--改變後再次設定成其他表示形式
STATUS_FORBIDDEN
=
0x4000000
--不能play
...
...
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