Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
3
Merge Requests
3
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
MyCard
ygopro-scripts-888
Commits
3edb0ce3
"svn:/svn.code.sf.net/p/irrlicht/code/trunk@5212" did not exist on "6fd8d82d4c26b685ada9e6506e897c5d71043d4a"
Commit
3edb0ce3
authored
May 10, 2024
by
wind2009
Committed by
GitHub
May 10, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add has_text_type=TYPE_UNION (#2523)
parent
30179ac6
Changes
19
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
19 additions
and
0 deletions
+19
-0
c11743119.lua
c11743119.lua
+1
-0
c12079734.lua
c12079734.lua
+1
-0
c12524259.lua
c12524259.lua
+1
-0
c1561110.lua
c1561110.lua
+1
-0
c21723081.lua
c21723081.lua
+1
-0
c26931058.lua
c26931058.lua
+1
-0
c30012506.lua
c30012506.lua
+1
-0
c3405259.lua
c3405259.lua
+1
-0
c39778366.lua
c39778366.lua
+1
-0
c39890958.lua
c39890958.lua
+1
-0
c46181000.lua
c46181000.lua
+1
-0
c66399653.lua
c66399653.lua
+1
-0
c72083436.lua
c72083436.lua
+1
-0
c77411244.lua
c77411244.lua
+1
-0
c78349103.lua
c78349103.lua
+1
-0
c8964854.lua
c8964854.lua
+1
-0
c91597389.lua
c91597389.lua
+1
-0
c95471006.lua
c95471006.lua
+1
-0
c99249638.lua
c99249638.lua
+1
-0
No files found.
c11743119.lua
View file @
3edb0ce3
...
...
@@ -13,6 +13,7 @@ function c11743119.initial_effect(c)
e1
:
SetOperation
(
c11743119
.
eqop
)
c
:
RegisterEffect
(
e1
)
end
c11743119
.
has_text_type
=
TYPE_UNION
function
c11743119
.
eqcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
ec
=
e
:
GetLabelObject
()
...
...
c12079734.lua
View file @
3edb0ce3
...
...
@@ -11,6 +11,7 @@ function c12079734.initial_effect(c)
e1
:
SetOperation
(
c12079734
.
operation
)
c
:
RegisterEffect
(
e1
)
end
c12079734
.
has_text_type
=
TYPE_UNION
function
c12079734
.
filter1
(
c
,
ec
)
return
c
:
IsType
(
TYPE_UNION
)
and
c
:
CheckUnionTarget
(
ec
)
and
aux
.
CheckUnionEquip
(
c
,
ec
)
end
...
...
c12524259.lua
View file @
3edb0ce3
...
...
@@ -12,6 +12,7 @@ function c12524259.initial_effect(c)
e1
:
SetOperation
(
c12524259
.
activate
)
c
:
RegisterEffect
(
e1
)
end
c12524259
.
has_text_type
=
TYPE_UNION
function
c12524259
.
tgfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_MACHINE
)
and
Duel
.
IsExistingMatchingCard
(
c12524259
.
eqfilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
nil
,
c
,
tp
)
...
...
c1561110.lua
View file @
3edb0ce3
...
...
@@ -40,6 +40,7 @@ function c1561110.initial_effect(c)
e4
:
SetOperation
(
c1561110
.
spop2
)
c
:
RegisterEffect
(
e4
)
end
c1561110
.
has_text_type
=
TYPE_UNION
function
c1561110
.
splimit
(
e
,
se
,
sp
,
st
)
return
not
e
:
GetHandler
():
IsLocation
(
LOCATION_EXTRA
)
end
...
...
c21723081.lua
View file @
3edb0ce3
...
...
@@ -19,6 +19,7 @@ function c21723081.initial_effect(c)
e2
:
SetOperation
(
c21723081
.
operation
)
c
:
RegisterEffect
(
e2
)
end
c21723081
.
has_text_type
=
TYPE_UNION
function
c21723081
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
(
c
:
IsCode
(
91998119
)
or
c
:
IsType
(
TYPE_FUSION
)
and
aux
.
IsMaterialListCode
(
c
,
91998119
))
end
...
...
c26931058.lua
View file @
3edb0ce3
...
...
@@ -9,6 +9,7 @@ function c26931058.initial_effect(c)
e1
:
SetOperation
(
c26931058
.
efop
)
c
:
RegisterEffect
(
e1
)
end
c26931058
.
has_text_type
=
TYPE_UNION
function
c26931058
.
filter1
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_UNION
)
and
Duel
.
IsExistingMatchingCard
(
c26931058
.
filter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
c
,
c
)
...
...
c30012506.lua
View file @
3edb0ce3
...
...
@@ -18,6 +18,7 @@ function c30012506.initial_effect(c)
e5
:
SetOperation
(
c30012506
.
thop
)
c
:
RegisterEffect
(
e5
)
end
c30012506
.
has_text_type
=
TYPE_UNION
function
c30012506
.
filter
(
c
)
return
c
:
IsRace
(
RACE_MACHINE
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
end
...
...
c3405259.lua
View file @
3edb0ce3
...
...
@@ -18,6 +18,7 @@ function c3405259.initial_effect(c)
e5
:
SetOperation
(
c3405259
.
spop2
)
c
:
RegisterEffect
(
e5
)
end
c3405259
.
has_text_type
=
TYPE_UNION
function
c3405259
.
filter
(
c
)
return
c
:
IsRace
(
RACE_MACHINE
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
end
...
...
c39778366.lua
View file @
3edb0ce3
...
...
@@ -24,6 +24,7 @@ function c39778366.initial_effect(c)
e2
:
SetOperation
(
c39778366
.
thop
)
c
:
RegisterEffect
(
e2
)
end
c39778366
.
has_text_type
=
TYPE_UNION
function
c39778366
.
filter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_MACHINE
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
c
:
IsType
(
TYPE_NORMAL
+
TYPE_UNION
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
c39890958.lua
View file @
3edb0ce3
...
...
@@ -19,6 +19,7 @@ function c39890958.initial_effect(c)
e5
:
SetOperation
(
c39890958
.
sumop
)
c
:
RegisterEffect
(
e5
)
end
c39890958
.
has_text_type
=
TYPE_UNION
function
c39890958
.
filter
(
c
)
return
c
:
IsRace
(
RACE_MACHINE
)
end
...
...
c46181000.lua
View file @
3edb0ce3
...
...
@@ -16,6 +16,7 @@ function c46181000.initial_effect(c)
e1
:
SetOperation
(
c46181000
.
operation
)
c
:
RegisterEffect
(
e1
)
end
c46181000
.
has_text_type
=
TYPE_UNION
function
c46181000
.
filter
(
c
,
e
,
sp
)
return
c
:
IsType
(
TYPE_UNION
)
and
c
:
IsLevelBelow
(
4
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
sp
,
false
,
false
)
end
...
...
c66399653.lua
View file @
3edb0ce3
...
...
@@ -23,6 +23,7 @@ function c66399653.initial_effect(c)
aux
.
RegisterMergedDelayedEvent
(
c
,
66399653
,
EVENT_SUMMON_SUCCESS
,
g
)
aux
.
RegisterMergedDelayedEvent
(
c
,
66399653
,
EVENT_SPSUMMON_SUCCESS
,
g
)
end
c66399653
.
has_text_type
=
TYPE_UNION
function
c66399653
.
thfilter
(
c
)
return
c
:
IsRace
(
RACE_MACHINE
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
c
:
IsType
(
TYPE_UNION
)
and
c
:
IsAbleToHand
()
...
...
c72083436.lua
View file @
3edb0ce3
...
...
@@ -11,6 +11,7 @@ function c72083436.initial_effect(c)
e1
:
SetOperation
(
c72083436
.
daop
)
c
:
RegisterEffect
(
e1
)
end
c72083436
.
has_text_type
=
TYPE_UNION
function
c72083436
.
cfilter
(
c
)
return
c
:
IsType
(
TYPE_UNION
)
end
...
...
c77411244.lua
View file @
3edb0ce3
...
...
@@ -18,6 +18,7 @@ function c77411244.initial_effect(c)
e5
:
SetOperation
(
c77411244
.
thop
)
c
:
RegisterEffect
(
e5
)
end
c77411244
.
has_text_type
=
TYPE_UNION
function
c77411244
.
filter
(
c
)
return
c
:
IsRace
(
RACE_MACHINE
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
end
...
...
c78349103.lua
View file @
3edb0ce3
...
...
@@ -13,6 +13,7 @@ function c78349103.initial_effect(c)
e5
:
SetOperation
(
c78349103
.
sop
)
c
:
RegisterEffect
(
e5
)
end
c78349103
.
has_text_type
=
TYPE_UNION
function
c78349103
.
filter
(
c
)
return
c
:
IsRace
(
RACE_MACHINE
)
end
...
...
c8964854.lua
View file @
3edb0ce3
...
...
@@ -11,6 +11,7 @@ function c8964854.initial_effect(c)
e1
:
SetOperation
(
c8964854
.
operation
)
c
:
RegisterEffect
(
e1
)
end
c8964854
.
has_text_type
=
TYPE_UNION
function
c8964854
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
(
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
)
end
...
...
c91597389.lua
View file @
3edb0ce3
...
...
@@ -10,6 +10,7 @@ function c91597389.initial_effect(c)
e1
:
SetOperation
(
c91597389
.
operation
)
c
:
RegisterEffect
(
e1
)
end
c91597389
.
has_text_type
=
TYPE_UNION
function
c91597389
.
filter
(
c
,
tp
)
return
c
:
IsType
(
TYPE_UNION
)
and
Duel
.
IsExistingMatchingCard
(
c91597389
.
filter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
c
)
end
...
...
c95471006.lua
View file @
3edb0ce3
...
...
@@ -30,6 +30,7 @@ function c95471006.initial_effect(c)
e2
:
SetOperation
(
c95471006
.
sprop
)
c
:
RegisterEffect
(
e2
)
end
c95471006
.
has_text_type
=
TYPE_UNION
function
c95471006
.
cfilter
(
c
,
tp
)
return
c
:
IsRace
(
RACE_MACHINE
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
c
:
IsType
(
TYPE_UNION
)
and
c
:
IsPreviousControler
(
tp
)
and
c
:
IsFaceup
()
...
...
c99249638.lua
View file @
3edb0ce3
...
...
@@ -13,6 +13,7 @@ function c99249638.initial_effect(c)
e4
:
SetOperation
(
c99249638
.
reop
)
c
:
RegisterEffect
(
e4
)
end
c99249638
.
has_text_type
=
TYPE_UNION
function
c99249638
.
recost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
tc
=
e
:
GetHandler
():
GetEquipTarget
()
e
:
SetLabelObject
(
tc
)
...
...
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