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
4
Merge Requests
4
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
MyCard
ygopro-scripts-888
Commits
377781b6
Commit
377781b6
authored
Jul 26, 2023
by
Chen Bill
Committed by
GitHub
Jul 26, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add Auxiliary.EPDestroyOperation() (#2093)
parent
0ed4c2d8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
15 deletions
+8
-15
c1845204.lua
c1845204.lua
+1
-5
c22993208.lua
c22993208.lua
+1
-5
c65450690.lua
c65450690.lua
+1
-5
utility.lua
utility.lua
+5
-0
No files found.
c1845204.lua
View file @
377781b6
...
@@ -47,7 +47,7 @@ function c1845204.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,7 +47,7 @@ function c1845204.activate(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e2
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e2
:
SetLabelObject
(
tc
)
e2
:
SetLabelObject
(
tc
)
e2
:
SetCondition
(
c1845204
.
descon
)
e2
:
SetCondition
(
c1845204
.
descon
)
e2
:
SetOperation
(
c1845204
.
desop
)
e2
:
SetOperation
(
aux
.
EPDestroyOperation
)
Duel
.
RegisterEffect
(
e2
,
tp
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
end
end
end
...
@@ -60,7 +60,3 @@ function c1845204.descon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -60,7 +60,3 @@ function c1845204.descon(e,tp,eg,ep,ev,re,r,rp)
return
false
return
false
end
end
end
end
function
c1845204
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
c22993208.lua
View file @
377781b6
...
@@ -51,7 +51,7 @@ function c22993208.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -51,7 +51,7 @@ function c22993208.activate(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e3
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e3
:
SetLabelObject
(
tc
)
e3
:
SetLabelObject
(
tc
)
e3
:
SetCondition
(
c22993208
.
descon
)
e3
:
SetCondition
(
c22993208
.
descon
)
e3
:
SetOperation
(
c22993208
.
desop
)
e3
:
SetOperation
(
aux
.
EPDestroyOperation
)
Duel
.
RegisterEffect
(
e3
,
tp
)
Duel
.
RegisterEffect
(
e3
,
tp
)
end
end
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
...
@@ -65,7 +65,3 @@ function c22993208.descon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -65,7 +65,3 @@ function c22993208.descon(e,tp,eg,ep,ev,re,r,rp)
return
false
return
false
end
end
end
end
function
c22993208
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
c65450690.lua
View file @
377781b6
...
@@ -44,7 +44,7 @@ function c65450690.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -44,7 +44,7 @@ function c65450690.activate(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e2
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e2
:
SetLabelObject
(
tc
)
e2
:
SetLabelObject
(
tc
)
e2
:
SetCondition
(
c65450690
.
descon
)
e2
:
SetCondition
(
c65450690
.
descon
)
e2
:
SetOperation
(
c65450690
.
desop
)
e2
:
SetOperation
(
aux
.
EPDestroyOperation
)
Duel
.
RegisterEffect
(
e2
,
tp
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
end
end
end
...
@@ -57,7 +57,3 @@ function c65450690.descon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -57,7 +57,3 @@ function c65450690.descon(e,tp,eg,ep,ev,re,r,rp)
return
false
return
false
end
end
end
end
function
c65450690
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
utility.lua
View file @
377781b6
...
@@ -3169,3 +3169,8 @@ function Auxiliary.RemoveOperation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -3169,3 +3169,8 @@ function Auxiliary.RemoveOperation(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
end
end
--The operation function of "destroy during End Phase"
function
Auxiliary
.
EPDestroyOperation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
Duel
.
Destroy
(
tc
,
REASON_EFFECT
,
LOCATION_GRAVE
,
tc
:
GetControler
())
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