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
2b4a4d44
Commit
2b4a4d44
authored
Nov 19, 2015
by
Tianchenglipu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c42880485.lua
parent
8c4b3ad0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
49 deletions
+44
-49
c42880485.lua
c42880485.lua
+44
-49
No files found.
c42880485.lua
View file @
2b4a4d44
--超重輝将ヒス-E
--超重輝将ヒス-E
function
c42880485
.
initial_effect
(
c
)
function
c42880485
.
initial_effect
(
c
)
--pendulum summon
--pendulum summon
aux
.
AddPendulumProcedur
e
(
c
)
aux
.
EnablePendulumAttribut
e
(
c
)
--
Activate
--
splimit
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetCondition
(
c42880485
.
splimcon
)
e1
:
SetTarget
(
c42880485
.
splimit
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--
splimit
--
level
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_
FIELD
)
e2
:
SetType
(
EFFECT_TYPE_
IGNITION
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTarget
(
c42880485
.
lvtg
)
e2
:
SetCondition
(
c42880485
.
splimcon
)
e2
:
SetOperation
(
c42880485
.
lvop
)
e2
:
SetTarget
(
c42880485
.
splimit
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--
level
--
pos
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
Set
Type
(
EFFECT_TYPE_IGN
ITION
)
e3
:
Set
Category
(
CATEGORY_POS
ITION
)
e3
:
Set
Range
(
LOCATION_PZONE
)
e3
:
Set
Type
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
Set
Property
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
Set
Code
(
EVENT_SUMMON_SUCCESS
)
e3
:
Set
CountLimit
(
1
)
e3
:
Set
Property
(
EFFECT_FLAG_DAMAGE_STEP
)
e3
:
SetTarget
(
c42880485
.
lv
tg
)
e3
:
SetTarget
(
c42880485
.
pos
tg
)
e3
:
SetOperation
(
c42880485
.
lv
op
)
e3
:
SetOperation
(
c42880485
.
pos
op
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--pos
local
e4
=
e3
:
Clone
()
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e4
:
SetCategory
(
CATEGORY_POSITION
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e4
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e4
:
SetTarget
(
c42880485
.
postg
)
e4
:
SetOperation
(
c42880485
.
posop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
local
e5
=
e4
:
Clone
()
e5
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e5
)
--normal summon with 1 tribute
--normal summon with 1 tribute
local
e6
=
Effect
.
CreateEffect
(
c
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e6
:
SetDescription
(
aux
.
Stringid
(
42880485
,
0
))
e5
:
SetDescription
(
aux
.
Stringid
(
42880485
,
0
))
e6
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e5
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
)
e6
:
SetCode
(
EFFECT_SUMMON_PROC
)
e5
:
SetCode
(
EFFECT_SUMMON_PROC
)
e6
:
SetCondition
(
c42880485
.
otcon
)
e5
:
SetCondition
(
c42880485
.
otcon
)
e6
:
SetOperation
(
c42880485
.
otop
)
e5
:
SetOperation
(
c42880485
.
otop
)
e6
:
SetValue
(
SUMMON_TYPE_ADVANCE
)
e5
:
SetValue
(
SUMMON_TYPE_ADVANCE
)
c
:
RegisterEffect
(
e5
)
local
e6
=
e5
:
Clone
()
e6
:
SetCode
(
EFFECT_SET_PROC
)
c
:
RegisterEffect
(
e6
)
c
:
RegisterEffect
(
e6
)
local
e7
=
e6
:
Clone
()
e7
:
SetCode
(
EFFECT_SET_PROC
)
c
:
RegisterEffect
(
e7
)
--
--
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
SetType
(
EFFECT_TYPE_SINGLE
)
e7
:
SetCode
(
EFFECT_DEFENCE_ATTACK
)
e7
:
SetValue
(
1
)
c
:
RegisterEffect
(
e7
)
--add setcode
local
e8
=
Effect
.
CreateEffect
(
c
)
local
e8
=
Effect
.
CreateEffect
(
c
)
e8
:
SetType
(
EFFECT_TYPE_SINGLE
)
e8
:
SetType
(
EFFECT_TYPE_SINGLE
)
e8
:
SetCode
(
EFFECT_DEFENCE_ATTACK
)
e8
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e8
:
SetValue
(
1
)
e8
:
SetCode
(
EFFECT_ADD_SETCODE
)
e8
:
SetValue
(
0x9a
)
c
:
RegisterEffect
(
e8
)
c
:
RegisterEffect
(
e8
)
--add setcode
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e9
:
SetCode
(
EFFECT_ADD_SETCODE
)
e9
:
SetValue
(
0x9a
)
c
:
RegisterEffect
(
e9
)
end
end
function
c42880485
.
splimcon
(
e
)
function
c42880485
.
splimcon
(
e
)
return
not
e
:
GetHandler
():
IsForbidden
()
return
not
e
:
GetHandler
():
IsForbidden
()
...
...
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