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
bd23f94d
Commit
bd23f94d
authored
Dec 10, 2023
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
81b5160b
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
35 additions
and
21 deletions
+35
-21
expansions/script/c11451705.lua
expansions/script/c11451705.lua
+4
-5
expansions/script/c11560710.lua
expansions/script/c11560710.lua
+4
-3
expansions/script/c130006046.lua
expansions/script/c130006046.lua
+4
-2
expansions/script/c22348206.lua
expansions/script/c22348206.lua
+2
-1
expansions/script/c22348208.lua
expansions/script/c22348208.lua
+1
-0
expansions/script/c25800081.lua
expansions/script/c25800081.lua
+2
-1
expansions/script/c60002010.lua
expansions/script/c60002010.lua
+15
-8
expansions/script/c60002090.lua
expansions/script/c60002090.lua
+2
-0
expansions/script/c60002106.lua
expansions/script/c60002106.lua
+1
-1
No files found.
expansions/script/c11451705.lua
View file @
bd23f94d
--自家发电
local
m
=
11451705
local
cm
=
_G
[
"c"
..
m
]
local
cm
,
m
=
GetID
()
function
cm
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_NEGATE
)
e1
:
SetCategory
(
CATEGORY_NEGATE
+
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetCondition
(
cm
.
condition
)
...
...
@@ -20,8 +19,8 @@ function cm.initial_effect(c)
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ex3
,
g3
,
gc3
,
dp3
,
dv3
=
Duel
.
GetOperationInfo
(
ev
,
CATEGORY_TOGRAVE
)
local
ex6
=
re
:
IsHasCategory
(
CATEGORY_DECKDES
)
return
((
ex3
and
bit
.
band
(
dv3
,
LOCATION_DECK
)
==
LOCATION_DECK
)
or
ex6
)
and
Duel
.
IsChainDisablable
(
ev
)
local
ex6
,
g6
,
gc6
,
dp6
,
dv6
=
Duel
.
GetOperationInfo
(
ev
,
CATEGORY_DECKDES
)
return
((
ex3
and
bit
.
band
(
dv3
,
LOCATION_DECK
)
==
LOCATION_DECK
)
or
(
ex6
and
dv6
>
0
)
)
and
Duel
.
IsChainDisablable
(
ev
)
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
expansions/script/c11560710.lua
View file @
bd23f94d
...
...
@@ -149,8 +149,9 @@ end
function
c11560710
.
extg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
end
function
c11560710
.
exop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
function
c11560710
.
exop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
ChainAttack
()
--[[local c=e:GetHandler()
if c:IsRelateToEffect(e) then
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE)
...
...
@@ -164,7 +165,7 @@ function c11560710.exop(e,tp,eg,ep,ev,re,r,rp)
e3:SetValue(1)
e3:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_BATTLE)
c:RegisterEffect(e3)
end
end
--]]
end
function
c11560710
.
ovtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsCanOverlay
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
e
:
GetHandler
())
and
e
:
GetHandler
():
GetFlagEffect
(
11560710
)
==
0
end
...
...
expansions/script/c130006046.lua
View file @
bd23f94d
...
...
@@ -34,6 +34,7 @@ function c130006046.tecon(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
if
not
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
then
return
end
local
g
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
)
if
not
g
then
return
end
local
tc
=
g
:
GetFirst
()
e
:
SetLabelObject
(
tc
)
return
tc
and
eg
:
GetFirst
()
==
c
and
tc
:
IsFaceup
()
and
tc
:
IsLocation
(
LOCATION_MZONE
)
...
...
@@ -99,6 +100,8 @@ function c130006046.geop(e,tp,eg,ep,ev,re,r,rp)
local
tc2
=
g
:
GetNext
()
if
tc1
and
tc2
and
tc1
:
IsRelateToEffect
(
e
)
and
tc2
:
IsRelateToEffect
(
e
)
then
tc1
:
SetCardTarget
(
tc2
)
tc1
:
RegisterFlagEffect
(
130006046
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
,
1
)
tc2
:
RegisterFlagEffect
(
130006046
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
,
1
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e1
:
SetRange
(
LOCATION_ONFIELD
)
...
...
@@ -106,7 +109,6 @@ function c130006046.geop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetCondition
(
c130006046
.
descon
)
e1
:
SetOperation
(
c130006046
.
desop
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc1
:
RegisterEffect
(
e1
)
tc2
:
RegisterEffect
(
e1
)
end
...
...
@@ -115,7 +117,7 @@ function c130006046.descon(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
tg
=
c
:
GetCardTarget
()
local
gc
=
Group
.
__band
(
eg
,
tg
)
return
gc
:
GetCount
()
>
0
return
gc
:
GetCount
()
>
0
and
c
:
GetFlagEffect
(
130006046
)
>
0
end
function
c130006046
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c22348206.lua
View file @
bd23f94d
...
...
@@ -43,8 +43,9 @@ function cm.initial_effect(c)
end
function
c22348206
.
handcondition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tp
=
e
:
GetHandler
():
GetControler
()
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
c
)
end
function
c22348206
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c22348208.lua
View file @
bd23f94d
...
...
@@ -31,6 +31,7 @@ function c22348208.initial_effect(c)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e3
:
SetRange
(
LOCATION_HAND
)
e3
:
SetCountLimit
(
1
,
EFFECT_COUNT_CODE_CHAIN
)
e3
:
SetCondition
(
c22348208
.
sccon
)
--e3:SetCost(c22348208.sccost)
e3
:
SetTarget
(
c22348208
.
sctg
)
...
...
expansions/script/c25800081.lua
View file @
bd23f94d
...
...
@@ -34,6 +34,7 @@ function cm.tgtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
g
,
1
,
0
,
0
)
end
function
cm
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToGrave
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
...
...
@@ -56,6 +57,6 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
cm
.
spfilter2
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
expansions/script/c60002010.lua
View file @
bd23f94d
...
...
@@ -83,7 +83,7 @@ function cm.cvop2(e,tp,eg,ep,ev,re,r,rp)
end
end
end
function
cm
.
filter
(
c
)
function
cm
.
filter
(
c
,
e
,
re
)
return
e
:
GetOwnerPlayer
()
~=
re
:
GetOwnerPlayer
()
and
re
:
IsActivated
()
end
function
cm
.
ofilter
(
c
)
...
...
@@ -92,18 +92,25 @@ end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
t
=
Duel
.
GetFlagEffect
(
tp
,
60002009
)
if
Duel
.
GetTurnCount
()
+
t
>=
2
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x629
))
e1
:
SetValue
(
cm
.
filter
)
if
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x629
))
e1
:
SetValue
(
cm
.
filter
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_MAIN1
)
Duel
.
RegisterFlagEffect
(
tp
,
m
,
RESET_PHASE
+
PHASE_MAIN1
,
0
,
1
)
else
elseif
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x629
))
e1
:
SetValue
(
cm
.
filter
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_MAIN2
)
Duel
.
RegisterFlagEffect
(
tp
,
m
,
RESET_PHASE
+
PHASE_MAIN2
,
0
,
1
)
else
end
Duel
.
RegisterEffect
(
e1
,
tp
)
end
...
...
expansions/script/c60002090.lua
View file @
bd23f94d
...
...
@@ -10,6 +10,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e0
)
--s&t zone effect
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
@@ -21,6 +22,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e1
)
--gy effect
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_DECKDES
)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
expansions/script/c60002106.lua
View file @
bd23f94d
...
...
@@ -15,7 +15,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e1
)
--to hand
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_S
EARCH
+
CATEGORY_TOHAND
)
e2
:
SetCategory
(
CATEGORY_S
PECIAL_SUMMON
+
CATEGORY_FUSION_SUMMON
+
CATEGORY_DECKDES
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
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