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
c4e6009e
Commit
c4e6009e
authored
Nov 03, 2024
by
Chen Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove EFFECT_FLAG_COPY_INHERIT
parent
aa9fc5e7
Changes
63
Hide whitespace changes
Inline
Side-by-side
Showing
63 changed files
with
63 additions
and
63 deletions
+63
-63
c11743119.lua
c11743119.lua
+1
-1
c14466224.lua
c14466224.lua
+1
-1
c15270885.lua
c15270885.lua
+1
-1
c18960169.lua
c18960169.lua
+1
-1
c18967507.lua
c18967507.lua
+1
-1
c21790410.lua
c21790410.lua
+1
-1
c22011689.lua
c22011689.lua
+1
-1
c22091647.lua
c22091647.lua
+1
-1
c22624373.lua
c22624373.lua
+1
-1
c22842214.lua
c22842214.lua
+1
-1
c23756165.lua
c23756165.lua
+1
-1
c2461031.lua
c2461031.lua
+1
-1
c26211048.lua
c26211048.lua
+1
-1
c26885836.lua
c26885836.lua
+1
-1
c27548199.lua
c27548199.lua
+1
-1
c27873305.lua
c27873305.lua
+1
-1
c28497830.lua
c28497830.lua
+1
-1
c30829071.lua
c30829071.lua
+1
-1
c31563350.lua
c31563350.lua
+1
-1
c31930787.lua
c31930787.lua
+1
-1
c33460840.lua
c33460840.lua
+1
-1
c34251483.lua
c34251483.lua
+1
-1
c35283277.lua
c35283277.lua
+1
-1
c38450736.lua
c38450736.lua
+1
-1
c3897065.lua
c3897065.lua
+1
-1
c39078434.lua
c39078434.lua
+1
-1
c39987164.lua
c39987164.lua
+1
-1
c4252828.lua
c4252828.lua
+1
-1
c43191636.lua
c43191636.lua
+1
-1
c4545683.lua
c4545683.lua
+1
-1
c4837861.lua
c4837861.lua
+1
-1
c50140163.lua
c50140163.lua
+1
-1
c53184342.lua
c53184342.lua
+1
-1
c57784563.lua
c57784563.lua
+1
-1
c59784896.lua
c59784896.lua
+1
-1
c6075801.lua
c6075801.lua
+1
-1
c61538782.lua
c61538782.lua
+1
-1
c63465535.lua
c63465535.lua
+1
-1
c63633694.lua
c63633694.lua
+1
-1
c66094973.lua
c66094973.lua
+1
-1
c66707058.lua
c66707058.lua
+1
-1
c68140974.lua
c68140974.lua
+1
-1
c68184115.lua
c68184115.lua
+1
-1
c69207766.lua
c69207766.lua
+1
-1
c69831560.lua
c69831560.lua
+1
-1
c73698349.lua
c73698349.lua
+1
-1
c77693536.lua
c77693536.lua
+1
-1
c78658564.lua
c78658564.lua
+1
-1
c80885324.lua
c80885324.lua
+1
-1
c82324312.lua
c82324312.lua
+1
-1
c83965310.lua
c83965310.lua
+1
-1
c84173492.lua
c84173492.lua
+1
-1
c84769941.lua
c84769941.lua
+1
-1
c85306040.lua
c85306040.lua
+1
-1
c85545073.lua
c85545073.lua
+1
-1
c87257460.lua
c87257460.lua
+1
-1
c92868896.lua
c92868896.lua
+1
-1
c93157004.lua
c93157004.lua
+1
-1
c95090813.lua
c95090813.lua
+1
-1
c95395761.lua
c95395761.lua
+1
-1
c95911373.lua
c95911373.lua
+1
-1
c97864322.lua
c97864322.lua
+1
-1
constant.lua
constant.lua
+1
-1
No files found.
c11743119.lua
View file @
c4e6009e
...
@@ -45,7 +45,7 @@ function c11743119.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,7 +45,7 @@ function c11743119.eqop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c11743119
.
eqlimit
)
e1
:
SetValue
(
c11743119
.
eqlimit
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
...
...
c14466224.lua
View file @
c4e6009e
...
@@ -88,7 +88,7 @@ function c14466224.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -88,7 +88,7 @@ function c14466224.eqop(e,tp,eg,ep,ev,re,r,rp)
e
:
SetLabelObject
(
tc
)
e
:
SetLabelObject
(
tc
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c14466224
.
eqlimit
)
e1
:
SetValue
(
c14466224
.
eqlimit
)
...
...
c15270885.lua
View file @
c4e6009e
...
@@ -75,7 +75,7 @@ function c15270885.posop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -75,7 +75,7 @@ function c15270885.posop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_COPY_INHERIT
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
3
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
3
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
c18960169.lua
View file @
c4e6009e
...
@@ -46,7 +46,7 @@ function c18960169.posop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -46,7 +46,7 @@ function c18960169.posop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_COPY_INHERIT
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
3
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
3
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
c18967507.lua
View file @
c4e6009e
...
@@ -61,7 +61,7 @@ function c18967507.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -61,7 +61,7 @@ function c18967507.eqop(e,tp,eg,ep,ev,re,r,rp)
if
tc
then
if
tc
then
if
not
Duel
.
Equip
(
tp
,
tc
,
c
)
then
return
end
if
not
Duel
.
Equip
(
tp
,
tc
,
c
)
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
...
...
c21790410.lua
View file @
c4e6009e
...
@@ -48,7 +48,7 @@ function c21790410.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -48,7 +48,7 @@ function c21790410.eqop(e,tp,eg,ep,ev,re,r,rp)
if
tc
then
if
tc
then
if
not
Duel
.
Equip
(
tp
,
tc
,
c
)
then
return
end
if
not
Duel
.
Equip
(
tp
,
tc
,
c
)
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
...
...
c22011689.lua
View file @
c4e6009e
...
@@ -54,7 +54,7 @@ function c22011689.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -54,7 +54,7 @@ function c22011689.eqop(e,tp,eg,ep,ev,re,r,rp)
--Add Equip limit
--Add Equip limit
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c22011689
.
eqlimit
)
e1
:
SetValue
(
c22011689
.
eqlimit
)
...
...
c22091647.lua
View file @
c4e6009e
...
@@ -84,7 +84,7 @@ function c22091647.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -84,7 +84,7 @@ function c22091647.eqop(e,tp,eg,ep,ev,re,r,rp)
e
:
SetLabelObject
(
tc
)
e
:
SetLabelObject
(
tc
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetValue
(
c22091647
.
eqlimit
)
e1
:
SetValue
(
c22091647
.
eqlimit
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
...
...
c22624373.lua
View file @
c4e6009e
...
@@ -49,7 +49,7 @@ function c22624373.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -49,7 +49,7 @@ function c22624373.desop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_COPY_INHERIT
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
2
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
2
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
...
...
c22842214.lua
View file @
c4e6009e
...
@@ -70,7 +70,7 @@ function c22842214.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -70,7 +70,7 @@ function c22842214.eqop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c22842214
.
eqlimit
)
e1
:
SetValue
(
c22842214
.
eqlimit
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
...
...
c23756165.lua
View file @
c4e6009e
...
@@ -82,7 +82,7 @@ function c23756165.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -82,7 +82,7 @@ function c23756165.eqop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterFlagEffect
(
FLAG_ID_ALLURE_QUEEN
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
0
,
id
)
tc
:
RegisterFlagEffect
(
FLAG_ID_ALLURE_QUEEN
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
0
,
id
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c23756165
.
eqlimit
)
e1
:
SetValue
(
c23756165
.
eqlimit
)
...
...
c2461031.lua
View file @
c4e6009e
...
@@ -56,7 +56,7 @@ function c2461031.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -56,7 +56,7 @@ function c2461031.eqop(e,tp,eg,ep,ev,re,r,rp)
if
tc
then
if
tc
then
if
not
Duel
.
Equip
(
tp
,
tc
,
c
)
then
return
end
if
not
Duel
.
Equip
(
tp
,
tc
,
c
)
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
...
...
c26211048.lua
View file @
c4e6009e
...
@@ -40,7 +40,7 @@ function c26211048.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -40,7 +40,7 @@ function c26211048.eqop(e,tp,eg,ep,ev,re,r,rp)
if
not
tc
:
IsRelateToEffect
(
e
)
or
not
tc
:
IsType
(
TYPE_MONSTER
)
then
return
end
if
not
tc
:
IsRelateToEffect
(
e
)
or
not
tc
:
IsType
(
TYPE_MONSTER
)
then
return
end
if
not
Duel
.
Equip
(
tp
,
tc
,
c
,
false
)
then
return
end
if
not
Duel
.
Equip
(
tp
,
tc
,
c
,
false
)
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
...
...
c26885836.lua
View file @
c4e6009e
...
@@ -34,7 +34,7 @@ function c26885836.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -34,7 +34,7 @@ function c26885836.eqop(e,tp,eg,ep,ev,re,r,rp)
--Add Equip limit
--Add Equip limit
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c26885836
.
eqlimit
)
e1
:
SetValue
(
c26885836
.
eqlimit
)
...
...
c27548199.lua
View file @
c4e6009e
...
@@ -57,7 +57,7 @@ function c27548199.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -57,7 +57,7 @@ function c27548199.eqop(e,tp,eg,ep,ev,re,r,rp)
c
:
AddCounter
(
0x4b
,
lk
)
c
:
AddCounter
(
0x4b
,
lk
)
end
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
...
...
c27873305.lua
View file @
c4e6009e
...
@@ -52,7 +52,7 @@ function c27873305.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,7 +52,7 @@ function c27873305.operation(e,tp,eg,ep,ev,re,r,rp)
if
not
Duel
.
Equip
(
tp
,
ec
,
c
,
false
)
then
return
end
if
not
Duel
.
Equip
(
tp
,
ec
,
c
,
false
)
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c27873305
.
eqlimit
)
e1
:
SetValue
(
c27873305
.
eqlimit
)
...
...
c28497830.lua
View file @
c4e6009e
...
@@ -77,7 +77,7 @@ function s.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -77,7 +77,7 @@ function s.eqop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
s
.
eqlimit
)
e1
:
SetValue
(
s
.
eqlimit
)
tc
:
RegisterEffect
(
e1
,
true
)
tc
:
RegisterEffect
(
e1
,
true
)
...
...
c30829071.lua
View file @
c4e6009e
...
@@ -48,7 +48,7 @@ function c30829071.eqop1(e,tp,eg,ep,ev,re,r,rp)
...
@@ -48,7 +48,7 @@ function c30829071.eqop1(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Equip
(
tp
,
ec
,
tc
)
Duel
.
Equip
(
tp
,
ec
,
tc
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c30829071
.
eqlimit
)
e1
:
SetValue
(
c30829071
.
eqlimit
)
...
...
c31563350.lua
View file @
c4e6009e
...
@@ -38,7 +38,7 @@ function c31563350.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -38,7 +38,7 @@ function c31563350.eqop(e,tp,eg,ep,ev,re,r,rp)
if
tc
then
if
tc
then
if
not
Duel
.
Equip
(
tp
,
tc
,
c
)
then
return
end
if
not
Duel
.
Equip
(
tp
,
tc
,
c
)
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
...
...
c31930787.lua
View file @
c4e6009e
...
@@ -95,7 +95,7 @@ function c31930787.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -95,7 +95,7 @@ function c31930787.eqop(e,tp,eg,ep,ev,re,r,rp)
--Add Equip limit
--Add Equip limit
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c31930787
.
eqlimit
)
e1
:
SetValue
(
c31930787
.
eqlimit
)
...
...
c33460840.lua
View file @
c4e6009e
...
@@ -47,7 +47,7 @@ function c33460840.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,7 +47,7 @@ function c33460840.eqop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c33460840
.
eqlimit
)
e1
:
SetValue
(
c33460840
.
eqlimit
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
...
...
c34251483.lua
View file @
c4e6009e
...
@@ -40,7 +40,7 @@ function c34251483.posop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -40,7 +40,7 @@ function c34251483.posop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_COPY_INHERIT
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
3
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
3
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
c35283277.lua
View file @
c4e6009e
...
@@ -63,7 +63,7 @@ function c35283277.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -63,7 +63,7 @@ function c35283277.eqop(e,tp,eg,ep,ev,re,r,rp)
if
not
Duel
.
Equip
(
tp
,
tc
,
c
,
false
)
then
return
end
if
not
Duel
.
Equip
(
tp
,
tc
,
c
,
false
)
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetLabelObject
(
c
)
e1
:
SetLabelObject
(
c
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
...
...
c38450736.lua
View file @
c4e6009e
...
@@ -51,7 +51,7 @@ function c38450736.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -51,7 +51,7 @@ function c38450736.eqop(e,tp,eg,ep,ev,re,r,rp)
if
tc
then
if
tc
then
if
not
Duel
.
Equip
(
tp
,
tc
,
c
)
then
return
end
if
not
Duel
.
Equip
(
tp
,
tc
,
c
)
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
...
...
c3897065.lua
View file @
c4e6009e
...
@@ -56,7 +56,7 @@ function c3897065.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -56,7 +56,7 @@ function c3897065.eqop(e,tp,eg,ep,ev,re,r,rp)
--equip limit
--equip limit
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c3897065
.
eqlimit
)
e1
:
SetValue
(
c3897065
.
eqlimit
)
...
...
c39078434.lua
View file @
c4e6009e
...
@@ -73,7 +73,7 @@ function c39078434.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -73,7 +73,7 @@ function c39078434.eqop(e,tp,eg,ep,ev,re,r,rp)
if
tc
then
if
tc
then
if
not
Duel
.
Equip
(
tp
,
tc
,
c
)
then
return
end
if
not
Duel
.
Equip
(
tp
,
tc
,
c
)
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
...
...
c39987164.lua
View file @
c4e6009e
...
@@ -54,7 +54,7 @@ function c39987164.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -54,7 +54,7 @@ function c39987164.eqop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterFlagEffect
(
39987164
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
0
)
tc
:
RegisterFlagEffect
(
39987164
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
0
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c39987164
.
eqlimit
)
e1
:
SetValue
(
c39987164
.
eqlimit
)
...
...
c4252828.lua
View file @
c4e6009e
...
@@ -54,7 +54,7 @@ function c4252828.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -54,7 +54,7 @@ function c4252828.eqop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c4252828
.
eqlimit
)
e1
:
SetValue
(
c4252828
.
eqlimit
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
...
...
c43191636.lua
View file @
c4e6009e
...
@@ -32,7 +32,7 @@ function c43191636.posop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -32,7 +32,7 @@ function c43191636.posop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_COPY_INHERIT
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
3
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
3
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
c4545683.lua
View file @
c4e6009e
...
@@ -100,7 +100,7 @@ function c4545683.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -100,7 +100,7 @@ function c4545683.eqop(e,tp,eg,ep,ev,re,r,rp)
--Add Equip limit
--Add Equip limit
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c4545683
.
eqlimit
)
e1
:
SetValue
(
c4545683
.
eqlimit
)
...
...
c4837861.lua
View file @
c4e6009e
...
@@ -86,7 +86,7 @@ function c4837861.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -86,7 +86,7 @@ function c4837861.eqop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c4837861
.
eqlimit
)
e1
:
SetValue
(
c4837861
.
eqlimit
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
...
...
c50140163.lua
View file @
c4e6009e
...
@@ -70,7 +70,7 @@ function c50140163.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -70,7 +70,7 @@ function c50140163.eqop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterFlagEffect
(
FLAG_ID_ALLURE_QUEEN
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
0
,
id
)
tc
:
RegisterFlagEffect
(
FLAG_ID_ALLURE_QUEEN
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
0
,
id
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c50140163
.
eqlimit
)
e1
:
SetValue
(
c50140163
.
eqlimit
)
...
...
c53184342.lua
View file @
c4e6009e
...
@@ -129,7 +129,7 @@ function c53184342.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -129,7 +129,7 @@ function c53184342.eqop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c53184342
.
eqlimit
)
e1
:
SetValue
(
c53184342
.
eqlimit
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
...
...
c57784563.lua
View file @
c4e6009e
...
@@ -53,7 +53,7 @@ function c57784563.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -53,7 +53,7 @@ function c57784563.eqop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c57784563
.
eqlimit
)
e1
:
SetValue
(
c57784563
.
eqlimit
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
...
...
c59784896.lua
View file @
c4e6009e
...
@@ -27,7 +27,7 @@ function c59784896.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -27,7 +27,7 @@ function c59784896.operation(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_COPY_INHERIT
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
...
...
c6075801.lua
View file @
c4e6009e
...
@@ -53,7 +53,7 @@ function c6075801.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -53,7 +53,7 @@ function c6075801.eqop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c6075801
.
eqlimit
)
e1
:
SetValue
(
c6075801
.
eqlimit
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
...
...
c61538782.lua
View file @
c4e6009e
...
@@ -35,7 +35,7 @@ function c61538782.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -35,7 +35,7 @@ function c61538782.eqop(e,tp,eg,ep,ev,re,r,rp)
--Add Equip limit
--Add Equip limit
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c61538782
.
eqlimit
)
e1
:
SetValue
(
c61538782
.
eqlimit
)
...
...
c63465535.lua
View file @
c4e6009e
...
@@ -73,7 +73,7 @@ function c63465535.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -73,7 +73,7 @@ function c63465535.eqop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c63465535
.
eqlimit
)
e1
:
SetValue
(
c63465535
.
eqlimit
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
...
...
c63633694.lua
View file @
c4e6009e
...
@@ -78,7 +78,7 @@ function c63633694.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -78,7 +78,7 @@ function c63633694.eqop(e,tp,eg,ep,ev,re,r,rp)
e
:
SetLabelObject
(
tc
)
e
:
SetLabelObject
(
tc
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c63633694
.
eqlimit
)
e1
:
SetValue
(
c63633694
.
eqlimit
)
...
...
c66094973.lua
View file @
c4e6009e
...
@@ -67,7 +67,7 @@ function c66094973.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -67,7 +67,7 @@ function c66094973.eqop(e,tp,eg,ep,ev,re,r,rp)
e
:
SetLabelObject
(
tc
)
e
:
SetLabelObject
(
tc
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c66094973
.
eqlimit
)
e1
:
SetValue
(
c66094973
.
eqlimit
)
...
...
c66707058.lua
View file @
c4e6009e
...
@@ -27,7 +27,7 @@ function c66707058.posop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -27,7 +27,7 @@ function c66707058.posop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_COPY_INHERIT
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
3
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
3
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
c68140974.lua
View file @
c4e6009e
...
@@ -99,7 +99,7 @@ function c68140974.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -99,7 +99,7 @@ function c68140974.eqop(e,tp,eg,ep,ev,re,r,rp)
--Add Equip limit
--Add Equip limit
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c68140974
.
eqlimit
)
e1
:
SetValue
(
c68140974
.
eqlimit
)
...
...
c68184115.lua
View file @
c4e6009e
...
@@ -48,7 +48,7 @@ function c68184115.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -48,7 +48,7 @@ function c68184115.eqop(e,tp,eg,ep,ev,re,r,rp)
if
tc
then
if
tc
then
if
not
Duel
.
Equip
(
tp
,
tc
,
c
)
then
return
end
if
not
Duel
.
Equip
(
tp
,
tc
,
c
)
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
...
...
c69207766.lua
View file @
c4e6009e
...
@@ -57,7 +57,7 @@ function c69207766.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -57,7 +57,7 @@ function c69207766.eqop(e,tp,eg,ep,ev,re,r,rp)
if
tc
then
if
tc
then
if
not
Duel
.
Equip
(
tp
,
tc
,
c
)
then
return
end
if
not
Duel
.
Equip
(
tp
,
tc
,
c
)
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
...
...
c69831560.lua
View file @
c4e6009e
...
@@ -116,7 +116,7 @@ function c69831560.posop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -116,7 +116,7 @@ function c69831560.posop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_COPY_INHERIT
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
2
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
2
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
...
...
c73698349.lua
View file @
c4e6009e
...
@@ -22,7 +22,7 @@ function c73698349.posop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -22,7 +22,7 @@ function c73698349.posop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_COPY_INHERIT
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
3
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
3
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
c77693536.lua
View file @
c4e6009e
...
@@ -67,7 +67,7 @@ function c77693536.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -67,7 +67,7 @@ function c77693536.eqop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e2
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e2
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e2
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e2
:
SetValue
(
c77693536
.
eqlimit
)
e2
:
SetValue
(
c77693536
.
eqlimit
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
...
...
c78658564.lua
View file @
c4e6009e
...
@@ -22,7 +22,7 @@ function c78658564.posop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -22,7 +22,7 @@ function c78658564.posop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_COPY_INHERIT
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
3
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
3
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
c80885324.lua
View file @
c4e6009e
...
@@ -47,7 +47,7 @@ function c80885324.posop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,7 +47,7 @@ function c80885324.posop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_COPY_INHERIT
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
3
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
3
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
c82324312.lua
View file @
c4e6009e
...
@@ -44,7 +44,7 @@ function c82324312.posop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -44,7 +44,7 @@ function c82324312.posop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_COPY_INHERIT
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
3
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
3
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
c83965310.lua
View file @
c4e6009e
...
@@ -92,7 +92,7 @@ function c83965310.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -92,7 +92,7 @@ function c83965310.eqop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterFlagEffect
(
83965310
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
0
)
tc
:
RegisterFlagEffect
(
83965310
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
0
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c83965310
.
eqlimit
)
e1
:
SetValue
(
c83965310
.
eqlimit
)
...
...
c84173492.lua
View file @
c4e6009e
...
@@ -22,7 +22,7 @@ function c84173492.posop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -22,7 +22,7 @@ function c84173492.posop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_COPY_INHERIT
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
3
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
3
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
c84769941.lua
View file @
c4e6009e
...
@@ -63,7 +63,7 @@ function c84769941.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -63,7 +63,7 @@ function c84769941.eqop(e,tp,eg,ep,ev,re,r,rp)
if
not
Duel
.
Equip
(
tp
,
tc
,
c
)
then
return
end
if
not
Duel
.
Equip
(
tp
,
tc
,
c
)
then
return
end
tc
:
RegisterFlagEffect
(
84769941
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
0
)
tc
:
RegisterFlagEffect
(
84769941
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
0
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
...
...
c85306040.lua
View file @
c4e6009e
...
@@ -22,7 +22,7 @@ function c85306040.posop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -22,7 +22,7 @@ function c85306040.posop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_COPY_INHERIT
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
3
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
3
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
c85545073.lua
View file @
c4e6009e
...
@@ -35,7 +35,7 @@ function c85545073.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -35,7 +35,7 @@ function c85545073.eqop(e,tp,eg,ep,ev,re,r,rp)
if
not
Duel
.
Equip
(
tp
,
tc
,
c
,
false
)
then
return
end
if
not
Duel
.
Equip
(
tp
,
tc
,
c
,
false
)
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c85545073
.
eqlimit
)
e1
:
SetValue
(
c85545073
.
eqlimit
)
...
...
c87257460.lua
View file @
c4e6009e
...
@@ -65,7 +65,7 @@ function c87257460.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -65,7 +65,7 @@ function c87257460.eqop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterFlagEffect
(
FLAG_ID_ALLURE_QUEEN
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
0
,
id
)
tc
:
RegisterFlagEffect
(
FLAG_ID_ALLURE_QUEEN
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
0
,
id
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c87257460
.
eqlimit
)
e1
:
SetValue
(
c87257460
.
eqlimit
)
...
...
c92868896.lua
View file @
c4e6009e
...
@@ -47,7 +47,7 @@ function c92868896.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,7 +47,7 @@ function c92868896.eqop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Equip
(
tp
,
g
:
GetFirst
(),
c
)
Duel
.
Equip
(
tp
,
g
:
GetFirst
(),
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c92868896
.
eqlimit
)
e1
:
SetValue
(
c92868896
.
eqlimit
)
...
...
c93157004.lua
View file @
c4e6009e
...
@@ -79,7 +79,7 @@ function c93157004.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -79,7 +79,7 @@ function c93157004.eqop(e,tp,eg,ep,ev,re,r,rp)
if
not
Duel
.
Equip
(
tp
,
tc
,
c
)
then
return
end
if
not
Duel
.
Equip
(
tp
,
tc
,
c
)
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c93157004
.
eqlimit
)
e1
:
SetValue
(
c93157004
.
eqlimit
)
...
...
c95090813.lua
View file @
c4e6009e
...
@@ -82,7 +82,7 @@ function c95090813.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -82,7 +82,7 @@ function c95090813.eqop(e,tp,eg,ep,ev,re,r,rp)
if
not
Duel
.
Equip
(
tp
,
tc
,
c
,
false
)
then
return
end
if
not
Duel
.
Equip
(
tp
,
tc
,
c
,
false
)
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c95090813
.
eqlimit
)
e1
:
SetValue
(
c95090813
.
eqlimit
)
...
...
c95395761.lua
View file @
c4e6009e
...
@@ -53,7 +53,7 @@ function c95395761.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -53,7 +53,7 @@ function c95395761.eqop(e,tp,eg,ep,ev,re,r,rp)
if
tc
then
if
tc
then
if
not
Duel
.
Equip
(
tp
,
tc
,
c
)
then
return
end
if
not
Duel
.
Equip
(
tp
,
tc
,
c
)
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
...
...
c95911373.lua
View file @
c4e6009e
...
@@ -57,7 +57,7 @@ function c95911373.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -57,7 +57,7 @@ function c95911373.eqop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Equip
(
tp
,
g
:
GetFirst
(),
c
)
Duel
.
Equip
(
tp
,
g
:
GetFirst
(),
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c95911373
.
eqlimit
)
e1
:
SetValue
(
c95911373
.
eqlimit
)
...
...
c97864322.lua
View file @
c4e6009e
...
@@ -71,7 +71,7 @@ function s.copyop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -71,7 +71,7 @@ function s.copyop(e,tp,eg,ep,ev,re,r,rp)
e
:
SetLabelObject
(
tc
)
e
:
SetLabelObject
(
tc
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_
COPY_INHERIT
+
EFFECT_FLAG_
OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetValue
(
s
.
eqlimit
)
e1
:
SetValue
(
s
.
eqlimit
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
...
...
constant.lua
View file @
c4e6009e
...
@@ -317,7 +317,7 @@ EFFECT_FLAG_CAN_FORBIDDEN =0x0200 --可被禁止令停止適用的效果(與E
...
@@ -317,7 +317,7 @@ EFFECT_FLAG_CAN_FORBIDDEN =0x0200 --可被禁止令停止適用的效果(與E
EFFECT_FLAG_CANNOT_DISABLE
=
0x0400
--效果不会被无效
EFFECT_FLAG_CANNOT_DISABLE
=
0x0400
--效果不会被无效
EFFECT_FLAG_PLAYER_TARGET
=
0x0800
--含有"以玩家为对象"的特性(精靈之鏡)、影響玩家的永續型效果(SetTargetRange()改成指定玩家)
EFFECT_FLAG_PLAYER_TARGET
=
0x0800
--含有"以玩家为对象"的特性(精靈之鏡)、影響玩家的永續型效果(SetTargetRange()改成指定玩家)
EFFECT_FLAG_BOTH_SIDE
=
0x1000
--双方都能使用(部分场地,弹压)
EFFECT_FLAG_BOTH_SIDE
=
0x1000
--双方都能使用(部分场地,弹压)
EFFECT_FLAG_COPY_INHERIT
=
0x2000
--
若由复制的效果產生則继承其Reset属性
EFFECT_FLAG_COPY_INHERIT
=
0x2000
--
N/A
EFFECT_FLAG_DAMAGE_STEP
=
0x4000
--可以在伤害步骤发动
EFFECT_FLAG_DAMAGE_STEP
=
0x4000
--可以在伤害步骤发动
EFFECT_FLAG_DAMAGE_CAL
=
0x8000
--可以在伤害计算时发动
EFFECT_FLAG_DAMAGE_CAL
=
0x8000
--可以在伤害计算时发动
EFFECT_FLAG_DELAY
=
0x10000
--場合型誘發效果、用於永續效果的EFFECT_TYPE_CONTINUOUS
EFFECT_FLAG_DELAY
=
0x10000
--場合型誘發效果、用於永續效果的EFFECT_TYPE_CONTINUOUS
...
...
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