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
135c9200
Commit
135c9200
authored
Nov 24, 2023
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
ca9d2f59
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
24 deletions
+16
-24
expansions/script/c11612611.lua
expansions/script/c11612611.lua
+5
-5
expansions/script/c11612636.lua
expansions/script/c11612636.lua
+1
-3
expansions/script/c11612640.lua
expansions/script/c11612640.lua
+3
-10
expansions/script/c11612642.lua
expansions/script/c11612642.lua
+4
-4
expansions/script/c11612644.lua
expansions/script/c11612644.lua
+1
-1
expansions/script/c22348323.lua
expansions/script/c22348323.lua
+2
-1
No files found.
expansions/script/c11612611.lua
View file @
135c9200
...
...
@@ -130,16 +130,16 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_RELEASE
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetTargetRange
(
1
,
1
)
e1
:
SetTargetRange
(
0x04
,
0
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetValue
(
cm
.
aclimit
)
e1
:
SetValue
(
1
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_UNRELEASABLE_SUM
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
function
cm
.
aclimit
(
e
,
re
,
tp
)
return
re
:
GetActivateLocation
()
==
LOCATION_MZONE
and
tp
==
e
:
GetHandlerPlayer
()
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EFFECT_UNRELEASABLE_NONSUM
)
Duel
.
RegisterEffect
(
e3
,
tp
)
end
--03
function
cm
.
copycost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c11612636.lua
View file @
135c9200
...
...
@@ -66,9 +66,7 @@ function c11612636.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c11612636
.
efilter
(
e
,
te
)
local
tc
=
te
:
GetOwner
()
local
c
=
e
:
GetHandler
()
return
not
tc
:
IsLevelAbove
(
0
)
and
te
:
GetOwnerPlayer
()
~=
e
:
GetHandlerPlayer
()
return
te
:
GetOwnerPlayer
()
~=
e
:
GetHandlerPlayer
()
and
te
:
IsActiveType
(
0x1
)
and
not
te
:
GetHandler
():
IsLevelAbove
(
1
)
end
function
c11612636
.
lvfilter
(
c
,
rc
)
return
c
:
GetRitualLevel
(
rc
)
>
0
...
...
expansions/script/c11612640.lua
View file @
135c9200
...
...
@@ -30,12 +30,11 @@ function c11612640.initial_effect(c)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
11612640
,
1
))
e3
:
SetCategory
(
CATEGORY_DRAW
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_
TRIGGER_F
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_
CONTINUOUS
)
e3
:
SetCode
(
EVENT_BATTLE_DESTROYING
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetCondition
(
c11612640
.
drcon
)
e3
:
SetTarget
(
c11612640
.
drtg
)
e3
:
SetOperation
(
c11612640
.
drop
)
c
:
RegisterEffect
(
e3
)
end
...
...
@@ -45,15 +44,9 @@ function c11612640.drcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
GetEquipTarget
()
==
eg
:
GetFirst
()
and
ec
:
IsControler
(
tp
)
and
bc
:
IsLocation
(
LOCATION_GRAVE
)
and
bc
:
IsReason
(
REASON_BATTLE
)
end
function
c11612640
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetParam
(
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
1
)
end
function
c11612640
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
Duel
.
Hint
(
HINT_CARD
,
0
,
11612640
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
end
function
c11612640
.
eqfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x154
)
...
...
expansions/script/c11612642.lua
View file @
135c9200
...
...
@@ -99,23 +99,23 @@ function c11612642.efilter(e,re)
return
not
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
and
e
:
GetOwnerPlayer
()
~=
re
:
GetOwnerPlayer
()
end
function
c11612642
.
tfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x154
)
and
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x154
)
and
c
:
IsControler
(
tp
)
end
function
c11612642
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
then
return
false
end
local
g
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
)
return
g
and
g
:
IsExists
(
c11612642
.
tfilter
,
1
,
nil
,
tp
)
return
g
:
GetCount
()
>
0
and
rp
==
1
-
tp
and
g
:
FilterCount
(
c11612642
.
tfilter
,
nil
,
tp
)
==#
g
end
function
c11612642
.
negtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
fals
e
)
end
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
tru
e
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
end
function
c11612642
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
fals
e
,
POS_FACEUP_DEFENSE
)
>
0
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
tru
e
,
POS_FACEUP_DEFENSE
)
>
0
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
...
...
expansions/script/c11612644.lua
View file @
135c9200
...
...
@@ -108,7 +108,7 @@ function c11612644.initial_effect(c)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetDescription
(
aux
.
Stringid
(
11612644
,
3
))
e5
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TOKEN
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_
F
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_
O
)
--e5:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
e5
:
SetCode
(
EVENT_TO_GRAVE
)
e5
:
SetCountLimit
(
1
,
11612645
)
...
...
expansions/script/c22348323.lua
View file @
135c9200
...
...
@@ -18,9 +18,10 @@ function cm.initial_effect(c)
end
function
c22348323
.
effcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ex2
,
g2
,
gc2
,
dp2
,
dv2
=
Duel
.
GetOperationInfo
(
ev
,
CATEGORY_SPECIAL_SUMMON
)
local
ex5
,
g5
,
gc5
,
dp5
,
dv5
=
Duel
.
GetOperationInfo
(
ev
,
CATEGORY_TOHAND
)
local
ex3
=
re
:
IsHasCategory
(
CATEGORY_DRAW
)
local
ex4
=
re
:
IsHasCategory
(
CATEGORY_SEARCH
)
return
(
ex2
and
bit
.
band
(
dv2
,
LOCATION_DECK
)
==
LOCATION_DECK
)
or
ex3
or
ex4
return
(
ex2
and
bit
.
band
(
dv2
,
LOCATION_DECK
)
==
LOCATION_DECK
)
or
ex3
or
ex4
or
(
ex5
and
bit
.
band
(
dv5
,
LOCATION_DECK
)
==
LOCATION_DECK
)
end
function
c22348323
.
drfilter
(
c
)
return
c
:
IsRace
(
RACE_SPELLCASTER
)
and
c
:
IsDiscardable
()
...
...
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