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
8a4e1dcb
Commit
8a4e1dcb
authored
Aug 13, 2024
by
GuGu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete c19500170.lua
parent
6c5e0e4b
Pipeline
#29174
passed with stage
in 10 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
150 deletions
+0
-150
script/c19500170.lua
script/c19500170.lua
+0
-150
No files found.
script/c19500170.lua
deleted
100644 → 0
View file @
6c5e0e4b
--七曜魔术支援·帕秋莉诺蕾姬
function
c19500170
.
initial_effect
(
c
)
--fusion material
c
:
EnableReviveLimit
()
aux
.
AddFusionProcFunFunRep
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0x300
),
c
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0x811
),
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0x186
),
7
,
7
,
false
)
--attribute change
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
19500170
,
0
))
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
,
19500170
)
e1
:
SetHintTiming
(
0
,
TIMING_DRAW_PHASE
)
e1
:
SetTarget
(
c19500170
.
attg
)
e1
:
SetOperation
(
c19500170
.
atop
)
c
:
RegisterEffect
(
e1
)
--qiyao effect
--wind
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCode
(
EFFECT_CANNOT_ATTACK_ANNOUNCE
)
e2
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e2
:
SetCondition
(
c19500170
.
wind
)
c
:
RegisterEffect
(
e2
)
--fire
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCode
(
EVENT_CHAIN_SOLVING
)
e3
:
SetCondition
(
c19500170
.
fire
)
e3
:
SetOperation
(
c19500170
.
fireop
)
c
:
RegisterEffect
(
e3
)
--water
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCode
(
EVENT_DESTROYED
)
e4
:
SetCondition
(
c19500170
.
water
)
e4
:
SetOperation
(
c19500170
.
waterop
)
c
:
RegisterEffect
(
e4
)
--earth
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetCode
(
EFFECT_CANNOT_MSET
)
e5
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e5
:
SetTargetRange
(
0
,
1
)
e5
:
SetCondition
(
c19500170
.
earth
)
e5
:
SetTarget
(
aux
.
TRUE
)
c
:
RegisterEffect
(
e5
)
local
e50
=
e5
:
Clone
()
e50
:
SetCode
(
EFFECT_CANNOT_SSET
)
c
:
RegisterEffect
(
e50
)
local
e51
=
e5
:
Clone
()
e51
:
SetCode
(
EFFECT_CANNOT_TURN_SET
)
c
:
RegisterEffect
(
e51
)
local
e52
=
e5
:
Clone
()
e52
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e52
:
SetTarget
(
c19500170
.
sumlimit
)
c
:
RegisterEffect
(
e52
)
--dark
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_FIELD
)
e6
:
SetRange
(
LOCATION_MZONE
)
e6
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e6
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e6
:
SetCondition
(
c19500170
.
dark
)
e6
:
SetValue
(
c19500170
.
efilter
)
c
:
RegisterEffect
(
e6
)
local
e60
=
e6
:
Clone
()
e60
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e60
:
SetValue
(
700
)
c
:
RegisterEffect
(
e60
)
--light
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e7
:
SetRange
(
LOCATION_MZONE
)
e7
:
SetCode
(
EVENT_LEAVE_FIELD
)
e7
:
SetCondition
(
c19500170
.
light
)
e7
:
SetOperation
(
c19500170
.
lightop
)
c
:
RegisterEffect
(
e7
)
end
function
c19500170
.
lightfil
(
c
)
return
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
c
:
IsRace
(
RACE_SPELLCASTER
)
and
c
:
IsAbleToHand
()
end
function
c19500170
.
lightop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
19500170
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c19500170
.
lightfil
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
Duel
.
SendtoHand
(
g
,
tp
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
function
c19500170
.
efilter
(
e
,
te
)
return
te
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
end
function
c19500170
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
)
return
bit
.
band
(
sumpos
,
POS_FACEDOWN
)
>
0
end
function
c19500170
.
fireop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
19500170
)
local
rc
=
re
:
GetHandler
()
if
Duel
.
Destroy
(
rc
,
REASON_EFFECT
)
~=
0
then
Duel
.
Damage
(
1
-
tp
,
700
,
REASON_EFFECT
)
end
end
function
c19500170
.
waterop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
19500170
)
if
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
~=
0
then
Duel
.
Recover
(
tp
,
700
,
REASON_EFFECT
)
end
end
function
c19500170
.
attg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTRIBUTE
)
local
rc1
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
ATTRIBUTE_ALL
-
e
:
GetHandler
():
GetAttribute
())
--local rc2=Duel.AnnounceAttribute(tp,1,ATTRIBUTE_ALL-e:GetHandler():GetAttribute()-rc1)
e
:
SetLabel
(
rc1
)
--(rc1-+rc2)
end
function
c19500170
.
atop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
att
=
c
:
GetAttribute
()
+
e
:
GetLabel
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_ATTRIBUTE
)
e1
:
SetValue
(
att
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e1
)
end
function
c19500170
.
wind
(
e
,
c
)
return
e
:
GetHandler
():
IsAttribute
(
ATTRIBUTE_WIND
)
end
function
c19500170
.
dark
(
e
,
c
)
return
e
:
GetHandler
():
IsAttribute
(
ATTRIBUTE_DARK
)
end
function
c19500170
.
light
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
bit
.
band
(
e
:
GetHandler
():
GetPreviousAttributeOnField
(),
ATTRIBUTE_LIGHT
)
==
ATTRIBUTE_LIGHT
and
Duel
.
IsExistingMatchingCard
(
c19500170
.
lightfil
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
function
c19500170
.
waterconf
(
c
,
tp
)
return
c
:
GetPreviousControler
()
==
tp
and
c
:
IsReason
(
REASON_EFFECT
)
end
function
c19500170
.
water
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsAttribute
(
ATTRIBUTE_WATER
)
and
eg
:
IsExists
(
c19500170
.
waterconf
,
1
,
nil
,
tp
)
end
function
c19500170
.
fire
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsAttribute
(
ATTRIBUTE_FIRE
)
and
rp
==
1
-
tp
and
re
:
IsActiveType
(
TYPE_SPELL
)
end
function
c19500170
.
earth
(
e
,
c
)
return
e
:
GetHandler
():
IsAttribute
(
ATTRIBUTE_EARTH
)
end
\ No newline at end of file
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