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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
0ec61d87
Commit
0ec61d87
authored
Feb 10, 2021
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wdnmd
parent
3afe0d3f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletion
+15
-1
expansions/script/c33330048.lua
expansions/script/c33330048.lua
+5
-1
expansions/script/c33710920.lua
expansions/script/c33710920.lua
+10
-0
No files found.
expansions/script/c33330048.lua
View file @
0ec61d87
...
@@ -37,11 +37,15 @@ function c33330048.damop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -37,11 +37,15 @@ function c33330048.damop(e,tp,eg,ep,ev,re,r,rp)
local
num
=
e
:
GetHandler
():
GetAttack
()
+
Duel
.
GetAttackTarget
():
GetAttack
()
local
num
=
e
:
GetHandler
():
GetAttack
()
+
Duel
.
GetAttackTarget
():
GetAttack
()
if
Duel
.
Damage
(
1
-
tp
,
num
,
REASON_EFFECT
)
~=
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
33330048
,
1
))
then
if
Duel
.
Damage
(
1
-
tp
,
num
,
REASON_EFFECT
)
~=
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
33330048
,
1
))
then
Duel
.
SendtoDeck
(
e
:
GetHandler
():
GetBattleTarget
(),
nil
,
0
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
e
:
GetHandler
():
GetBattleTarget
(),
nil
,
0
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
e
:
GetHandler
(),
nil
,
0
,
REASON_EFFECT
)
end
end
end
end
function
c33330048
.
spsop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c33330048
.
spsop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
e
:
GetHandler
():
GetColumnGroup
()
local
g
=
e
:
GetHandler
():
GetColumnGroup
()
if
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
~=
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
33330048
,
0
))
then
if
#
g
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
end
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
33330048
,
0
))
then
Duel
.
SkipPhase
(
tp
,
PHASE_MAIN1
,
RESET_PHASE
+
PHASE_BATTLE_START
,
1
)
Duel
.
SkipPhase
(
tp
,
PHASE_MAIN1
,
RESET_PHASE
+
PHASE_BATTLE_START
,
1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
expansions/script/c33710920.lua
View file @
0ec61d87
...
@@ -56,6 +56,16 @@ function c33710920.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -56,6 +56,16 @@ function c33710920.activate(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetValue
(
mat1
:
GetSum
(
Card
.
GetDefense
))
e2
:
SetValue
(
mat1
:
GetSum
(
Card
.
GetDefense
))
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
,
true
)
tc
:
RegisterEffect
(
e2
,
true
)
local
e1_1
=
Effect
.
CreateEffect
(
c
)
e1_1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1_1
:
SetCode
(
EFFECT_DISABLE
)
e1_1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1_1
)
local
e2_1
=
Effect
.
CreateEffect
(
c
)
e2_1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2_1
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2_1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2_1
)
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