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
f6c6ebdb
Commit
f6c6ebdb
authored
May 23, 2016
by
dest
Committed by
DailyShana
May 23, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update Horakhty (#420)
parent
02f86c5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
c10000040.lua
c10000040.lua
+13
-2
No files found.
c10000040.lua
View file @
f6c6ebdb
...
@@ -22,6 +22,14 @@ function c10000040.initial_effect(c)
...
@@ -22,6 +22,14 @@ function c10000040.initial_effect(c)
e3
:
SetCode
(
EFFECT_CANNOT_DISABLE_SPSUMMON
)
e3
:
SetCode
(
EFFECT_CANNOT_DISABLE_SPSUMMON
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--win
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
+
EFFECT_FLAG_DELAY
)
e4
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetOperation
(
c10000040
.
winop
)
c
:
RegisterEffect
(
e4
)
end
end
function
c10000040
.
spfilter
(
c
,
code
)
function
c10000040
.
spfilter
(
c
,
code
)
local
code1
,
code2
=
c
:
GetOriginalCodeRule
()
local
code1
,
code2
=
c
:
GetOriginalCodeRule
()
...
@@ -42,6 +50,9 @@ function c10000040.spop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -42,6 +50,9 @@ function c10000040.spop(e,tp,eg,ep,ev,re,r,rp,c)
g1
:
Merge
(
g2
)
g1
:
Merge
(
g2
)
g1
:
Merge
(
g3
)
g1
:
Merge
(
g3
)
Duel
.
Release
(
g1
,
REASON_COST
)
Duel
.
Release
(
g1
,
REASON_COST
)
local
WIN_REASON_CREATORGOD
=
0x13
end
Duel
.
Win
(
tp
,
WIN_REASON_CREATORGOD
)
function
c10000040
.
winop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
WIN_REASON_CREATORGOD
=
0x13
local
p
=
e
:
GetHandler
():
GetSummonPlayer
()
Duel
.
Win
(
p
,
WIN_REASON_CREATORGOD
)
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