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
4b30e9cd
Commit
4b30e9cd
authored
Feb 15, 2025
by
GuGu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c74561065.lua
parent
4f42ce98
Pipeline
#33245
passed with stage
in 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
script/c74561065.lua
script/c74561065.lua
+4
-1
No files found.
script/c74561065.lua
View file @
4b30e9cd
...
...
@@ -46,7 +46,7 @@ function cCardno.tkcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
DiscardHand
(
tp
,
nil
,
1
,
1
,
REASON_COST
,
nil
)
end
function
cCardno
.
spellfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x201
)
and
c
:
IsType
(
TYPE_SPELL
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
c
:
GetCode
(),
0x201
,
TYPE_MONSTER
+
TYPE_NORMAL
,
500
,
0
,
1
,
RACE_WARRIOR
,
ATTRIBUTE_LIGHT
,
POS_FACEUP
)
return
c
:
IsSetCard
(
0x201
)
and
c
:
IsType
(
TYPE_SPELL
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
c
:
GetCode
(),
0x201
,
TYPE_MONSTER
+
TYPE_NORMAL
+
TYPE_SPIRIT
,
500
,
0
,
1
,
RACE_WARRIOR
,
ATTRIBUTE_LIGHT
,
POS_FACEUP
)
end
function
cCardno
.
tktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetMZoneCount
(
tp
)
>
0
and
Duel
.
IsExistingMatchingCard
(
cCardno
.
spellfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
...
...
@@ -61,8 +61,11 @@ function cCardno.tkop(e,tp,eg,ep,ev,re,r,rp)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
local
tc
=
sg
:
GetFirst
()
if
tc
then
local
t4
=
Duel
.
ReadCard
(
tc
,
4
)
tc
:
SetCardData
(
4
,
TYPE_MONSTER
+
TYPE_NORMAL
+
TYPE_SPIRIT
)
tc
:
AddMonsterAttribute
(
TYPE_MONSTER
+
TYPE_NORMAL
+
TYPE_SPIRIT
,
ATTRIBUTE_LIGHT
,
RACE_WARRIOR
,
1
,
500
,
0
)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
tc
:
SetCardData
(
4
,
t4
)
end
Duel
.
BreakEffect
()
if
c
:
IsLocation
(
LOCATION_MZONE
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
Cardno
,
1
))
then
...
...
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