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
9ff38e69
Commit
9ff38e69
authored
Aug 31, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
9770d490
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
expansions/script/c50424425.lua
expansions/script/c50424425.lua
+2
-1
expansions/script/c52500002.lua
expansions/script/c52500002.lua
+2
-1
expansions/script/c81010032.lua
expansions/script/c81010032.lua
+2
-1
No files found.
expansions/script/c50424425.lua
View file @
9ff38e69
...
@@ -36,6 +36,7 @@ function c50424425.initial_effect(c)
...
@@ -36,6 +36,7 @@ function c50424425.initial_effect(c)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e4
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e4
:
SetRange
(
LOCATION_SZONE
)
e4
:
SetRange
(
LOCATION_SZONE
)
e4
:
SetCountLimit
(
1
,
50424425
)
e4
:
SetCondition
(
c50424425
.
accon
)
e4
:
SetCondition
(
c50424425
.
accon
)
e4
:
SetTarget
(
c50424425
.
actg
)
e4
:
SetTarget
(
c50424425
.
actg
)
e4
:
SetOperation
(
c50424425
.
acop
)
e4
:
SetOperation
(
c50424425
.
acop
)
...
@@ -46,7 +47,7 @@ function c50424425.initial_effect(c)
...
@@ -46,7 +47,7 @@ function c50424425.initial_effect(c)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e5
:
SetCode
(
EVENT_TO_GRAVE
)
e5
:
SetCode
(
EVENT_TO_GRAVE
)
e5
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e5
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e5
:
SetCountLimit
(
1
,
50424425
)
e5
:
SetCountLimit
(
1
,
50424425
+
1
)
e5
:
SetCondition
(
c50424425
.
hdcon
)
e5
:
SetCondition
(
c50424425
.
hdcon
)
e5
:
SetTarget
(
c50424425
.
hdtg
)
e5
:
SetTarget
(
c50424425
.
hdtg
)
e5
:
SetOperation
(
c50424425
.
hdop
)
e5
:
SetOperation
(
c50424425
.
hdop
)
...
...
expansions/script/c52500002.lua
View file @
9ff38e69
...
@@ -47,7 +47,8 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,7 +47,8 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoDeck
(
c
,
nil
,
2
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
c
,
nil
,
2
,
REASON_EFFECT
)
end
end
end
end
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
12492002
)
and
Duel
.
GetFlagEffect
(
tp
,
m
)
==
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
12492002
,
2
))
then
if
aux
.
NegateSummonCondition
()
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
12492002
)
and
Duel
.
GetFlagEffect
(
tp
,
m
)
==
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
12492002
,
2
))
then
Duel
.
NegateSummon
(
eg
)
Duel
.
NegateSummon
(
eg
)
Duel
.
RegisterFlagEffect
(
tp
,
m
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
m
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
...
...
expansions/script/c81010032.lua
View file @
9ff38e69
...
@@ -41,7 +41,8 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -41,7 +41,8 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoDeck
(
c
,
nil
,
2
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
c
,
nil
,
2
,
REASON_EFFECT
)
end
end
end
end
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
12492002
)
and
Duel
.
GetFlagEffect
(
tp
,
m
)
==
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
12492002
,
2
))
then
if
Duel
.
IsChainNegatable
(
ev
)
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
12492002
)
and
Duel
.
GetFlagEffect
(
tp
,
m
)
==
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
12492002
,
2
))
then
Duel
.
NegateActivation
(
ev
)
Duel
.
NegateActivation
(
ev
)
Duel
.
RegisterFlagEffect
(
tp
,
m
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
m
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
...
...
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