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
6d811ceb
Commit
6d811ceb
authored
Feb 06, 2022
by
Chrono-Genex
Committed by
GitHub
Feb 06, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Corridor of Agony (#1810)
parent
c4408033
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
5 deletions
+14
-5
c26257572.lua
c26257572.lua
+14
-5
No files found.
c26257572.lua
View file @
6d811ceb
...
...
@@ -8,18 +8,27 @@ function c26257572.initial_effect(c)
--disable
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_CANNOT_TRIGGER
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e2
:
Set
Target
(
c26257572
.
targe
t
)
e2
:
SetTargetRange
(
1
,
1
)
e2
:
Set
Value
(
c26257572
.
actlimi
t
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_DISABLE
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e3
:
SetTarget
(
c26257572
.
target
)
c
:
RegisterEffect
(
e3
)
local
e4
=
e
2
:
Clone
()
local
e4
=
e
3
:
Clone
()
e4
:
SetCode
(
EFFECT_CANNOT_ATTACK_ANNOUNCE
)
c
:
RegisterEffect
(
e4
)
end
function
c26257572
.
actlimit
(
e
,
re
,
rp
)
local
rc
=
re
:
GetHandler
()
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
rc
:
IsOnField
()
and
rc
:
IsSummonLocation
(
LOCATION_DECK
)
end
function
c26257572
.
target
(
e
,
c
)
return
c
:
IsSummonLocation
(
LOCATION_DECK
)
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