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
83e006c3
Commit
83e006c3
authored
Mar 03, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iNode
parent
a9d11cf8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
expansions/script/c26818000.lua
expansions/script/c26818000.lua
+1
-0
expansions/script/c26818001.lua
expansions/script/c26818001.lua
+3
-2
No files found.
expansions/script/c26818000.lua
View file @
83e006c3
...
...
@@ -2,6 +2,7 @@
local
m
=
26818000
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
26818000
)
--indestructable
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c26818001.lua
View file @
83e006c3
...
...
@@ -2,6 +2,7 @@
local
m
=
26818001
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
26818001
)
--indestructable
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -72,7 +73,7 @@ function cm.indcon(e)
end
function
cm
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tp
=
e
:
GetHandlerPlayer
()
return
Duel
.
IsAbleToEnterBP
()
and
Duel
.
GetTurnPlayer
()
==
tp
and
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
return
Duel
.
IsAbleToEnterBP
()
and
Duel
.
GetTurnPlayer
()
==
tp
end
function
cm
.
costfilter
(
c
)
return
aux
.
IsCodeListed
(
c
,
26818001
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
...
...
@@ -99,7 +100,7 @@ function cm.atkop(e,tp,eg,ep,ev,re,r,rp)
end
function
cm
.
askcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tp
=
e
:
GetHandlerPlayer
()
return
Duel
.
GetTurnPlayer
()
==
1
-
tp
and
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
and
Duel
.
IsAbleToEnterBP
()
return
Duel
.
IsAbleToEnterBP
()
and
Duel
.
GetTurnPlayer
()
==
1
-
tp
end
function
cm
.
askop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
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