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
8ff78ed6
Commit
8ff78ed6
authored
Sep 27, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
19a817db
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
6 deletions
+26
-6
expansions/script/c33700912.lua
expansions/script/c33700912.lua
+24
-4
expansions/script/c9911614.lua
expansions/script/c9911614.lua
+2
-2
No files found.
expansions/script/c33700912.lua
View file @
8ff78ed6
...
@@ -22,10 +22,8 @@ function c33700912.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -22,10 +22,8 @@ function c33700912.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c33700912
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c33700912
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
if
Duel
.
Damage
(
tp
,
3000
,
REASON_EFFECT
)
>
0
then
if
Duel
.
Damage
(
tp
,
3000
,
REASON_EFFECT
)
>
0
and
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
>
0
then
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
Duel
.
BreakEffect
()
end
Duel
.
BreakEffect
()
if
Duel
.
GetCurrentPhase
()
~=
PHASE_END
then
if
Duel
.
GetCurrentPhase
()
~=
PHASE_END
then
if
Duel
.
GetCurrentPhase
()
==
PHASE_DRAW
then
if
Duel
.
GetCurrentPhase
()
==
PHASE_DRAW
then
Duel
.
SkipPhase
(
Duel
.
GetTurnPlayer
(),
PHASE_DRAW
,
RESET_PHASE
+
PHASE_END
,
1
)
Duel
.
SkipPhase
(
Duel
.
GetTurnPlayer
(),
PHASE_DRAW
,
RESET_PHASE
+
PHASE_END
,
1
)
...
@@ -33,20 +31,42 @@ function c33700912.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -33,20 +31,42 @@ function c33700912.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SkipPhase
(
Duel
.
GetTurnPlayer
(),
PHASE_MAIN1
,
RESET_PHASE
+
PHASE_END
,
1
)
Duel
.
SkipPhase
(
Duel
.
GetTurnPlayer
(),
PHASE_MAIN1
,
RESET_PHASE
+
PHASE_END
,
1
)
Duel
.
SkipPhase
(
Duel
.
GetTurnPlayer
(),
PHASE_BATTLE
,
RESET_PHASE
+
PHASE_END
,
1
)
Duel
.
SkipPhase
(
Duel
.
GetTurnPlayer
(),
PHASE_BATTLE
,
RESET_PHASE
+
PHASE_END
,
1
)
Duel
.
SkipPhase
(
Duel
.
GetTurnPlayer
(),
PHASE_MAIN2
,
RESET_PHASE
+
PHASE_END
,
1
)
Duel
.
SkipPhase
(
Duel
.
GetTurnPlayer
(),
PHASE_MAIN2
,
RESET_PHASE
+
PHASE_END
,
1
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_BP
)
e1
:
SetTargetRange
(
0
,
1
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
Duel
.
GetTurnPlayer
())
elseif
Duel
.
GetCurrentPhase
()
==
PHASE_STANDBY
then
elseif
Duel
.
GetCurrentPhase
()
==
PHASE_STANDBY
then
Duel
.
SkipPhase
(
Duel
.
GetTurnPlayer
(),
PHASE_STANDBY
,
RESET_PHASE
+
PHASE_END
,
1
)
Duel
.
SkipPhase
(
Duel
.
GetTurnPlayer
(),
PHASE_STANDBY
,
RESET_PHASE
+
PHASE_END
,
1
)
Duel
.
SkipPhase
(
Duel
.
GetTurnPlayer
(),
PHASE_MAIN1
,
RESET_PHASE
+
PHASE_END
,
1
)
Duel
.
SkipPhase
(
Duel
.
GetTurnPlayer
(),
PHASE_MAIN1
,
RESET_PHASE
+
PHASE_END
,
1
)
Duel
.
SkipPhase
(
Duel
.
GetTurnPlayer
(),
PHASE_BATTLE
,
RESET_PHASE
+
PHASE_END
,
1
)
Duel
.
SkipPhase
(
Duel
.
GetTurnPlayer
(),
PHASE_BATTLE
,
RESET_PHASE
+
PHASE_END
,
1
)
Duel
.
SkipPhase
(
Duel
.
GetTurnPlayer
(),
PHASE_MAIN2
,
RESET_PHASE
+
PHASE_END
,
1
)
Duel
.
SkipPhase
(
Duel
.
GetTurnPlayer
(),
PHASE_MAIN2
,
RESET_PHASE
+
PHASE_END
,
1
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_BP
)
e1
:
SetTargetRange
(
0
,
1
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
Duel
.
GetTurnPlayer
())
elseif
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
then
elseif
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
then
Duel
.
SkipPhase
(
Duel
.
GetTurnPlayer
(),
PHASE_MAIN1
,
RESET_PHASE
+
PHASE_END
,
1
)
Duel
.
SkipPhase
(
Duel
.
GetTurnPlayer
(),
PHASE_MAIN1
,
RESET_PHASE
+
PHASE_END
,
1
)
Duel
.
SkipPhase
(
Duel
.
GetTurnPlayer
(),
PHASE_BATTLE
,
RESET_PHASE
+
PHASE_END
,
1
)
Duel
.
SkipPhase
(
Duel
.
GetTurnPlayer
(),
PHASE_BATTLE
,
RESET_PHASE
+
PHASE_END
,
1
)
Duel
.
SkipPhase
(
Duel
.
GetTurnPlayer
(),
PHASE_MAIN2
,
RESET_PHASE
+
PHASE_END
,
1
)
Duel
.
SkipPhase
(
Duel
.
GetTurnPlayer
(),
PHASE_MAIN2
,
RESET_PHASE
+
PHASE_END
,
1
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_BP
)
e1
:
SetTargetRange
(
0
,
1
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
Duel
.
GetTurnPlayer
())
elseif
Duel
.
GetCurrentPhase
()
==
PHASE_BATTLE
then
elseif
Duel
.
GetCurrentPhase
()
==
PHASE_BATTLE
then
Duel
.
SkipPhase
(
Duel
.
GetTurnPlayer
(),
PHASE_BATTLE
,
RESET_PHASE
+
PHASE_END
,
1
)
Duel
.
SkipPhase
(
Duel
.
GetTurnPlayer
(),
PHASE_BATTLE
,
RESET_PHASE
+
PHASE_END
,
1
)
Duel
.
SkipPhase
(
Duel
.
GetTurnPlayer
(),
PHASE_MAIN2
,
RESET_PHASE
+
PHASE_END
,
1
)
Duel
.
SkipPhase
(
Duel
.
GetTurnPlayer
(),
PHASE_MAIN2
,
RESET_PHASE
+
PHASE_END
,
1
)
elseif
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
then
elseif
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
then
Duel
.
SkipPhase
(
Duel
.
GetTurnPlayer
(),
PHASE_MAIN2
,
RESET_PHASE
+
PHASE_END
,
1
)
Duel
.
SkipPhase
(
Duel
.
GetTurnPlayer
(),
PHASE_MAIN2
,
RESET_PHASE
+
PHASE_END
,
1
)
end
end
end
end
end
end
end
\ No newline at end of file
expansions/script/c9911614.lua
View file @
8ff78ed6
...
@@ -57,7 +57,7 @@ function c9911614.checkop1(e,tp,eg,ep,ev,re,r,rp)
...
@@ -57,7 +57,7 @@ function c9911614.checkop1(e,tp,eg,ep,ev,re,r,rp)
local
tg
=
eg
:
Filter
(
Card
.
IsOnField
,
nil
)
local
tg
=
eg
:
Filter
(
Card
.
IsOnField
,
nil
)
if
#
tg
>
0
then
if
#
tg
>
0
then
for
tc
in
aux
.
Next
(
tg
)
do
for
tc
in
aux
.
Next
(
tg
)
do
tc
:
RegisterFlagEffect
(
9911615
,
RESET_EVENT
+
0x1fc0000
+
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_SET_AVAILABLE
+
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
9911614
,
4
))
tc
:
RegisterFlagEffect
(
9911615
,
RESET_EVENT
+
0x1fc0000
,
EFFECT_FLAG_SET_AVAILABLE
+
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
9911614
,
4
))
end
end
end
end
end
end
...
@@ -65,7 +65,7 @@ function c9911614.checkop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -65,7 +65,7 @@ function c9911614.checkop2(e,tp,eg,ep,ev,re,r,rp)
local
tg
=
Duel
.
GetMatchingGroup
(
c9911614
.
ctgfilter
,
0
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
local
tg
=
Duel
.
GetMatchingGroup
(
c9911614
.
ctgfilter
,
0
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
if
#
tg
>
0
then
if
#
tg
>
0
then
for
tc
in
aux
.
Next
(
tg
)
do
for
tc
in
aux
.
Next
(
tg
)
do
tc
:
RegisterFlagEffect
(
9911615
,
RESET_EVENT
+
0x1fc0000
+
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_SET_AVAILABLE
+
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
9911614
,
4
))
tc
:
RegisterFlagEffect
(
9911615
,
RESET_EVENT
+
0x1fc0000
,
EFFECT_FLAG_SET_AVAILABLE
+
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
9911614
,
4
))
end
end
end
end
end
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