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
33a95229
Commit
33a95229
authored
Feb 21, 2023
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
394c6ac9
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
6 additions
and
40 deletions
+6
-40
expansions/script/c11621103.lua
expansions/script/c11621103.lua
+1
-1
expansions/script/c33201307.lua
expansions/script/c33201307.lua
+1
-1
expansions/script/c40010240.lua
expansions/script/c40010240.lua
+1
-1
expansions/script/c53754001.lua
expansions/script/c53754001.lua
+1
-35
expansions/script/c53754019.lua
expansions/script/c53754019.lua
+1
-1
expansions/script/c9910807.lua
expansions/script/c9910807.lua
+1
-0
expansions/script/c9990225.lua
expansions/script/c9990225.lua
+0
-1
No files found.
expansions/script/c11621103.lua
View file @
33a95229
...
@@ -24,7 +24,7 @@ function c11621103.initial_effect(c)
...
@@ -24,7 +24,7 @@ function c11621103.initial_effect(c)
--Destroy replace
--Destroy replace
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_SINGLE
)
e3
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_DESTROY_
SUBSTITUT
E
)
e3
:
SetCode
(
EFFECT_DESTROY_
REPLAC
E
)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetTarget
(
cm
.
desreptg
)
e3
:
SetTarget
(
cm
.
desreptg
)
...
...
expansions/script/c33201307.lua
View file @
33a95229
...
@@ -21,7 +21,7 @@ function cm.initial_effect(c)
...
@@ -21,7 +21,7 @@ function cm.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_FLIP
)
e2
:
SetCode
(
EVENT_FLIP
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCountLimit
(
1
,
m
)
e2
:
SetCountLimit
(
1
,
m
)
e2
:
SetTarget
(
cm
.
target
)
e2
:
SetTarget
(
cm
.
target
)
e2
:
SetOperation
(
cm
.
operation
)
e2
:
SetOperation
(
cm
.
operation
)
...
...
expansions/script/c40010240.lua
View file @
33a95229
...
@@ -24,7 +24,7 @@ function cm.initial_effect(c)
...
@@ -24,7 +24,7 @@ function cm.initial_effect(c)
end
end
function
cm
.
rsfwh_ex_ritual
(
c
)
function
cm
.
rsfwh_ex_ritual
(
c
)
return
((
c
:
CheckSetCard
(
"Vairina"
,
"BlazeMaiden"
)
and
c
:
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
)
return
c
:
CheckSetCard
(
"Vairina"
,
"BlazeMaiden"
)
and
c
:
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
SUMMON_VALUE_SELF
end
end
function
cm
.
val
(
e
,
c
)
function
cm
.
val
(
e
,
c
)
return
c
:
GetOverlayCount
()
return
c
:
GetOverlayCount
()
...
...
expansions/script/c53754001.lua
View file @
33a95229
...
@@ -94,26 +94,11 @@ function cm.acop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -94,26 +94,11 @@ function cm.acop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_DIRECT_ATTACK
)
e1
:
SetCode
(
EFFECT_DIRECT_ATTACK
)
e1
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e1
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e1
:
SetTarget
(
function
(
e
,
c
)
local
le
=
{
c
:
IsHasEffect
(
EFFECT_CANNOT_SELECT_BATTLE_TARGET
)}
local
res
=
true
for
_
,
v
in
pairs
(
le
)
do
if
v
:
GetLabel
()
~=
m
then
local
val
=
v
:
GetValue
()
if
not
val
or
val
(
v
,
sc
)
then
res
=
false
break
end
end
end
return
res
end
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetLabel
(
m
)
e2
:
SetCode
(
EFFECT_CANNOT_SELECT_BATTLE_TARGET
)
e2
:
SetCode
(
EFFECT_CANNOT_SELECT_BATTLE_TARGET
)
e2
:
SetLabelObject
(
e1
)
e2
:
SetLabelObject
(
e1
)
e2
:
SetValue
(
cm
.
atklimit
)
e2
:
SetValue
(
function
(
e
,
c
)
return
c
==
sc
end
)
Duel
.
RegisterEffect
(
e2
,
tp
)
Duel
.
RegisterEffect
(
e2
,
tp
)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
...
@@ -137,25 +122,6 @@ function cm.acop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -137,25 +122,6 @@ function cm.acop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e4
)
tc
:
RegisterEffect
(
e4
)
end
end
end
end
function
cm
.
atktg
(
e
,
c
)
local
tc
=
e
:
GetLabelObject
()
local
le
=
{
c
:
IsHasEffect
(
EFFECT_CANNOT_SELECT_BATTLE_TARGET
)}
local
res
=
true
for
_
,
v
in
pairs
(
le
)
do
if
v
:
GetLabel
()
~=
m
then
local
val
=
v
:
GetValue
()
if
not
val
or
val
(
v
,
tc
)
then
res
=
false
break
end
end
end
return
res
end
function
cm
.
atklimit
(
e
,
c
)
local
tc
=
e
:
GetLabelObject
():
GetLabelObject
()
return
c
==
tc
end
function
cm
.
reset
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
reset
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetLabelObject
():
GetLabelObject
():
Reset
()
e
:
GetLabelObject
():
GetLabelObject
():
Reset
()
e
:
GetLabelObject
():
Reset
()
e
:
GetLabelObject
():
Reset
()
...
...
expansions/script/c53754019.lua
View file @
33a95229
...
@@ -59,7 +59,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -59,7 +59,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local
cp
=
{}
local
cp
=
{}
local
func
=
Card
.
RegisterEffect
local
func
=
Card
.
RegisterEffect
Card
.
RegisterEffect
=
function
(
tc
,
e
,
f
)
Card
.
RegisterEffect
=
function
(
tc
,
e
,
f
)
if
e
:
GetRange
()
&
LOCATION_SZONE
~=
0
and
e
:
GetProperty
()
&
EFFECT_FLAG_UNCOPYABLE
==
0
then
table.insert
(
cp
,
e
:
Clone
())
end
if
e
:
GetRange
()
==
LOCATION_SZONE
and
e
:
GetProperty
()
&
EFFECT_FLAG_UNCOPYABLE
==
0
then
table.insert
(
cp
,
e
:
Clone
())
end
return
func
(
tc
,
e
,
f
)
return
func
(
tc
,
e
,
f
)
end
end
Duel
.
CreateToken
(
tp
,
tc
:
GetOriginalCode
())
Duel
.
CreateToken
(
tp
,
tc
:
GetOriginalCode
())
...
...
expansions/script/c9910807.lua
View file @
33a95229
--天体震荡
--天体震荡
function
c9910807
.
initial_effect
(
c
)
function
c9910807
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
9910803
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DESTROY
+
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DESTROY
+
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
...
...
expansions/script/c9990225.lua
View file @
33a95229
...
@@ -50,7 +50,6 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,7 +50,6 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
g1
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
g1
)
g1
:
Merge
(
g2
)
g1
:
Merge
(
g2
)
Duel
.
HintSelection
(
g1
)
Duel
.
HintSelection
(
g1
)
Duel
.
Destroy
(
g1
,
REASON_EFFECT
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsFacedown
()
or
not
c
:
IsRelateToEffect
(
e
)
or
c
:
GetAttack
()
<
2000
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
then
if
c
:
IsFacedown
()
or
not
c
:
IsRelateToEffect
(
e
)
or
c
:
GetAttack
()
<
2000
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
then
return
return
...
...
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