Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
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
八宫一月
ygopro-scripts
Commits
f03aaed5
Commit
f03aaed5
authored
Aug 13, 2018
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert and fix
parent
55ab9d7d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
5 deletions
+1
-5
c20426907.lua
c20426907.lua
+0
-2
c5851097.lua
c5851097.lua
+1
-2
constant.lua
constant.lua
+0
-1
No files found.
c20426907.lua
View file @
f03aaed5
...
...
@@ -12,7 +12,6 @@ function c20426907.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_DISABLE
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e2
:
SetProperty
(
EFFECT_FLAG_NO_CTEFFECT
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTarget
(
c20426907
.
distg1
)
e2
:
SetOperation
(
c20426907
.
disop1
)
...
...
@@ -24,7 +23,6 @@ function c20426907.initial_effect(c)
e4
:
SetCategory
(
CATEGORY_DISABLE
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e4
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e4
:
SetProperty
(
EFFECT_FLAG_NO_CTEFFECT
)
e4
:
SetRange
(
LOCATION_SZONE
)
e4
:
SetTarget
(
c20426907
.
distg2
)
e4
:
SetOperation
(
c20426907
.
disop2
)
...
...
c5851097.lua
View file @
f03aaed5
...
...
@@ -20,7 +20,6 @@ function c5851097.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetProperty
(
EFFECT_FLAG_NO_CTEFFECT
)
e3
:
SetCondition
(
c5851097
.
descon
)
e3
:
SetTarget
(
c5851097
.
destg
)
e3
:
SetOperation
(
c5851097
.
desop
)
...
...
@@ -30,7 +29,7 @@ function c5851097.filter(c,tp)
return
c
:
IsPreviousLocation
(
LOCATION_DECK
+
LOCATION_ONFIELD
)
and
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsControler
(
tp
)
end
function
c5851097
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c5851097
.
filter
,
1
,
nil
,
tp
)
return
eg
:
IsExists
(
c5851097
.
filter
,
1
,
nil
,
tp
)
and
e
:
GetHandler
():
IsStatus
(
STATUS_EFFECT_ENABLED
)
end
function
c5851097
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
constant.lua
View file @
f03aaed5
...
...
@@ -283,7 +283,6 @@ EFFECT_FLAG_OWNER_RELATE =0x1000000 --持續成為對象
EFFECT_FLAG_AVAILABLE_BD
=
0x2000000
--战斗破坏确定时效果也适用(纳祭之魔 地狱战士)
EFFECT_FLAG_CLIENT_HINT
=
0x4000000
--客户端提示
EFFECT_FLAG_CHAIN_UNIQUE
=
0x8000000
--N/A
EFFECT_FLAG_NO_CTEFFECT
=
0x8000000
--不能在魔法陷阱发动之后立即适用(虚无空间)
EFFECT_FLAG_NAGA
=
0x10000000
--N/A
EFFECT_FLAG_COF
=
0x20000000
--N/A
EFFECT_FLAG_CVAL_CHECK
=
0x40000000
--N/A
...
...
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