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
ced115b3
Commit
ced115b3
authored
Jun 16, 2022
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
20a85a68
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
expansions/script/c111464489.lua
expansions/script/c111464489.lua
+1
-1
expansions/script/c113398100.lua
expansions/script/c113398100.lua
+1
-1
expansions/script/c114824019.lua
expansions/script/c114824019.lua
+8
-2
No files found.
expansions/script/c111464489.lua
View file @
ced115b3
function
c111464489
.
initial_effect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_SEARCH
+
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
111464489
+
EFFECT_COUNT_CODE_OATH
)
...
...
expansions/script/c113398100.lua
View file @
ced115b3
...
...
@@ -36,7 +36,7 @@ function c113398100.cfilter(c)
return
c
:
IsRace
(
RACE_SPELLCASTER
)
and
(
c
:
IsLocation
(
LOCATION_GRAVE
)
or
c
:
IsFaceup
())
end
function
c113398100
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
--
and Duel.IsExistingMatchingCard(c113398100.cfilter,tp,LOCATION_MZONE+LOCATION_GRAVE,0,1,nil)
return
Duel
.
GetTurnPlayer
()
==
tp
and
Duel
.
IsExistingMatchingCard
(
c113398100
.
cfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
function
c113398100
.
filter
(
c
)
return
c
:
IsSetCard
(
0x306e
)
and
c
:
GetCode
()
~=
113398100
and
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsAbleToDeck
()
...
...
expansions/script/c114824019.lua
View file @
ced115b3
...
...
@@ -45,11 +45,17 @@ function c114824019.sumcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RegisterFlagEffect
(
tp
,
114824019
,
RESET_CHAIN
,
0
,
1
)
end
function
c114824019
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsSummonable
(
false
,
nil
)
or
e
:
GetHandler
():
IsMSetable
(
tru
e
,
nil
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsSummonable
(
false
,
nil
)
or
e
:
GetHandler
():
IsMSetable
(
fals
e
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
c114824019
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
Summon
(
tp
,
c
,
false
,
nil
)
local
s1
=
c
:
IsSummonable
(
false
,
nil
)
local
s2
=
c
:
IsMSetable
(
false
,
nil
)
if
(
s1
and
s2
and
Duel
.
SelectPosition
(
tp
,
c
,
POS_FACEUP_ATTACK
+
POS_FACEDOWN_DEFENSE
)
==
POS_FACEUP_ATTACK
)
or
not
s2
then
Duel
.
Summon
(
tp
,
c
,
false
,
nil
)
else
Duel
.
MSet
(
tp
,
c
,
false
,
nil
)
end
end
\ No newline at end of file
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