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
10eaa113
Commit
10eaa113
authored
Oct 17, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
4dcdca1e
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
9 deletions
+11
-9
expansions/script/c12835101.lua
expansions/script/c12835101.lua
+1
-1
expansions/script/c12835102.lua
expansions/script/c12835102.lua
+0
-1
expansions/script/c60010055.lua
expansions/script/c60010055.lua
+1
-1
expansions/script/c7463193.lua
expansions/script/c7463193.lua
+5
-3
expansions/script/c7463195.lua
expansions/script/c7463195.lua
+3
-2
expansions/script/c9911659.lua
expansions/script/c9911659.lua
+1
-1
No files found.
expansions/script/c12835101.lua
View file @
10eaa113
...
@@ -81,7 +81,7 @@ function c12835101.initial_effect(c)
...
@@ -81,7 +81,7 @@ function c12835101.initial_effect(c)
end
end
end
end
function
c12835101
.
con0
(
e
)
function
c12835101
.
con0
(
e
)
return
Duel
.
GetFlagEffect
(
tp
,
12835101
+
100
)
==
0
return
Duel
.
GetFlagEffect
(
e
:
GetHandlerPlayer
()
,
12835101
+
100
)
==
0
end
end
function
c12835101
.
op0
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c12835101
.
op0
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
for
tp
=
0
,
1
do
for
tp
=
0
,
1
do
...
...
expansions/script/c12835102.lua
View file @
10eaa113
...
@@ -28,7 +28,6 @@ function c12835102.initial_effect(c)
...
@@ -28,7 +28,6 @@ function c12835102.initial_effect(c)
e5
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_EQUIP
+
CATEGORY_DECKDES
)
e5
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_EQUIP
+
CATEGORY_DECKDES
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e5
:
SetCode
(
EVENT_TO_HAND
)
e5
:
SetCode
(
EVENT_TO_HAND
)
e5
:
SetCountLimit
(
1
,
12835102
)
e5
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e5
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e5
:
SetCondition
(
c12835102
.
con5
)
e5
:
SetCondition
(
c12835102
.
con5
)
e5
:
SetTarget
(
c12835102
.
tg5
)
e5
:
SetTarget
(
c12835102
.
tg5
)
...
...
expansions/script/c60010055.lua
View file @
10eaa113
...
@@ -32,7 +32,7 @@ if not cm.lblsz then
...
@@ -32,7 +32,7 @@ if not cm.lblsz then
Duel
.
Remove
(
rg
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
rg
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
ResetFlagEffect
(
tp
,
m
+
10000000
)
Duel
.
ResetFlagEffect
(
tp
,
m
+
10000000
)
end
end
if
Duel
.
GetFlagEffect
(
tp
,
m
)
==
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsCode
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
m
)
and
Duel
.
GetMatchingGroup
(
Card
.
IsCode
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
nil
,
m
):
RandomSelect
(
tp
,
1
):
IsAbleToHand
(
tp
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
0
))
then
if
Duel
.
GetFlagEffect
(
tp
,
m
)
==
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsCode
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
m
)
and
Duel
.
GetMatchingGroup
(
Card
.
IsCode
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
nil
,
m
):
RandomSelect
(
tp
,
1
):
GetFirst
():
IsAbleToHand
(
tp
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
0
))
then
Duel
.
RegisterFlagEffect
(
tp
,
m
,
0
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
m
,
0
,
0
,
1
)
local
ag
=
Duel
.
GetMatchingGroup
(
Card
.
IsCode
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
nil
,
m
):
Select
(
tp
,
1
,
1
,
nil
)
local
ag
=
Duel
.
GetMatchingGroup
(
Card
.
IsCode
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
nil
,
m
):
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SendtoHand
(
ag
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
ag
,
nil
,
REASON_EFFECT
)
...
...
expansions/script/c7463193.lua
View file @
10eaa113
...
@@ -25,7 +25,8 @@ function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -25,7 +25,8 @@ function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleHand
(
tp
)
end
end
function
s
.
spfilter
(
c
,
e
,
tp
)
function
s
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x106e
)
and
c
:
IsType
(
TYPE_SPELL
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
c
:
GetCode
(),
nil
,
TYPE_MONSTER
+
TYPE_EFFECT
,
0
,
0
,
1
,
RACE_SPELLCASTER
,
ATTRIBUTE_LIGHT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
true
)
return
c
:
IsSetCard
(
0x106e
)
and
c
:
IsType
(
TYPE_SPELL
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
c
:
GetCode
(),
nil
,
TYPE_MONSTER
+
TYPE_EFFECT
,
2800
,
0
,
1
,
RACE_SPELLCASTER
,
ATTRIBUTE_LIGHT
)
--and c:IsCanBeSpecialSummoned(e,0,tp,true,true)
end
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
@@ -39,7 +40,8 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -39,7 +40,8 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
local
e1
=
Effect
.
CreateEffect
(
c
)
tc
:
AddMonsterAttribute
(
TYPE_EFFECT
,
ATTRIBUTE_LIGHT
,
RACE_SPELLCASTER
,
1
,
2800
,
0
)
--[[local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CHANGE_TYPE)
e1:SetCode(EFFECT_CHANGE_TYPE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
...
@@ -65,7 +67,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -65,7 +67,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local e6=e1:Clone()
local e6=e1:Clone()
e6:SetCode(EFFECT_CHANGE_LEVEL)
e6:SetCode(EFFECT_CHANGE_LEVEL)
e6:SetValue(1)
e6:SetValue(1)
tc
:
RegisterEffect
(
e6
,
true
)
tc:RegisterEffect(e6,true)
]]
if
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
then
if
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
then
--Return to hand
--Return to hand
local
e7
=
Effect
.
CreateEffect
(
c
)
local
e7
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c7463195.lua
View file @
10eaa113
...
@@ -235,7 +235,8 @@ function s.PendOperation()
...
@@ -235,7 +235,8 @@ function s.PendOperation()
tc
:
RegisterFlagEffect
(
id
+
2
,
0
,
0
,
1
,
tc
:
GetOriginalType
())
tc
:
RegisterFlagEffect
(
id
+
2
,
0
,
0
,
1
,
tc
:
GetOriginalType
())
tc
:
SetCardData
(
CARDDATA_TYPE
,
TYPE_NORMAL
+
TYPE_MONSTER
)
tc
:
SetCardData
(
CARDDATA_TYPE
,
TYPE_NORMAL
+
TYPE_MONSTER
)
end
end
local
e1
=
Effect
.
CreateEffect
(
tc
)
tc
:
AddMonsterAttribute
(
TYPE_NORMAL
,
ATTRIBUTE_LIGHT
,
RACE_SPELLCASTER
,
7
,
0
,
0
)
--[[local e1=Effect.CreateEffect(tc)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CHANGE_TYPE)
e1:SetCode(EFFECT_CHANGE_TYPE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
...
@@ -261,7 +262,7 @@ function s.PendOperation()
...
@@ -261,7 +262,7 @@ function s.PendOperation()
local e6=e1:Clone()
local e6=e1:Clone()
e6:SetCode(EFFECT_CHANGE_LEVEL)
e6:SetCode(EFFECT_CHANGE_LEVEL)
e6:SetValue(7)
e6:SetValue(7)
tc
:
RegisterEffect
(
e6
,
true
)
tc:RegisterEffect(e6,true)
]]
--tc:SetStatus(STATUS_EFFECT_ENABLED,true)
--tc:SetStatus(STATUS_EFFECT_ENABLED,true)
--tc:SetStatus(STATUS_PROC_COMPLETE,true)
--tc:SetStatus(STATUS_PROC_COMPLETE,true)
--tc:SetStatus(STATUS_SUMMONING,true)
--tc:SetStatus(STATUS_SUMMONING,true)
...
...
expansions/script/c9911659.lua
View file @
10eaa113
...
@@ -4,7 +4,7 @@ function c9911659.initial_effect(c)
...
@@ -4,7 +4,7 @@ function c9911659.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
TIMING_END_PHASE
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCountLimit
(
1
,
9911659
)
e1
:
SetCountLimit
(
1
,
9911659
)
e1
:
SetCost
(
c9911659
.
poscost
)
e1
:
SetCost
(
c9911659
.
poscost
)
...
...
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