Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-cards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
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
HiiragiGuardians
ygopro-THC-cards
Commits
2be6c875
Commit
2be6c875
authored
Aug 04, 2022
by
Grajade
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c74561014.lua
parent
828c8466
Pipeline
#15369
passed with stage
in 44 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
script/c74561014.lua
script/c74561014.lua
+22
-0
No files found.
script/c74561014.lua
View file @
2be6c875
...
@@ -26,6 +26,13 @@ function cCardno.initial_effect(c)
...
@@ -26,6 +26,13 @@ function cCardno.initial_effect(c)
e2
:
SetTarget
(
cCardno
.
nirtg
)
e2
:
SetTarget
(
cCardno
.
nirtg
)
e2
:
SetOperation
(
cCardno
.
nirop
)
e2
:
SetOperation
(
cCardno
.
nirop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e3
:
SetOperation
(
cCardno
.
spop
)
c
:
RegisterEffect
(
e3
)
end
end
--Nirvana
--Nirvana
function
cCardno
.
nircost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cCardno
.
nircost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
@@ -112,3 +119,18 @@ end
...
@@ -112,3 +119,18 @@ end
function
cCardno
.
synlimit
(
e
,
c
)
function
cCardno
.
synlimit
(
e
,
c
)
if
not
c
:
IsSetCard
(
0x5208
)
then
return
true
end
if
not
c
:
IsSetCard
(
0x5208
)
then
return
true
end
end
end
--
function
cCardno
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
e3_1
=
Effect
.
CreateEffect
(
c
)
e3_1
:
SetType
(
EFFECT_TYPE_FIELD
)
e3_1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
)
e3_1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e3_1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e3_1
:
SetTargetRange
(
1
,
0
)
e3_1
:
SetTarget
(
cCardno
.
splimit
)
Duel
.
RegisterEffect
(
e3_1
,
tp
)
end
function
cCardno
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
not
c
:
IsSetCard
(
0x5208
)
and
(
c
:
IsType
(
TYPE_SYNCHRO
)
or
c
:
IsType
(
TYPE_XYZ
)
or
c
:
IsType
(
TYPE_FUSION
)
)
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