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
aff23d43
Commit
aff23d43
authored
Jul 01, 2022
by
wyykak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor and fix by kiritosoft
Signed-off-by:
wyykak
<
wyy_1414@126.com
>
parent
9d72a152
Pipeline
#14360
passed with stage
in 50 seconds
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
24 deletions
+20
-24
script/c74563608.lua
script/c74563608.lua
+0
-4
script/c74563609.lua
script/c74563609.lua
+0
-4
script/c74563610.lua
script/c74563610.lua
+2
-6
script/c74563666.lua
script/c74563666.lua
+18
-10
No files found.
script/c74563608.lua
View file @
aff23d43
...
...
@@ -60,13 +60,9 @@ function c74563608.cost1(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToRemoveAsCost
,
tp
,
LOCATION_ONFIELD
+
LOCATION_HAND
,
0
,
2
,
2
,
e
:
GetHandler
())
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
else
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
74563666
)
then
Duel
.
PayLPCost
(
tp
,
666
)
else
Duel
.
PayLPCost
(
tp
,
3666
)
end
end
end
function
c74563608
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
...
...
script/c74563609.lua
View file @
aff23d43
...
...
@@ -61,13 +61,9 @@ function c74563609.cost1(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToRemoveAsCost
,
tp
,
LOCATION_ONFIELD
+
LOCATION_HAND
,
0
,
2
,
2
,
e
:
GetHandler
())
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
else
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
74563666
)
then
Duel
.
PayLPCost
(
tp
,
666
)
else
Duel
.
PayLPCost
(
tp
,
3666
)
end
end
end
function
c74563609
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
rg
=
Duel
.
GetDecktopGroup
(
1
-
tp
,
1
)
...
...
script/c74563610.lua
View file @
aff23d43
...
...
@@ -60,13 +60,9 @@ function c74563610.cost1(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToRemoveAsCost
,
tp
,
LOCATION_ONFIELD
+
LOCATION_HAND
,
0
,
2
,
2
,
e
:
GetHandler
())
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
else
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
74563666
)
then
Duel
.
PayLPCost
(
tp
,
666
)
else
Duel
.
PayLPCost
(
tp
,
3666
)
end
end
end
function
c74563610
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
...
...
script/c74563666.lua
View file @
aff23d43
--冰狱之王·撒旦
function
c74563666
.
initial_effect
(
c
)
--
change cost
--
Cost Change
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_LPCOST_CHANGE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetCode
(
74563666
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetValue
(
c74563666
.
costchange
)
c
:
RegisterEffect
(
e2
)
--special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -40,6 +41,13 @@ function c74563666.initial_effect(c)
e2
:
SetOperation
(
c74563666
.
cpop
)
c
:
RegisterEffect
(
e2
)
end
function
c74563666
.
costchange
(
e
,
re
,
rp
,
val
)
if
re
and
re
:
GetHandler
():
IsSetCard
(
0x996
)
then
return
666
else
return
val
end
end
function
c74563666
.
sprfilter
(
c
)
return
(
c
:
IsRank
(
6
)
or
c
:
IsLevel
(
6
)
or
c
:
IsLink
(
6
))
and
c
:
IsAbleToRemoveAsCost
()
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