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
0b44a14a
Commit
0b44a14a
authored
Mar 19, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tnndx
parent
c55e5f6c
Pipeline
#2705
passed with stages
in 26 minutes and 1 second
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
10 deletions
+6
-10
expansions/script/c21520140.lua
expansions/script/c21520140.lua
+1
-1
expansions/script/c33711107.lua
expansions/script/c33711107.lua
+4
-8
expansions/script/c69696918.lua
expansions/script/c69696918.lua
+1
-1
No files found.
expansions/script/c21520140.lua
View file @
0b44a14a
...
...
@@ -96,7 +96,7 @@ function c21520140.reset(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c21520140
.
thfilter
(
c
)
return
c
:
IsAbleToHand
()
and
c
:
IsSetCard
(
0x5491
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsAbleToHand
()
and
c
:
IsSetCard
(
0x5491
)
end
function
c21520140
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToRemoveAsCost
()
end
...
...
expansions/script/c33711107.lua
View file @
0b44a14a
...
...
@@ -65,8 +65,9 @@ function cm.initial_effect(c)
e5
:
SetCode
(
EFFECT_DRAW_COUNT
)
e5
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e5
:
SetRange
(
LOCATION_FZONE
)
e5
:
SetCondition
(
cm
.
drcon
)
e5
:
SetTargetRange
(
1
,
1
)
e5
:
SetValue
(
cm
.
drval
)
e5
:
SetValue
(
2
)
c
:
RegisterEffect
(
e5
)
--recover
local
e6
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -142,15 +143,10 @@ function cm.sumval(e,c)
local
sp
=
cm
.
GetNorthPlayer
(
e
:
GetHandler
(),
e
:
GetHandlerPlayer
())
return
c
:
IsControler
(
sp
)
end
function
cm
.
dr
val
(
e
)
function
cm
.
dr
con
(
e
,
tp
)
local
tp
=
Duel
.
GetTurnPlayer
()
local
sp
=
cm
.
GetNorthPlayer
(
e
:
GetHandler
(),
e
:
GetHandlerPlayer
())
local
dr
=
Duel
.
GetDrawCount
(
tp
)
if
tp
==
1
-
sp
then
return
2
else
return
dr
end
return
tp
==
1
-
sp
end
function
cm
.
rmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
sp
=
cm
.
GetNorthPlayer
(
e
:
GetHandler
(),
tp
)
...
...
expansions/script/c69696918.lua
View file @
0b44a14a
...
...
@@ -42,7 +42,7 @@ function cm.gf(g,lc)
return
g
:
IsExists
(
Card
.
IsRace
,
1
,
nil
,
RACE_SPELLCASTER
)
end
function
cm
.
LConditionFilter
(
c
,
f
,
lc
)
if
c
:
IsLocation
(
LOCATION_EXTRA
)
then
return
c
:
IsCanBeLinkMaterial
(
lc
)
and
(
not
f
or
f
(
c
))
and
c
:
IsFaceup
()
end
if
c
:
IsLocation
(
LOCATION_EXTRA
)
then
return
c
:
IsCanBeLinkMaterial
(
lc
)
and
(
not
f
or
f
(
c
))
and
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_SPELLCASTER
)
end
return
c
:
IsCanBeLinkMaterial
(
lc
)
and
(
not
f
or
f
(
c
))
end
function
cm
.
GetLinkMaterials
(
tp
,
f
,
lc
)
...
...
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