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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
e55a7690
Commit
e55a7690
authored
Jul 26, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1145141919810
parent
b582820a
Pipeline
#14962
passed with stages
in 28 minutes and 26 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
expansions/script/c81905027.lua
expansions/script/c81905027.lua
+12
-0
No files found.
expansions/script/c81905027.lua
View file @
e55a7690
...
@@ -4,6 +4,14 @@ local cm=_G["c"..m]
...
@@ -4,6 +4,14 @@ local cm=_G["c"..m]
Duel
.
LoadScript
(
"yes.lua"
)
Duel
.
LoadScript
(
"yes.lua"
)
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
--immune
local
e11
=
Effect
.
CreateEffect
(
c
)
e11
:
SetType
(
EFFECT_TYPE_SINGLE
)
e11
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e11
:
SetRange
(
LOCATION_MZONE
)
e11
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e11
:
SetValue
(
cm
.
efilter
)
c
:
RegisterEffect
(
e11
)
--splimit
--splimit
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
@@ -41,6 +49,10 @@ end
...
@@ -41,6 +49,10 @@ end
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
return
se
:
GetHandler
():
GetCode
()
==
81905024
return
se
:
GetHandler
():
GetCode
()
==
81905024
end
end
--e1
function
cm
.
efilter
(
e
,
re
)
return
not
(
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
IsActivated
())
and
not
(
re
:
GetOwner
():
IsAttack
(
3000
))
end
--e2
--e2
function
cm
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
not
(
re
:
GetHandler
():
IsSetCard
(
0x3852
))
and
re
:
GetHandler
()
~=
e
:
GetHandler
()
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
not
(
re
:
GetHandler
():
IsSetCard
(
0x3852
))
and
re
:
GetHandler
()
~=
e
:
GetHandler
()
...
...
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