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
8495b051
Commit
8495b051
authored
Jan 31, 2025
by
GuGu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c19114517.lua
parent
ab4101a0
Pipeline
#32896
passed with stage
in 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
script/c19114517.lua
script/c19114517.lua
+5
-6
No files found.
script/c19114517.lua
View file @
8495b051
...
@@ -8,7 +8,6 @@ function c19114517.initial_effect(c)
...
@@ -8,7 +8,6 @@ function c19114517.initial_effect(c)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCountLimit
(
1
,
19114517
)
e1
:
SetCost
(
c19114517
.
cost
)
e1
:
SetCost
(
c19114517
.
cost
)
e1
:
SetOperation
(
c19114517
.
operation
)
e1
:
SetOperation
(
c19114517
.
operation
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
@@ -17,7 +16,7 @@ function c19114517.initial_effect(c)
...
@@ -17,7 +16,7 @@ function c19114517.initial_effect(c)
e5
:
SetCategory
(
CATEGORY_DISABLE
+
CATEGORY_REMOVE
)
e5
:
SetCategory
(
CATEGORY_DISABLE
+
CATEGORY_REMOVE
)
e5
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e5
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e5
:
SetCode
(
EVENT_CHAINING
)
e5
:
SetCode
(
EVENT_CHAINING
)
e5
:
SetRange
(
LOCATION_GRAVE
+
LOCATION_
ONFIELD
)
e5
:
SetRange
(
LOCATION_GRAVE
+
LOCATION_
MZONE
)
e5
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e5
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e5
:
SetCondition
(
c19114517
.
condition5
)
e5
:
SetCondition
(
c19114517
.
condition5
)
e5
:
SetCost
(
c19114517
.
cost5
)
e5
:
SetCost
(
c19114517
.
cost5
)
...
@@ -35,7 +34,7 @@ function c19114517.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -35,7 +34,7 @@ function c19114517.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCountLimit
(
4
,
19114517
)
e1
:
SetCountLimit
(
3
,
19114517
)
e1
:
SetCondition
(
c19114517
.
drcon1
)
e1
:
SetCondition
(
c19114517
.
drcon1
)
e1
:
SetOperation
(
c19114517
.
drop1
)
e1
:
SetOperation
(
c19114517
.
drop1
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
...
@@ -44,7 +43,7 @@ function c19114517.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -44,7 +43,7 @@ function c19114517.operation(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetCountLimit
(
4
,
19114517
)
e2
:
SetCountLimit
(
3
,
19114517
)
e2
:
SetCondition
(
c19114517
.
regcon
)
e2
:
SetCondition
(
c19114517
.
regcon
)
e2
:
SetOperation
(
c19114517
.
regop
)
e2
:
SetOperation
(
c19114517
.
regop
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
...
@@ -89,13 +88,13 @@ function c19114517.drop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -89,13 +88,13 @@ function c19114517.drop2(e,tp,eg,ep,ev,re,r,rp)
local
sg
=
g
:
RandomSelect
(
tp
,
n
)
local
sg
=
g
:
RandomSelect
(
tp
,
n
)
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
end
end
function
c19114517
.
cfilter
(
c
)
function
c19114517
.
cfilter
(
c
,
tp
)
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsFaceup
()
and
(
c
:
IsSetCard
(
0x186
)
or
c
:
IsSetCard
(
0x300
))
and
c
:
IsControler
(
tp
)
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsFaceup
()
and
(
c
:
IsSetCard
(
0x186
)
or
c
:
IsSetCard
(
0x300
))
and
c
:
IsControler
(
tp
)
end
end
function
c19114517
.
condition5
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c19114517
.
condition5
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
then
return
end
if
not
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
then
return
end
local
tg
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
)
local
tg
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
)
return
tg
and
tg
:
IsExists
(
c19114517
.
cfilter
,
1
,
nil
)
and
Duel
.
IsChainNegatable
(
ev
)
return
tg
and
tg
:
IsExists
(
c19114517
.
cfilter
,
1
,
nil
,
tp
)
and
Duel
.
IsChainNegatable
(
ev
)
end
end
c19114517
[
0
]
=
true
c19114517
[
0
]
=
true
c19114517
[
1
]
=
true
c19114517
[
1
]
=
true
...
...
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