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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
7fde036a
Commit
7fde036a
authored
Aug 10, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
554b2435
Pipeline
#511
failed with stages
in 12 minutes and 43 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
expansions/script/c10900053.lua
expansions/script/c10900053.lua
+1
-1
expansions/script/c12029040.lua
expansions/script/c12029040.lua
+4
-4
expansions/script/c12044014.lua
expansions/script/c12044014.lua
+1
-0
No files found.
expansions/script/c10900053.lua
View file @
7fde036a
...
...
@@ -12,7 +12,7 @@ end
function
c10900053
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ph
=
Duel
.
GetCurrentPhase
()
if
ph
==
PHASE_MAIN1
or
ph
==
PHASE_MAIN2
then
return
end
return
rp
==
1
-
tp
and
Duel
.
IsChainNegatable
(
ev
)
and
return
rp
==
1
-
tp
and
Duel
.
IsChainNegatable
(
ev
)
end
function
c10900053
.
desfilter
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
...
...
expansions/script/c12029040.lua
View file @
7fde036a
...
...
@@ -28,19 +28,19 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
63
,
nil
)
if
g
:
GetCount
()
>
0
then
if
Duel
.
Remove
(
c
,
POS_FACEDOWN
,
REASON_COST
+
REASON_TEMPORARY
)
~=
0
then
if
Duel
.
Remove
(
g
,
POS_FACEDOWN
,
REASON_COST
+
REASON_TEMPORARY
)
~=
0
then
local
og
=
Duel
.
GetOperatedGroup
()
local
oc
=
og
:
GetFirst
()
while
oc
do
oc
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
oc
=
og
:
GetNext
()
oc
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_STANDBY
+
RESET_SELF_TURN
,
0
,
1
)
oc
=
og
:
GetNext
()
end
og
:
KeepAlive
()
local
tt
=
og
:
GetCount
()
if
cm
.
lplist
[
tp
]
==
16000
then
Duel
.
Draw
(
tp
,
tt
,
REASON_EFFECT
)
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetRange
(
LOCATION_REMOVED
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
...
...
expansions/script/c12044014.lua
View file @
7fde036a
...
...
@@ -95,6 +95,7 @@ function cm.filter1(c,mc)
return
c
:
IsCanBeBattleTarget
(
mc
)
end
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
cfilter1
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
if
g
then
tc
=
g
:
GetFirst
()
...
...
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