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
be96358d
Commit
be96358d
authored
Feb 27, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
9e5b800e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
7 deletions
+13
-7
expansions/script/c15000211.lua
expansions/script/c15000211.lua
+5
-1
expansions/script/c22348368.lua
expansions/script/c22348368.lua
+3
-2
expansions/script/c67670305.lua
expansions/script/c67670305.lua
+2
-2
expansions/script/c67670314.lua
expansions/script/c67670314.lua
+3
-2
No files found.
expansions/script/c15000211.lua
View file @
be96358d
...
...
@@ -27,7 +27,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp,c)
local
codelist2
=
0
while
codelist2
==
0
do
local
l
=
Duel
.
GetRandomNumber
(
1
,
999999999
)
local
mt
=
cm
.
load_metatable
(
l
)
local
mt
=
cm
.
load_metatable
_load
(
l
)
if
mt
then
local
token
=
Duel
.
CreateToken
(
tp
,
l
)
if
token
and
token
:
IsType
(
TYPE_MONSTER
)
and
token
:
IsType
(
TYPE_EFFECT
)
and
not
token
:
IsForbidden
()
and
token
:
CheckUniqueOnField
(
tp
)
then
...
...
@@ -41,6 +41,10 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp,c)
end
end
end
function
cm
.
load_metatable_load
(
code
)
local
type
=
Duel
.
ReadCard
(
code
,
CARDDATA_TYPE
)
return
type
end
function
cm
.
load_metatable
(
code
)
local
m1
=
_G
[
"c"
..
code
]
if
m1
then
return
m1
end
...
...
expansions/script/c22348368.lua
View file @
be96358d
...
...
@@ -67,6 +67,7 @@ function c22348368.efffilter(c,e,tp,eg,ep,ev,re,r,rp)
local
te
=
c
.
bfg_effect
if
not
te
then
return
false
end
local
tg
=
te
:
GetTarget
()
local
e
=
te
return
not
tg
or
tg
and
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
0
)
end
function
c22348368
.
effctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c67670305.lua
View file @
be96358d
...
...
@@ -71,7 +71,7 @@ function c67670305.spop(e,tp,eg,ep,ev,re,r,rp,c)
end
--to grave
function
c67670305
.
costfilter
(
c
)
return
c
:
IsSetCard
(
0x1b7
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToRemoveAsCost
()
return
c
:
IsSetCard
(
0x1b7
)
and
c
:
IsAbleToRemoveAsCost
()
end
function
c67670305
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
tp
=
e
:
GetHandlerPlayer
()
...
...
@@ -84,7 +84,7 @@ function c67670305.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Remove
(
sg
,
POS_FACEUP
,
REASON_COST
)
end
function
c67670305
.
spfilter2
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x1b7
)
and
not
c
:
IsCode
(
67670305
)
and
c
:
IsAbleTo
Hand
()
return
c
:
IsSetCard
(
0x1b7
)
and
not
c
:
IsCode
(
67670305
)
and
c
:
IsAbleTo
Grave
()
end
function
c67670305
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
...
...
expansions/script/c67670314.lua
View file @
be96358d
...
...
@@ -24,8 +24,9 @@ function c67670314.initial_effect(c)
--double damge
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
67670314
,
2
))
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetCountLimit
(
1
,
67670314
)
e3
:
SetCost
(
aux
.
bfgcost
)
e3
:
SetOperation
(
c67670314
.
operation
)
...
...
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