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
83dac712
Commit
83dac712
authored
Feb 16, 2015
by
nekrozar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
e76f1d2f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
8 deletions
+16
-8
script/c13317419.lua
script/c13317419.lua
+8
-6
script/c17530001.lua
script/c17530001.lua
+4
-1
script/c70913714.lua
script/c70913714.lua
+4
-1
No files found.
script/c13317419.lua
View file @
83dac712
...
@@ -7,6 +7,7 @@ function c13317419.initial_effect(c)
...
@@ -7,6 +7,7 @@ function c13317419.initial_effect(c)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
TIMING_DAMAGE_STEP
)
e1
:
SetHintTiming
(
TIMING_DAMAGE_STEP
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetCountLimit
(
1
,
13317419
)
e1
:
SetCondition
(
c13317419
.
condition
)
e1
:
SetCondition
(
c13317419
.
condition
)
e1
:
SetTarget
(
c13317419
.
target
)
e1
:
SetTarget
(
c13317419
.
target
)
e1
:
SetOperation
(
c13317419
.
operation
)
e1
:
SetOperation
(
c13317419
.
operation
)
...
@@ -47,7 +48,7 @@ function c13317419.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,7 +48,7 @@ function c13317419.operation(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
,
13317419
)
e2
:
SetCost
(
c13317419
.
descost
)
e2
:
SetCost
(
c13317419
.
descost
)
e2
:
SetTarget
(
c13317419
.
destg
)
e2
:
SetTarget
(
c13317419
.
destg
)
e2
:
SetOperation
(
c13317419
.
desop
)
e2
:
SetOperation
(
c13317419
.
desop
)
...
@@ -65,6 +66,7 @@ function c13317419.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -65,6 +66,7 @@ function c13317419.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c13317419
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c13317419
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToGraveAsCost
()
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToGraveAsCost
()
end
e
:
SetLabelObject
(
e
:
GetHandler
():
GetEquipTarget
())
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
)
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
)
end
end
function
c13317419
.
desfilter
(
c
)
function
c13317419
.
desfilter
(
c
)
...
@@ -78,18 +80,18 @@ function c13317419.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -78,18 +80,18 @@ function c13317419.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
end
end
function
c13317419
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c13317419
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
ec
=
e
:
GetLabelObject
()
local
ec
=
c
:
GetEquipTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
then
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
then
if
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
>
0
and
ec
:
IsFaceup
()
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
local
e1
=
Effect
.
CreateEffect
(
c
)
if
ec
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
e1
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
e1
:
SetValue
(
0
)
e1
:
SetValue
(
0
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
ec
:
RegisterEffect
(
e1
)
ec
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
()
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e2
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
...
...
script/c17530001.lua
View file @
83dac712
...
@@ -30,8 +30,11 @@ function c17530001.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -30,8 +30,11 @@ function c17530001.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_CANNOT_
SPECIAL_SUMMON
)
e2
:
SetCode
(
EFFECT_CANNOT_
MSET
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e1
:
Clone
()
e3
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
c
:
RegisterEffect
(
e3
)
end
end
function
c17530001
.
tglimit
(
e
,
c
)
function
c17530001
.
tglimit
(
e
,
c
)
return
c
:
GetLevel
()
==
e
:
GetLabel
()
return
c
:
GetLevel
()
==
e
:
GetLabel
()
...
...
script/c70913714.lua
View file @
83dac712
--고신 하스톨
--고신 하스톨
function
c70913714
.
initial_effect
(
c
)
function
c70913714
.
initial_effect
(
c
)
--synchro summon
aux
.
AddSynchroProcedure
(
c
,
nil
,
aux
.
NonTuner
(
nil
),
1
)
c
:
EnableReviveLimit
()
--equip
--equip
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
70913714
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
70913714
,
0
))
...
@@ -63,7 +66,7 @@ end
...
@@ -63,7 +66,7 @@ end
function
c70913714
.
ctcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c70913714
.
ctcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
ec
=
c
:
GetEquipTarget
()
local
ec
=
c
:
GetEquipTarget
()
return
c
:
GetLocation
()
~=
LOCATION_DECK
e
:
SetLabelObject
(
ec
)
return
ec
and
c
:
GetLocation
()
~=
LOCATION_DECK
and
ec
:
IsLocation
(
LOCATION_MZONE
)
and
ec
:
IsControler
(
1
-
tp
)
return
ec
and
c
:
GetLocation
()
~=
LOCATION_DECK
and
ec
:
IsLocation
(
LOCATION_MZONE
)
and
ec
:
IsControler
(
1
-
tp
)
end
end
function
c70913714
.
cttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c70913714
.
cttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
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