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
641240b7
Commit
641240b7
authored
Mar 09, 2023
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2b231c2f
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
90 additions
and
0 deletions
+90
-0
expansions/script/c11451011.lua
expansions/script/c11451011.lua
+16
-0
expansions/script/c11451012.lua
expansions/script/c11451012.lua
+16
-0
expansions/script/c11451013.lua
expansions/script/c11451013.lua
+16
-0
expansions/script/c11451014.lua
expansions/script/c11451014.lua
+16
-0
expansions/script/c11451015.lua
expansions/script/c11451015.lua
+13
-0
expansions/script/c67200608.lua
expansions/script/c67200608.lua
+13
-0
No files found.
expansions/script/c11451011.lua
View file @
641240b7
...
...
@@ -55,6 +55,22 @@ function cm.initial_effect(c)
e6
:
SetCondition
(
cm
.
descon
)
e6
:
SetOperation
(
cm
.
desop
)
c
:
RegisterEffect
(
e6
)
if
not
cm
.
global_check
then
cm
.
global_check
=
true
local
_IsActiveType
=
Effect
.
IsActiveType
local
_GetActiveType
=
Effect
.
GetActiveType
function
Effect
.
GetActiveType
(
e
)
local
cost
=
e
:
GetCost
()
if
cost
and
cost
==
cm
.
cost
then
return
TYPE_SPELL
+
TYPE_PENDULUM
end
return
_GetActiveType
(
e
)
end
function
Effect
.
IsActiveType
(
e
,
typ
)
local
typ2
=
e
:
GetActiveType
()
return
typ
&
typ2
~=
0
end
end
end
local
KOISHI_CHECK
=
false
if
Card
.
SetCardData
then
KOISHI_CHECK
=
true
end
...
...
expansions/script/c11451012.lua
View file @
641240b7
...
...
@@ -64,6 +64,22 @@ function cm.initial_effect(c)
e6
:
SetCondition
(
cm
.
descon
)
e6
:
SetOperation
(
cm
.
desop
)
c
:
RegisterEffect
(
e6
)
if
not
cm
.
global_check
then
cm
.
global_check
=
true
local
_IsActiveType
=
Effect
.
IsActiveType
local
_GetActiveType
=
Effect
.
GetActiveType
function
Effect
.
GetActiveType
(
e
)
local
cost
=
e
:
GetCost
()
if
cost
and
cost
==
cm
.
cost
then
return
TYPE_TRAP
end
return
_GetActiveType
(
e
)
end
function
Effect
.
IsActiveType
(
e
,
typ
)
local
typ2
=
e
:
GetActiveType
()
return
typ
&
typ2
~=
0
end
end
end
local
KOISHI_CHECK
=
false
if
Card
.
SetCardData
then
KOISHI_CHECK
=
true
end
...
...
expansions/script/c11451013.lua
View file @
641240b7
...
...
@@ -54,6 +54,22 @@ function cm.initial_effect(c)
e6
:
SetCondition
(
cm
.
descon
)
e6
:
SetOperation
(
cm
.
desop
)
c
:
RegisterEffect
(
e6
)
if
not
cm
.
global_check
then
cm
.
global_check
=
true
local
_IsActiveType
=
Effect
.
IsActiveType
local
_GetActiveType
=
Effect
.
GetActiveType
function
Effect
.
GetActiveType
(
e
)
local
cost
=
e
:
GetCost
()
if
cost
and
cost
==
cm
.
cost
then
return
TYPE_TRAP
end
return
_GetActiveType
(
e
)
end
function
Effect
.
IsActiveType
(
e
,
typ
)
local
typ2
=
e
:
GetActiveType
()
return
typ
&
typ2
~=
0
end
end
end
local
KOISHI_CHECK
=
false
if
Card
.
SetCardData
then
KOISHI_CHECK
=
true
end
...
...
expansions/script/c11451014.lua
View file @
641240b7
...
...
@@ -56,6 +56,22 @@ function cm.initial_effect(c)
e6
:
SetCondition
(
cm
.
descon
)
e6
:
SetOperation
(
cm
.
desop
)
c
:
RegisterEffect
(
e6
)
if
not
cm
.
global_check
then
cm
.
global_check
=
true
local
_IsActiveType
=
Effect
.
IsActiveType
local
_GetActiveType
=
Effect
.
GetActiveType
function
Effect
.
GetActiveType
(
e
)
local
cost
=
e
:
GetCost
()
if
cost
and
cost
==
cm
.
cost
then
return
TYPE_TRAP
end
return
_GetActiveType
(
e
)
end
function
Effect
.
IsActiveType
(
e
,
typ
)
local
typ2
=
e
:
GetActiveType
()
return
typ
&
typ2
~=
0
end
end
end
local
KOISHI_CHECK
=
false
if
Card
.
SetCardData
then
KOISHI_CHECK
=
true
end
...
...
expansions/script/c11451015.lua
View file @
641240b7
...
...
@@ -53,6 +53,19 @@ function cm.initial_effect(c)
ge1
:
SetCondition
(
cm
.
regcon
)
ge1
:
SetOperation
(
cm
.
regop
)
--Duel.RegisterEffect(ge1,0)
local
_IsActiveType
=
Effect
.
IsActiveType
local
_GetActiveType
=
Effect
.
GetActiveType
function
Effect
.
GetActiveType
(
e
)
local
cost
=
e
:
GetCost
()
if
cost
and
cost
==
cm
.
cost
then
return
TYPE_TRAP
end
return
_GetActiveType
(
e
)
end
function
Effect
.
IsActiveType
(
e
,
typ
)
local
typ2
=
e
:
GetActiveType
()
return
typ
&
typ2
~=
0
end
end
end
local
KOISHI_CHECK
=
false
...
...
expansions/script/c67200608.lua
View file @
641240b7
...
...
@@ -10,6 +10,15 @@ function c67200608.initial_effect(c)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
aux
.
ritlimit
)
c
:
RegisterEffect
(
e1
)
--hyper pendulum splimit
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_FIELD
)
e0
:
SetRange
(
LOCATION_PZONE
)
e0
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e0
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
)
e0
:
SetTargetRange
(
1
,
0
)
e0
:
SetTarget
(
c67200608
.
splimit
)
c
:
RegisterEffect
(
e0
)
--token
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
67200608
,
1
))
...
...
@@ -37,6 +46,10 @@ function c67200608.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
--
function
c67200608
.
splimit
(
e
,
c
,
tp
,
sumtp
,
sumpos
)
return
bit
.
band
(
sumtp
,
SUMMON_TYPE_PENDULUM
)
==
SUMMON_TYPE_PENDULUM
end
--
function
c67200608
.
cfilter2
(
c
,
tp
)
return
c
:
GetSummonPlayer
()
==
tp
and
c
:
IsSetCard
(
0x677
)
and
c
:
IsFaceup
()
and
c
:
IsSummonType
(
SUMMON_TYPE_RITUAL
)
end
...
...
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