Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
Commits
fc1a2092
Commit
fc1a2092
authored
Feb 05, 2015
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
end_phase destroy
parent
05427e08
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
51 additions
and
17 deletions
+51
-17
script/c1845204.lua
script/c1845204.lua
+16
-5
script/c22993208.lua
script/c22993208.lua
+17
-6
script/c27971137.lua
script/c27971137.lua
+1
-0
script/c65450690.lua
script/c65450690.lua
+17
-6
No files found.
script/c1845204.lua
View file @
fc1a2092
...
@@ -36,18 +36,29 @@ function c1845204.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -36,18 +36,29 @@ function c1845204.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
tc
:
RegisterEffect
(
e1
,
true
)
tc
:
RegisterEffect
(
e1
,
true
)
tc
:
RegisterFlagEffect
(
1845204
,
RESET_EVENT
+
0x1fe0000
,
0
,
1
)
tc
:
CompleteProcedure
()
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e2
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e2
:
SetLabelObject
(
tc
)
e2
:
SetCondition
(
c1845204
.
descon
)
e2
:
SetOperation
(
c1845204
.
desop
)
e2
:
SetOperation
(
c1845204
.
desop
)
tc
:
RegisterEffect
(
e2
,
true
)
Duel
.
RegisterEffect
(
e2
,
tp
)
tc
:
CompleteProcedure
()
end
end
function
c1845204
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
if
tc
:
GetFlagEffect
(
1845204
)
~=
0
then
return
true
else
e
:
Reset
()
return
false
end
end
end
end
function
c1845204
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c1845204
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_EFFECT
)
local
tc
=
e
:
GetLabelObject
()
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
end
script/c22993208.lua
View file @
fc1a2092
...
@@ -42,18 +42,29 @@ function c22993208.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -42,18 +42,29 @@ function c22993208.activate(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
tc
:
RegisterEffect
(
e2
,
true
)
tc
:
RegisterEffect
(
e2
,
true
)
tc
:
RegisterFlagEffect
(
22993208
,
RESET_EVENT
+
0x1fe0000
,
0
,
1
)
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e3
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e3
:
SetOperation
(
c22993208
.
desop
)
e3
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCountLimit
(
1
)
tc
:
RegisterEffect
(
e3
,
true
)
e3
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e3
:
SetLabelObject
(
tc
)
e3
:
SetCondition
(
c22993208
.
descon
)
e3
:
SetOperation
(
c22993208
.
desop
)
Duel
.
RegisterEffect
(
e3
,
tp
)
end
end
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
end
end
function
c22993208
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
if
tc
:
GetFlagEffect
(
22993208
)
~=
0
then
return
true
else
e
:
Reset
()
return
false
end
end
function
c22993208
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c22993208
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_EFFECT
)
local
tc
=
e
:
GetLabelObject
()
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
end
script/c27971137.lua
View file @
fc1a2092
...
@@ -61,6 +61,7 @@ function c27971137.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -61,6 +61,7 @@ function c27971137.spop(e,tp,eg,ep,ev,re,r,rp)
de
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
de
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
de
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
de
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
de
:
SetCountLimit
(
1
)
de
:
SetCountLimit
(
1
)
de
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
de
:
SetLabelObject
(
tc
)
de
:
SetLabelObject
(
tc
)
de
:
SetCondition
(
c27971137
.
descon
)
de
:
SetCondition
(
c27971137
.
descon
)
de
:
SetOperation
(
c27971137
.
desop
)
de
:
SetOperation
(
c27971137
.
desop
)
...
...
script/c65450690.lua
View file @
fc1a2092
...
@@ -36,17 +36,28 @@ function c65450690.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -36,17 +36,28 @@ function c65450690.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
tc
:
RegisterEffect
(
e1
,
true
)
tc
:
RegisterEffect
(
e1
,
true
)
tc
:
RegisterFlagEffect
(
65450690
,
RESET_EVENT
+
0x1fe0000
,
0
,
1
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e2
:
SetOperation
(
c65450690
.
desop
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
)
tc
:
RegisterEffect
(
e2
,
true
)
e2
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e2
:
SetLabelObject
(
tc
)
e2
:
SetCondition
(
c65450690
.
descon
)
e2
:
SetOperation
(
c65450690
.
desop
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
end
function
c65450690
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
if
tc
:
GetFlagEffect
(
65450690
)
~=
0
then
return
true
else
e
:
Reset
()
return
false
end
end
end
end
function
c65450690
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c65450690
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Destroy
(
e
:
GetHandler
(),
nil
,
REASON_EFFECT
)
local
tc
=
e
:
GetLabelObject
()
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
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