Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
97e9150c
Commit
97e9150c
authored
Jan 11, 2022
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
bd0e60a1
Pipeline
#8614
passed with stages
in 48 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
script/c101108021.lua
script/c101108021.lua
+2
-1
script/c101108024.lua
script/c101108024.lua
+9
-0
No files found.
script/c101108021.lua
View file @
97e9150c
...
...
@@ -92,7 +92,7 @@ function c101108021.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c101108021
.
spfilter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
Step
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
...
...
@@ -105,6 +105,7 @@ function c101108021.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
end
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
script/c101108024.lua
View file @
97e9150c
...
...
@@ -23,6 +23,7 @@ function c101108024.initial_effect(c)
e2
:
SetCode
(
EFFECT_ACTIVATE_COST
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetTargetRange
(
0
,
1
)
e2
:
SetCondition
(
c101108024
.
costcon
)
e2
:
SetCost
(
c101108024
.
costchk
)
e2
:
SetOperation
(
c101108024
.
costop
)
c
:
RegisterEffect
(
e2
)
...
...
@@ -33,6 +34,7 @@ function c101108024.initial_effect(c)
e3
:
SetCode
(
0x10000000
+
101108024
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetTargetRange
(
0
,
1
)
e3
:
SetCondition
(
c101108024
.
costcon
)
c
:
RegisterEffect
(
e3
)
--remove
local
e4
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -63,6 +65,13 @@ function c101108024.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
function
c101108024
.
costcfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x137
)
and
c
:
IsLevelAbove
(
7
)
end
function
c101108024
.
costcon
(
e
)
local
tp
=
e
:
GetHandlerPlayer
()
return
Duel
.
IsExistingMatchingCard
(
c101108024
.
costcfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
c101108024
.
costchk
(
e
,
te_or_c
,
tp
)
local
ct
=
Duel
.
GetFlagEffect
(
tp
,
101108024
)
return
Duel
.
CheckLPCost
(
tp
,
ct
*
400
)
...
...
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