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
86165097
Commit
86165097
authored
Sep 26, 2018
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
47adef36
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
c23002292.lua
c23002292.lua
+1
-1
c37414347.lua
c37414347.lua
+1
-2
No files found.
c23002292.lua
View file @
86165097
...
@@ -35,7 +35,7 @@ function c23002292.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -35,7 +35,7 @@ function c23002292.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c23002292
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c23002292
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
rc
=
re
:
GetHandler
()
local
rc
=
re
:
GetHandler
()
if
Duel
.
NegateActivation
(
ev
)
and
rc
:
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
rc
:
IsRelateToEffect
(
re
)
and
rc
:
IsCanTurnSet
()
then
rc
:
CancelToGrave
()
rc
:
CancelToGrave
()
Duel
.
ChangePosition
(
rc
,
POS_FACEDOWN
)
Duel
.
ChangePosition
(
rc
,
POS_FACEDOWN
)
Duel
.
RaiseEvent
(
rc
,
EVENT_SSET
,
e
,
REASON_EFFECT
,
tp
,
tp
,
0
)
Duel
.
RaiseEvent
(
rc
,
EVENT_SSET
,
e
,
REASON_EFFECT
,
tp
,
tp
,
0
)
...
...
c37414347.lua
View file @
86165097
...
@@ -25,7 +25,7 @@ function c37414347.initial_effect(c)
...
@@ -25,7 +25,7 @@ function c37414347.initial_effect(c)
--counter
--counter
local
e0
=
Effect
.
CreateEffect
(
c
)
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e0
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e0
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e0
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e0
:
SetCode
(
EVENT_CHAINING
)
e0
:
SetCode
(
EVENT_CHAINING
)
e0
:
SetRange
(
LOCATION_MZONE
)
e0
:
SetRange
(
LOCATION_MZONE
)
e0
:
SetOperation
(
aux
.
chainreg
)
e0
:
SetOperation
(
aux
.
chainreg
)
...
@@ -34,7 +34,6 @@ function c37414347.initial_effect(c)
...
@@ -34,7 +34,6 @@ function c37414347.initial_effect(c)
e4
:
SetDescription
(
aux
.
Stringid
(
37414347
,
0
))
e4
:
SetDescription
(
aux
.
Stringid
(
37414347
,
0
))
e4
:
SetCategory
(
CATEGORY_COUNTER
)
e4
:
SetCategory
(
CATEGORY_COUNTER
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e4
:
SetCode
(
EVENT_CHAIN_SOLVING
)
e4
:
SetCode
(
EVENT_CHAIN_SOLVING
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCondition
(
c37414347
.
ctcon
)
e4
:
SetCondition
(
c37414347
.
ctcon
)
...
...
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