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
3
Merge Requests
3
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
5718d2b2
Commit
5718d2b2
authored
Apr 09, 2022
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update temp remove
parent
2d3929f5
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
14 additions
and
14 deletions
+14
-14
c15286412.lua
c15286412.lua
+1
-1
c16638212.lua
c16638212.lua
+1
-1
c19089195.lua
c19089195.lua
+1
-1
c27012990.lua
c27012990.lua
+1
-1
c36016907.lua
c36016907.lua
+1
-1
c41006930.lua
c41006930.lua
+1
-1
c41382147.lua
c41382147.lua
+1
-1
c41613948.lua
c41613948.lua
+1
-1
c42810973.lua
c42810973.lua
+1
-1
c42874792.lua
c42874792.lua
+1
-1
c48285768.lua
c48285768.lua
+1
-1
c52575195.lua
c52575195.lua
+1
-1
c57355219.lua
c57355219.lua
+1
-1
c81896771.lua
c81896771.lua
+1
-1
No files found.
c15286412.lua
View file @
5718d2b2
...
...
@@ -19,7 +19,7 @@ function c15286412.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c15286412
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c15286412
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
+
REASON_TEMPORARY
)
Duel
.
Remove
(
g
,
0
,
REASON_COST
+
REASON_TEMPORARY
)
e
:
SetLabelObject
(
g
:
GetFirst
())
end
function
c15286412
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
c16638212.lua
View file @
5718d2b2
...
...
@@ -23,7 +23,7 @@ function c16638212.spop(e,tp,eg,ep,ev,re,r,rp,c)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c16638212
.
spfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
ft
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
+
REASON_TEMPORARY
)
Duel
.
Remove
(
g
,
0
,
REASON_COST
+
REASON_TEMPORARY
)
g
:
GetFirst
():
RegisterFlagEffect
(
16638212
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
0
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
16638212
,
0
))
...
...
c19089195.lua
View file @
5718d2b2
...
...
@@ -72,7 +72,7 @@ function c19089195.remcost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c19089195
.
costfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c19089195
.
costfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
if
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
+
REASON_TEMPORARY
)
~=
0
then
if
Duel
.
Remove
(
g
,
0
,
REASON_COST
+
REASON_TEMPORARY
)
~=
0
then
local
rc
=
g
:
GetFirst
()
if
rc
:
IsType
(
TYPE_TOKEN
)
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
c27012990.lua
View file @
5718d2b2
...
...
@@ -45,7 +45,7 @@ function c27012990.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
Duel
.
GetTurnPlayer
()
==
tp
and
Duel
.
GetCurrentPhase
()
==
PHASE_STANDBY
then
tct
=
2
end
local
tc
=
rg
:
GetFirst
()
while
tc
do
if
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_COST
+
REASON_TEMPORARY
)
~=
0
then
if
Duel
.
Remove
(
tc
,
0
,
REASON_COST
+
REASON_TEMPORARY
)
~=
0
then
tc
:
RegisterFlagEffect
(
27012990
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_STANDBY
+
RESET_SELF_TURN
,
0
,
tct
)
end
tc
=
rg
:
GetNext
()
...
...
c36016907.lua
View file @
5718d2b2
...
...
@@ -77,7 +77,7 @@ function c36016907.spop2(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e1
,
true
)
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsAbleToRemove
()
then
Duel
.
BreakEffect
()
if
Duel
.
Remove
(
c
,
POS_FACEUP
,
REASON_EFFECT
+
REASON_TEMPORARY
)
~=
0
then
if
Duel
.
Remove
(
c
,
0
,
REASON_EFFECT
+
REASON_TEMPORARY
)
~=
0
then
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
...
...
c41006930.lua
View file @
5718d2b2
...
...
@@ -29,7 +29,7 @@ end
function
c41006930
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
Duel
.
Remove
(
c
,
POS_FACEUP
,
REASON_EFFECT
+
REASON_TEMPORARY
)
Duel
.
Remove
(
c
,
0
,
REASON_EFFECT
+
REASON_TEMPORARY
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
...
...
c41382147.lua
View file @
5718d2b2
...
...
@@ -37,7 +37,7 @@ function c41382147.rmtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c41382147
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
and
Duel
.
Remove
(
c
,
POS_FACEUP
,
REASON_EFFECT
+
REASON_TEMPORARY
)
==
1
then
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
and
Duel
.
Remove
(
c
,
0
,
REASON_EFFECT
+
REASON_TEMPORARY
)
==
1
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_BATTLE_START
)
...
...
c41613948.lua
View file @
5718d2b2
...
...
@@ -37,7 +37,7 @@ end
function
c41613948
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
Remove
(
tc
,
tc
:
GetPosition
()
,
REASON_EFFECT
+
REASON_TEMPORARY
)
~=
0
then
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
Remove
(
tc
,
0
,
REASON_EFFECT
+
REASON_TEMPORARY
)
~=
0
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
...
...
c42810973.lua
View file @
5718d2b2
...
...
@@ -29,7 +29,7 @@ function c42810973.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c42810973
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
Remove
(
tc
,
tc
:
GetPosition
()
,
REASON_EFFECT
+
REASON_TEMPORARY
)
~=
0
then
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
Remove
(
tc
,
0
,
REASON_EFFECT
+
REASON_TEMPORARY
)
~=
0
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
...
...
c42874792.lua
View file @
5718d2b2
...
...
@@ -25,7 +25,7 @@ function c42874792.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c42874792
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
Remove
(
tc
,
tc
:
GetPosition
()
,
REASON_EFFECT
+
REASON_TEMPORARY
)
~=
0
then
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
Remove
(
tc
,
0
,
REASON_EFFECT
+
REASON_TEMPORARY
)
~=
0
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
...
...
c48285768.lua
View file @
5718d2b2
...
...
@@ -62,7 +62,7 @@ function c48285768.rmop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
local
ct
=
c
:
GetOverlayCount
()
Duel
.
Remove
(
c
,
POS_FACEUP
,
REASON_EFFECT
+
REASON_TEMPORARY
)
Duel
.
Remove
(
c
,
0
,
REASON_EFFECT
+
REASON_TEMPORARY
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
...
...
c52575195.lua
View file @
5718d2b2
...
...
@@ -48,7 +48,7 @@ end
function
c52575195
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsControler
(
tp
)
and
Duel
.
Remove
(
tc
,
tc
:
GetPosition
()
,
REASON_EFFECT
+
REASON_TEMPORARY
)
~=
0
then
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsControler
(
tp
)
and
Duel
.
Remove
(
tc
,
0
,
REASON_EFFECT
+
REASON_TEMPORARY
)
~=
0
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
...
...
c57355219.lua
View file @
5718d2b2
...
...
@@ -31,7 +31,7 @@ function c57355219.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c57355219
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c57355219
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
+
REASON_TEMPORARY
)
Duel
.
Remove
(
g
,
0
,
REASON_COST
+
REASON_TEMPORARY
)
e
:
SetLabelObject
(
g
:
GetFirst
())
end
function
c57355219
.
target1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c81896771.lua
View file @
5718d2b2
...
...
@@ -32,7 +32,7 @@ function c81896771.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c81896771
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
and
Duel
.
Remove
(
tc
,
tc
:
GetPosition
()
,
REASON_EFFECT
+
REASON_TEMPORARY
)
~=
0
then
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
and
Duel
.
Remove
(
tc
,
0
,
REASON_EFFECT
+
REASON_TEMPORARY
)
~=
0
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_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