Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
Soulgamer
ygopro-222DIY-cards
Commits
7bff4301
Commit
7bff4301
authored
Mar 03, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wocaonima
parent
a94ae9c9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
10 deletions
+8
-10
expansions/script/c33720054.lua
expansions/script/c33720054.lua
+5
-1
expansions/script/c37900017.lua
expansions/script/c37900017.lua
+3
-9
No files found.
expansions/script/c33720054.lua
View file @
7bff4301
...
...
@@ -71,7 +71,11 @@ function s.sumlimit(e,c,sump,sumtype,sumpos,targetp,se)
end
function
s
.
matchtype
(
c
,
typ
)
return
((
typ
==
TYPE_SPELL
or
typ
==
TYPE_TRAP
)
and
c
:
GetType
()
==
typ
)
or
c
:
GetType
()
&
typ
==
typ
if
typ
==
TYPE_SPELL
or
typ
==
TYPE_TRAP
then
return
c
:
GetType
()
==
typ
else
return
c
:
GetType
()
&
typ
==
typ
end
end
s
.
thchecks
=
aux
.
CreateChecks
(
s
.
matchtype
,{
TYPE_NORMAL
+
TYPE_MONSTER
,
TYPE_EFFECT
+
TYPE_MONSTER
,
TYPE_PENDULUM
+
TYPE_MONSTER
,
TYPE_SPELL
,
TYPE_CONTINUOUS
+
TYPE_SPELL
,
TYPE_EQUIP
+
TYPE_SPELL
,
TYPE_FIELD
+
TYPE_SPELL
,
...
...
expansions/script/c37900017.lua
View file @
7bff4301
...
...
@@ -10,19 +10,13 @@ function c37900017.initial_effect(c)
e0
:
SetCountLimit
(
2
)
e0
:
SetValue
(
c37900017
.
valcon
)
c
:
RegisterEffect
(
e0
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
37900017
,
1
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetRange
(
LOCATION_SZONE
)
e1
:
SetValue
(
c37900017
.
efilter
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_GRANT
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetTargetRange
(
LOCATION_SZONE
,
0
)
e2
:
SetTarget
(
c37900017
.
mattg
)
e2
:
Set
LabelObject
(
e1
)
e2
:
Set
Value
(
c37900017
.
efilter
)
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
...
...
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