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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
2be8eb01
Commit
2be8eb01
authored
Dec 26, 2022
by
REIKAI
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update 12.26
parent
35f89f21
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
expansions/script/c37900017.lua
expansions/script/c37900017.lua
+15
-2
No files found.
expansions/script/c37900017.lua
View file @
2be8eb01
...
...
@@ -14,8 +14,21 @@ function cm.initial_effect(c)
local
e2
=
rsef
.
FV_Card
(
c
,
"im"
,
cm
.
imval
,
aux
.
TargetBoolFunction
(
Card
.
IsType
,
TYPE_SPELL
+
TYPE_TRAP
),
{
LOCATION_ONFIELD
,
0
},
nil
,
LOCATION_MZONE
)
local
e3
=
rsef
.
SV_Card
(
c
,
"indct"
,
rsval
.
indbae
(),
"sr"
,
LOCATION_MZONE
,
nil
,
nil
,
nil
,
2
)
--immune effect
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetTargetRange
(
LOCATION_SZONE
,
0
)
e3
:
SetTarget
(
cm
.
etarget
)
e3
:
SetValue
(
cm
.
efilter
)
c
:
RegisterEffect
(
e3
)
end
function
cm
.
etarget
(
e
,
c
)
return
c
:
IsSetCard
(
0x389
)
end
function
cm
.
efilter
(
e
,
re
)
return
te
:
GetOwner
()
~=
e
:
GetOwner
()
end
function
cm
.
atkop
(
e
,
tp
)
local
e1
=
rsef
.
FV_Card
({
e
:
GetHandler
(),
tp
},
"def+"
,
500
,
...
...
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