Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
REIKAI
ygopro-222DIY-cards
Commits
1034af3d
Commit
1034af3d
authored
Sep 27, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
23c1d78e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
4 deletions
+24
-4
expansions/script/c33700912.lua
expansions/script/c33700912.lua
+24
-4
No files found.
expansions/script/c33700912.lua
View file @
1034af3d
...
@@ -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,15 +31,36 @@ function c33700912.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -33,15 +31,36 @@ 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
)
...
@@ -49,4 +68,5 @@ function c33700912.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -49,4 +68,5 @@ function c33700912.activate(e,tp,eg,ep,ev,re,r,rp)
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
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