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
e3e194c4
Commit
e3e194c4
authored
Nov 19, 2015
by
Tianchenglipu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c74605254.lua
parent
fb6f2c85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
34 deletions
+28
-34
c74605254.lua
c74605254.lua
+28
-34
No files found.
c74605254.lua
View file @
e3e194c4
--DD魔導賢者ガリレイ
--DD魔導賢者ガリレイ
function
c74605254
.
initial_effect
(
c
)
function
c74605254
.
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
:
SetDescription
(
aux
.
Stringid
(
74605254
,
1
))
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetCondition
(
aux
.
nfbdncon
)
e1
:
SetTarget
(
c74605254
.
splimit
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--s
plimit
--s
cale change
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCategory
(
CATEGORY_DESTROY
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetCode
(
E
FFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetCode
(
E
VENT_PHASE
+
PHASE_STANDBY
)
e2
:
Set
Property
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
Set
CountLimit
(
1
)
e2
:
Set
TargetRange
(
1
,
0
)
e2
:
Set
Condition
(
c74605254
.
sccon
)
e2
:
Set
Condition
(
aux
.
nfbdncon
)
e2
:
Set
Target
(
c74605254
.
sctg
)
e2
:
Set
Target
(
c74605254
.
splimit
)
e2
:
Set
Operation
(
c74605254
.
scop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--
scale change
--
tohand
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_DESTROY
)
e3
:
SetDescription
(
aux
.
Stringid
(
74605254
,
0
))
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e3
:
SetCategory
(
CATEGORY_TOHAND
)
e3
:
SetRange
(
LOCATION_PZONE
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetCountLimit
(
1
)
e3
:
SetRange
(
LOCATION_HAND
)
e3
:
SetCondition
(
c74605254
.
sccon
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetTarget
(
c74605254
.
sctg
)
e3
:
SetCountLimit
(
1
,
74605254
)
e3
:
SetOperation
(
c74605254
.
scop
)
e3
:
SetCost
(
c74605254
.
thcost
)
e3
:
SetTarget
(
c74605254
.
thtg
)
e3
:
SetOperation
(
c74605254
.
thop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--tohand
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
74605254
,
0
))
e4
:
SetCategory
(
CATEGORY_TOHAND
)
e4
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e4
:
SetCode
(
EVENT_FREE_CHAIN
)
e4
:
SetRange
(
LOCATION_HAND
)
e4
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e4
:
SetCountLimit
(
1
,
74605254
)
e4
:
SetCost
(
c74605254
.
thcost
)
e4
:
SetTarget
(
c74605254
.
thtg
)
e4
:
SetOperation
(
c74605254
.
thop
)
c
:
RegisterEffect
(
e4
)
end
end
function
c74605254
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
)
function
c74605254
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
)
return
not
c
:
IsSetCard
(
0xaf
)
and
bit
.
band
(
sumtype
,
SUMMON_TYPE_PENDULUM
)
==
SUMMON_TYPE_PENDULUM
return
not
c
:
IsSetCard
(
0xaf
)
and
bit
.
band
(
sumtype
,
SUMMON_TYPE_PENDULUM
)
==
SUMMON_TYPE_PENDULUM
...
...
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