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
a53858a6
Commit
a53858a6
authored
Nov 07, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
watele
parent
320f2b89
Pipeline
#6712
passed with stages
in 24 minutes and 39 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
expansions/script/c16110001.lua
expansions/script/c16110001.lua
+3
-3
No files found.
expansions/script/c16110001.lua
View file @
a53858a6
...
...
@@ -47,7 +47,8 @@ function rkst.advop(e,tp,eg,ep,ev,re,r,rp,c)
local
tp
=
e
:
GetHandlerPlayer
()
local
res1
=
false
local
mg
=
Duel
.
GetMatchingGroup
(
rkst
.
otfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
res
=
c
:
IsLevelAbove
(
7
)
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
local
c
=
e
:
GetHandler
()
local
res
=
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
16110026
)
then
res1
=
Duel
.
IsPlayerCanDiscardDeckAsCost
(
tp
,
1
)
end
...
...
@@ -86,7 +87,6 @@ function cm.initial_effect(c)
e3
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_TOGRAVE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e3
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetCountLimit
(
1
,
m
)
e3
:
SetCondition
(
cm
.
descon
)
e3
:
SetTarget
(
cm
.
destg
)
...
...
@@ -116,7 +116,7 @@ function cm.descon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
end
function
cm
.
filter
(
c
)
return
((
c
:
IsAttack
(
2400
)
and
c
:
IsDefense
(
1000
))
or
(
c
:
IsAttack
(
2800
)
and
c
:
IsDefense
(
1000
))
)
and
c
:
IsAbleToHand
()
return
c
:
IsAttackAbove
(
2400
)
and
c
:
IsDefense
(
1000
)
and
c
:
IsAbleToHand
()
end
function
cm
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
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