Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
no81cards
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
Nemo Ma
no81cards
Commits
c926d656
Commit
c926d656
authored
Oct 20, 2021
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c33701394.lua
parent
e52f3b23
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
13 deletions
+12
-13
expansions/script/c33701394.lua
expansions/script/c33701394.lua
+12
-13
No files found.
expansions/script/c33701394.lua
View file @
c926d656
...
...
@@ -36,39 +36,38 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
--cannot be target
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
+
EFFECT_FLAG_SET_AVAILABLE
)
e1
:
SetCode
(
EFFECT_CANNOT_BE_EFFECT_TARGET
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTargetRange
(
LOCATION_ONFIELD
,
LOCATION_ONFIELD
)
e1
:
SetTarget
(
cm
.
eftg
)
e1
:
SetValue
(
aux
.
tgoval
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e1
)
--indes
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e2
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetTargetRange
(
LOCATION_ONFIELD
,
LOCATION_ONFIELD
)
e2
:
SetTarget
(
cm
.
eftg
)
e2
:
SetValue
(
cm
.
indval
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e2
)
--
--
cannot material
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_CANNOT_BE_SYNCHRO_MATERIAL
)
e3
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e3
:
SetCode
(
EFFECT_CANNOT_BE_FUSION_MATERIAL
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetTargetRange
(
LOCATION_ONFIELD
,
LOCATION_ONFIELD
)
e3
:
SetTarget
(
cm
.
eftg
)
e3
:
SetValue
(
1
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e3
)
local
e4
=
e3
:
Clone
()
e4
:
SetCode
(
EFFECT_CANNOT_BE_
XYZ
_MATERIAL
)
e4
:
SetCode
(
EFFECT_CANNOT_BE_
SYNCHRO
_MATERIAL
)
c
:
RegisterEffect
(
e4
)
local
e5
=
e3
:
Clone
()
e5
:
SetCode
(
EFFECT_CANNOT_BE_
FUSION
_MATERIAL
)
e5
:
SetCode
(
EFFECT_CANNOT_BE_
XYZ
_MATERIAL
)
c
:
RegisterEffect
(
e5
)
local
e6
=
e3
:
Clone
()
e6
:
SetCode
(
EFFECT_CANNOT_BE_LINK_MATERIAL
)
...
...
@@ -76,13 +75,13 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
eftg
(
e
,
c
)
local
seq
=
c
:
GetSequence
()
local
tp
=
e
:
GetHandler
():
GetControler
()
local
mg
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_MZONE
,
0
)
local
sg
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_SZONE
,
0
)
local
t1
=
mg
:
IsContains
(
e
:
GetHandler
())
and
mg
:
IsContains
(
c
)
local
t2
=
sg
:
IsContains
(
e
:
GetHandler
())
and
sg
:
IsContains
(
c
)
return
e
:
GetHandler
():
GetColumnGroup
():
IsContains
(
c
)
or
(
seq
<
5
and
math.abs
(
e
:
GetHandler
():
GetSequence
()
-
seq
)
<=
1
and
(
t1
or
t2
))
local
seq1
=
c
:
GetSequence
()
local
seq2
=
e
:
GetHandler
():
GetSequence
()
local
t1
=
e
:
GetHandler
():
GetColumnGroup
():
IsContains
(
c
)
local
t2
=
seq1
<
5
and
seq2
<
5
and
mg
:
IsContains
(
c
)
and
math.abs
(
seq1
-
seq2
)
<=
1
return
t1
or
t2
or
e
:
GetHandler
()
==
c
end
function
cm
.
indval
(
e
,
re
,
rp
)
if
not
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
then
return
true
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