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
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
REIKAI
ygopro
Commits
8c64b588
Commit
8c64b588
authored
Dec 06, 2011
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
parent
69765dd7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
13 deletions
+24
-13
script/c3606728.lua
script/c3606728.lua
+10
-1
script/c72926163.lua
script/c72926163.lua
+11
-9
script/c87624166.lua
script/c87624166.lua
+3
-3
No files found.
script/c3606728.lua
View file @
8c64b588
...
@@ -49,6 +49,7 @@ function c3606728.efcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -49,6 +49,7 @@ function c3606728.efcon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c3606728
.
efop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c3606728
.
efop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
rc
=
c
:
GetReasonCard
()
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
3606728
,
1
))
e1
:
SetDescription
(
aux
.
Stringid
(
3606728
,
1
))
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
)
...
@@ -59,7 +60,15 @@ function c3606728.efop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -59,7 +60,15 @@ function c3606728.efop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetTarget
(
c3606728
.
atktg
)
e1
:
SetTarget
(
c3606728
.
atktg
)
e1
:
SetOperation
(
c3606728
.
atkop
)
e1
:
SetOperation
(
c3606728
.
atkop
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
c
:
GetReasonCard
():
RegisterEffect
(
e1
)
rc
:
RegisterEffect
(
e1
)
if
not
rc
:
IsType
(
TYPE_EFFECT
)
then
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e2
:
SetValue
(
TYPE_MONSTER
+
TYPE_EFFECT
+
TYPE_XYZ
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
rc
:
RegisterEffect
(
e2
)
end
end
end
function
c3606728
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c3606728
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_XYZ
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_XYZ
...
...
script/c72926163.lua
View file @
8c64b588
...
@@ -14,7 +14,6 @@ function c72926163.initial_effect(c)
...
@@ -14,7 +14,6 @@ function c72926163.initial_effect(c)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e3
:
SetLabelObject
(
e1
)
e3
:
SetOperation
(
c72926163
.
sucop
)
e3
:
SetOperation
(
c72926163
.
sucop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--multiatk
--multiatk
...
@@ -36,12 +35,15 @@ function c72926163.splimit(e,se,sp,st)
...
@@ -36,12 +35,15 @@ function c72926163.splimit(e,se,sp,st)
end
end
function
c72926163
.
sucop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c72926163
.
sucop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
e
:
GetLabelObject
():
GetLabelObject
()
local
g
=
c
:
GetMaterial
()
if
tc
:
IsCode
(
89943723
)
then
return
end
local
tc
=
g
:
GetFirst
()
local
e1
=
Effect
.
CreateEffect
(
c
)
if
tc
:
IsCode
(
89943723
)
or
tc
:
IsHasEffect
(
EFFECT_FUSION_SUBSTITUTE
)
then
tc
=
g
:
GetNext
()
end
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
if
not
tc
:
IsCode
(
89943723
)
then
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetValue
(
tc
:
GetAttack
()
/
2
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetReset
(
RESET_EVENT
+
0x1ff0000
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
c
:
RegisterEffect
(
e1
)
e1
:
SetValue
(
tc
:
GetAttack
()
/
2
)
e1
:
SetReset
(
RESET_EVENT
+
0x1ff0000
)
c
:
RegisterEffect
(
e1
)
end
end
end
script/c87624166.lua
View file @
8c64b588
...
@@ -36,11 +36,11 @@ function c87624166.desfilter(c)
...
@@ -36,11 +36,11 @@ function c87624166.desfilter(c)
return
c
:
GetAttackedCount
()
>
0
return
c
:
GetAttackedCount
()
>
0
end
end
function
c87624166
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c87624166
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c87624166
.
desfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c87624166
.
desfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
c87624166
.
desfilter
,
Duel
.
GetTurnPlayer
(),
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c87624166
.
desfilter
,
Duel
.
GetTurnPlayer
(),
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c87624166
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c87624166
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
c87624166
.
desfilter
,
Duel
.
GetTurnPlayer
(),
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c87624166
.
desfilter
,
Duel
.
GetTurnPlayer
(),
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
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