Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
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
Ai
ygopro-222DIY-cards
Commits
31b0eec1
Commit
31b0eec1
authored
Aug 13, 2023
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c101202055.lua
parent
b5af840f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
expansions/script/c101202055.lua
expansions/script/c101202055.lua
+6
-4
No files found.
expansions/script/c101202055.lua
View file @
31b0eec1
--
coded by Lyris
--
死の罪宝-ルシエラ
--Tainted Treasure of Doom - Luciela
--coded by Lyris
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--Activate
...
...
@@ -29,8 +30,9 @@ end
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
not
tc
:
IsRelateToEffect
(
e
)
then
return
end
local
chk
if
tc
:
Is
RelateToEffect
(
e
)
and
tc
:
Is
Faceup
()
and
not
tc
:
IsImmuneToEffect
(
e
)
then
if
tc
:
IsFaceup
()
and
not
tc
:
IsImmuneToEffect
(
e
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
...
...
@@ -50,7 +52,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
chk
=
true
end
local
g
=
Duel
.
GetMatchingGroup
(
s
.
dfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
if
#
g
>
0
then
if
tc
:
IsFaceup
()
and
#
g
>
0
then
if
chk
then
Duel
.
BreakEffect
()
end
local
dg
=
Group
.
CreateGroup
()
for
sc
in
aux
.
Next
(
g
)
do
...
...
@@ -79,4 +81,4 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetTurnCount
()
~=
e
:
GetLabel
()
+
1
then
return
end
Duel
.
Hint
(
HINT_CARD
,
0
,
id
)
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_EFFECT
)
end
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