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
c562bd1e
Commit
c562bd1e
authored
Apr 09, 2025
by
伊蕾娜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
c74560007.lua c74560008.lua c74560016.lua
parent
65ed9918
Pipeline
#34817
passed with stage
in 14 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
script/c74560007.lua
script/c74560007.lua
+1
-1
script/c74560008.lua
script/c74560008.lua
+2
-2
script/c74560016.lua
script/c74560016.lua
+8
-0
No files found.
script/c74560007.lua
View file @
c562bd1e
...
...
@@ -147,7 +147,7 @@ function cCardno.spop(e,tp,eg,ep,ev,re,r,rp)
local
e8
=
Effect
.
CreateEffect
(
c
)
e8
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_UNCOPYABLE
)
e8
:
SetType
(
EFFECT_TYPE_SINGLE
)
e8
:
SetCode
(
EFFECT_INDESTRUCTABLE
_BATTLE
)
e8
:
SetCode
(
EFFECT_INDESTRUCTABLE
)
e8
:
SetValue
(
1
)
e8
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e8
)
...
...
script/c74560008.lua
View file @
c562bd1e
...
...
@@ -42,14 +42,14 @@ function cCardno.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
Duel
.
Remove
(
tc
,
POS_FACEDOWN
,
REASON_EFFECT
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
if
t
c
:
IsType
(
TYPE_TUNER
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
Cardno
,
2
))
then
if
c
:
IsType
(
TYPE_TUNER
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
Cardno
,
2
))
then
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_REMOVE_TYPE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetValue
(
TYPE_TUNER
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
t
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
end
...
...
script/c74560016.lua
View file @
c562bd1e
...
...
@@ -8,6 +8,7 @@ function cCardno.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TOKEN
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetTarget
(
cCardno
.
tg
)
e1
:
SetOperation
(
cCardno
.
activate
)
c
:
RegisterEffect
(
e1
)
--immune
...
...
@@ -27,6 +28,13 @@ function cCardno.initial_effect(c)
e4
:
SetOperation
(
cCardno
.
activate2
)
c
:
RegisterEffect
(
e4
)
end
function
cCardno
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
Duel
.
GetMZoneCount
(
tp
)
>
0
and
Duel
.
GetMZoneCount
(
1
-
tp
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
74560012
,
0x456
,
0x4011
,
0
,
0
,
1
,
RACE_FAIRY
,
ATTRIBUTE_LIGHT
)
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
2
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
2
,
0
,
0
)
end
end
--Activate
function
cCardno
.
activate
(
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