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
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
Commits
e81b5d13
Commit
e81b5d13
authored
Oct 19, 2017
by
nekrozar
Committed by
DailyShana
Oct 19, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Invoked Caliga (#958)
parent
222656c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
17 deletions
+0
-17
c13529466.lua
c13529466.lua
+0
-17
No files found.
c13529466.lua
View file @
e81b5d13
...
@@ -10,12 +10,6 @@ function c13529466.initial_effect(c)
...
@@ -10,12 +10,6 @@ function c13529466.initial_effect(c)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetOperation
(
c13529466
.
aclimit1
)
e1
:
SetOperation
(
c13529466
.
aclimit1
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EVENT_CHAIN_NEGATED
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetOperation
(
c13529466
.
aclimit2
)
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
@@ -28,9 +22,6 @@ function c13529466.initial_effect(c)
...
@@ -28,9 +22,6 @@ function c13529466.initial_effect(c)
local
e4
=
e1
:
Clone
()
local
e4
=
e1
:
Clone
()
e4
:
SetOperation
(
c13529466
.
aclimit3
)
e4
:
SetOperation
(
c13529466
.
aclimit3
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
local
e5
=
e2
:
Clone
()
e5
:
SetOperation
(
c13529466
.
aclimit4
)
c
:
RegisterEffect
(
e5
)
local
e6
=
e3
:
Clone
()
local
e6
=
e3
:
Clone
()
e6
:
SetCondition
(
c13529466
.
econ2
)
e6
:
SetCondition
(
c13529466
.
econ2
)
e6
:
SetTargetRange
(
0
,
1
)
e6
:
SetTargetRange
(
0
,
1
)
...
@@ -58,10 +49,6 @@ function c13529466.aclimit1(e,tp,eg,ep,ev,re,r,rp)
...
@@ -58,10 +49,6 @@ function c13529466.aclimit1(e,tp,eg,ep,ev,re,r,rp)
if
ep
~=
tp
or
not
re
:
IsActiveType
(
TYPE_MONSTER
)
then
return
end
if
ep
~=
tp
or
not
re
:
IsActiveType
(
TYPE_MONSTER
)
then
return
end
e
:
GetHandler
():
RegisterFlagEffect
(
13529466
,
RESET_EVENT
+
0x3ff0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
e
:
GetHandler
():
RegisterFlagEffect
(
13529466
,
RESET_EVENT
+
0x3ff0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
c13529466
.
aclimit2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
ep
~=
tp
or
not
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
return
end
e
:
GetHandler
():
ResetFlagEffect
(
13529466
)
end
function
c13529466
.
econ1
(
e
)
function
c13529466
.
econ1
(
e
)
return
e
:
GetHandler
():
GetFlagEffect
(
13529466
)
~=
0
return
e
:
GetHandler
():
GetFlagEffect
(
13529466
)
~=
0
end
end
...
@@ -69,10 +56,6 @@ function c13529466.aclimit3(e,tp,eg,ep,ev,re,r,rp)
...
@@ -69,10 +56,6 @@ function c13529466.aclimit3(e,tp,eg,ep,ev,re,r,rp)
if
ep
==
tp
or
not
re
:
IsActiveType
(
TYPE_MONSTER
)
then
return
end
if
ep
==
tp
or
not
re
:
IsActiveType
(
TYPE_MONSTER
)
then
return
end
e
:
GetHandler
():
RegisterFlagEffect
(
13529467
,
RESET_EVENT
+
0x3ff0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
e
:
GetHandler
():
RegisterFlagEffect
(
13529467
,
RESET_EVENT
+
0x3ff0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
c13529466
.
aclimit4
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
ep
==
tp
or
not
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
return
end
e
:
GetHandler
():
ResetFlagEffect
(
13529467
)
end
function
c13529466
.
econ2
(
e
)
function
c13529466
.
econ2
(
e
)
return
e
:
GetHandler
():
GetFlagEffect
(
13529467
)
~=
0
return
e
:
GetHandler
():
GetFlagEffect
(
13529467
)
~=
0
end
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