Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-cards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
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
HiiragiGuardians
ygopro-THC-cards
Commits
5e506d1c
Commit
5e506d1c
authored
May 31, 2023
by
GuGu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c86379805.lua 不能使用相关效果椿务局调整
parent
2d338c5e
Pipeline
#22034
passed with stage
in 1 minute and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
28 deletions
+23
-28
script/c86379805.lua
script/c86379805.lua
+23
-28
No files found.
script/c86379805.lua
View file @
5e506d1c
...
...
@@ -137,34 +137,15 @@ function c86379805.sop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EFFECT_PUBLIC
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_CANNOT_SUMMON
)
tc
:
RegisterEffect
(
e2
)
local
e3
=
e1
:
Clone
()
e3
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
tc
:
RegisterEffect
(
e3
)
local
e4
=
e1
:
Clone
()
e4
:
SetCode
(
EFFECT_CANNOT_TRIGGER
)
tc
:
RegisterEffect
(
e4
)
local
e5
=
e1
:
Clone
()
e5
:
SetCode
(
EFFECT_DISABLE
)
tc
:
RegisterEffect
(
e5
)
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
)
e6
:
SetCode
(
EFFECT_CANNOT_BE_FUSION_MATERIAL
)
e6
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e6
:
SetValue
(
1
)
e6
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
tc
:
RegisterEffect
(
e6
)
local
e7
=
e6
:
Clone
()
e7
:
SetCode
(
EFFECT_CANNOT_BE_XYZ_MATERIAL
)
tc
:
RegisterEffect
(
e7
)
local
e8
=
e6
:
Clone
()
e8
:
SetCode
(
EFFECT_CANNOT_BE_SYNCHRO_MATERIAL
)
tc
:
RegisterEffect
(
e8
)
local
e9
=
e6
:
Clone
()
e9
:
SetCode
(
EFFECT_CANNOT_BE_LINK_MATERIAL
)
tc
:
RegisterEffect
(
e9
)
--forbidden
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
+
EFFECT_FLAG_IGNORE_RANGE
)
e2
:
SetCode
(
EFFECT_FORBIDDEN
)
e2
:
SetCondition
(
c86379805
.
bancon
)
e2
:
SetTarget
(
c86379805
.
bantg
)
e2
:
SetLabelObject
(
tc
)
Duel
.
RegisterEffect
(
e2
,
tp
)
--[[local e10=Effect.CreateEffect(c)
e10:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e10:SetCode(EVENT_PHASE+PHASE_END)
...
...
@@ -201,6 +182,20 @@ function c86379805.rmop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoDeck
(
e
:
GetHandler
(),
nil
,
2
,
REASON_EFFECT
)
end
end
function
c86379805
.
banfilter
(
c
,
e
)
return
c
==
e
:
GetLabelObject
()
and
c
:
IsPublic
()
end
function
c86379805
.
bancon
(
e
)
local
tp
=
e
:
GetHandlerPlayer
()
local
tc
=
e
:
GetLabelObject
()
if
Duel
.
IsExistingMatchingCard
(
c86379805
.
banfilter
,
tp
,
LOCATION_HAND
,
LOCATION_HAND
,
1
,
nil
,
e
)
then
return
true
end
e
:
Reset
()
return
false
end
function
c86379805
.
bantg
(
e
,
c
)
return
c
==
e
:
GetLabelObject
()
end
function
c86379805
.
splimit
(
e
,
c
)
local
tc
=
e
:
GetLabel
()
return
c
:
IsCode
(
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