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
Soulgamer
ygopro-222DIY-cards
Commits
72daa42a
Commit
72daa42a
authored
Mar 07, 2021
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tnndx
parent
abe3633e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
expansions/script/c16101165.lua
expansions/script/c16101165.lua
+5
-6
No files found.
expansions/script/c16101165.lua
View file @
72daa42a
--天魔反转 猫耳的珈百璃·怀特
function
c16101165
.
initial_effect
(
c
)
aux
.
EnablePendulumAttribute
(
c
,
true
)
--------P effect
--SearchCard
--SearchCard
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
16101165
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
...
...
@@ -13,7 +12,7 @@ function c16101165.initial_effect(c)
e1
:
SetTarget
(
c16101165
.
thtg
)
e1
:
SetOperation
(
c16101165
.
thop
)
c
:
RegisterEffect
(
e1
)
------------Monster effect
------------Monster effect
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
16101165
,
1
))
e2
:
SetCategory
(
CATEGORY_TOGRAVE
)
...
...
@@ -26,15 +25,15 @@ function c16101165.initial_effect(c)
e2
:
SetOperation
(
c16101165
.
tgop
)
c
:
RegisterEffect
(
e2
)
end
function
c16101165
.
relfilter
(
c
)
function
c16101165
.
relfilter
(
c
,
tp
)
return
c
:
IsRace
(
RACE_FAIRY
)
and
Duel
.
IsExistingMatchingCard
(
c16101165
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
c
:
GetAttack
())
end
function
c16101165
.
thfilter
(
c
,
atk
)
return
c
:
IsAbleToHand
()
and
c
:
IsAttackBelow
(
atk
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0xa82
)
end
function
c16101165
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c16101165
.
relfilter
,
1
,
nil
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c16101165
.
relfilter
,
1
,
1
,
nil
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c16101165
.
relfilter
,
1
,
nil
,
tp
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c16101165
.
relfilter
,
1
,
1
,
nil
,
tp
)
e
:
SetLabel
(
g
:
GetFirst
():
GetAttack
())
Duel
.
Release
(
g
,
REASON_COST
)
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