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
eabec4ad
Commit
eabec4ad
authored
Dec 16, 2023
by
GuGu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c86379805.lua 测试用
parent
6b20c22e
Pipeline
#24401
passed with stage
in 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
21 deletions
+13
-21
script/c86379805.lua
script/c86379805.lua
+13
-21
No files found.
script/c86379805.lua
View file @
eabec4ad
...
...
@@ -143,7 +143,6 @@ function c86379805.sop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
+
EFFECT_FLAG_IGNORE_RANGE
)
e2
:
SetCode
(
EFFECT_FORBIDDEN
)
e2
:
SetTargetRange
(
0xff
,
0xff
)
--e2:SetCondition(c86379805.bancon)
e2
:
SetTarget
(
c86379805
.
bantg
)
e2
:
SetLabelObject
(
tc
)
Duel
.
RegisterEffect
(
e2
,
tp
)
...
...
@@ -155,7 +154,7 @@ function c86379805.sop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetOperation
(
c86379805
.
adjustcon
)
e3
:
SetOperation
(
c86379805
.
adjustop
)
e3
:
SetLabelObject
(
e2
)
Duel
.
RegisterEffect
(
e3
,
tp
)
--
Duel.RegisterEffect(e3,tp)
--[[local e10=Effect.CreateEffect(c)
e10:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e10:SetCode(EVENT_PHASE+PHASE_END)
...
...
@@ -169,18 +168,18 @@ function c86379805.sop(e,tp,eg,ep,ev,re,r,rp)
end
end
--cannot spsum
local
e
1
=
Effect
.
CreateEffect
(
c
)
e
1
:
SetType
(
EFFECT_TYPE_FIELD
)
e
1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e
1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e
1
:
SetTargetRange
(
0
,
1
)
e
1
:
SetTarget
(
c86379805
.
splimit
)
e
1
:
SetLabel
(
tc
:
GetCode
())
e
1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e
1
,
tp
)
local
e
2
=
e1
:
Clone
()
e
2
:
SetCode
(
EFFECT_CANNOT_SUMMON
)
Duel
.
RegisterEffect
(
e
2
,
tp
)
local
e
4
=
Effect
.
CreateEffect
(
c
)
e
4
:
SetType
(
EFFECT_TYPE_FIELD
)
e
4
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e
4
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e
4
:
SetTargetRange
(
0
,
1
)
e
4
:
SetTarget
(
c86379805
.
splimit
)
e
4
:
SetLabel
(
tc
:
GetCode
())
e
4
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e
4
,
tp
)
local
e
5
=
e4
:
Clone
()
e
5
:
SetCode
(
EFFECT_CANNOT_SUMMON
)
Duel
.
RegisterEffect
(
e
5
,
tp
)
--
end
end
...
...
@@ -196,13 +195,6 @@ 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
.
banfilter2
(
c
,
tc
)
return
c
==
tc
and
c
:
IsPublic
()
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