Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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-2pick
Commits
4b013130
Commit
4b013130
authored
Apr 04, 2015
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
EFFECT_SET_ATTACK_FINAL
parent
a66e6021
Changes
23
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
39 additions
and
42 deletions
+39
-42
script/c12181376.lua
script/c12181376.lua
+1
-1
script/c13955608.lua
script/c13955608.lua
+1
-1
script/c15471265.lua
script/c15471265.lua
+2
-2
script/c18631392.lua
script/c18631392.lua
+2
-3
script/c23289281.lua
script/c23289281.lua
+1
-1
script/c2618045.lua
script/c2618045.lua
+1
-1
script/c26376390.lua
script/c26376390.lua
+2
-2
script/c3429238.lua
script/c3429238.lua
+1
-1
script/c34566435.lua
script/c34566435.lua
+2
-2
script/c36442179.lua
script/c36442179.lua
+1
-1
script/c38522377.lua
script/c38522377.lua
+6
-8
script/c39343610.lua
script/c39343610.lua
+2
-2
script/c42793609.lua
script/c42793609.lua
+1
-1
script/c46195773.lua
script/c46195773.lua
+1
-1
script/c52512994.lua
script/c52512994.lua
+1
-1
script/c55696885.lua
script/c55696885.lua
+1
-2
script/c60549248.lua
script/c60549248.lua
+2
-2
script/c63060238.lua
script/c63060238.lua
+5
-4
script/c7634581.lua
script/c7634581.lua
+1
-1
script/c7845138.lua
script/c7845138.lua
+1
-1
script/c82308875.lua
script/c82308875.lua
+1
-1
script/c82670878.lua
script/c82670878.lua
+2
-2
script/c93211810.lua
script/c93211810.lua
+1
-1
No files found.
script/c12181376.lua
View file @
4b013130
...
...
@@ -21,7 +21,7 @@ function c12181376.activate(e,tp,eg,ep,ev,re,r,rp)
while
tc
do
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
_FINAL
)
e1
:
SetValue
(
2700
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
)
...
...
script/c13955608.lua
View file @
4b013130
...
...
@@ -27,7 +27,7 @@ function c13955608.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCode
(
EFFECT_
SET
_ATTACK
)
e1
:
SetCode
(
EFFECT_
UPDATE
_ATTACK
)
e1
:
SetValue
(
3000
)
e1
:
SetCondition
(
c13955608
.
atkcon
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
...
...
script/c15471265.lua
View file @
4b013130
...
...
@@ -41,13 +41,13 @@ function c15471265.activate(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
_FINAL
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
RESET_END
)
e1
:
SetValue
(
rc
:
GetTextAttack
())
tc
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_SET_DEFENCE
)
e2
:
SetCode
(
EFFECT_SET_DEFENCE
_FINAL
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
RESET_END
)
e2
:
SetValue
(
rc
:
GetTextDefence
())
tc
:
RegisterEffect
(
e2
)
...
...
script/c18631392.lua
View file @
4b013130
...
...
@@ -81,13 +81,12 @@ function c18631392.retop(code1,code2,code3)
if
c
:
IsRelateToEffect
(
e
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_COPY_INHERIT
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
)
e1
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
e1
:
SetValue
(
hg
:
GetCount
()
*
1000
)
e1
:
SetReset
(
RESET_EVENT
+
0x1ff0000
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_SET_DEFENCE
)
e2
:
SetCode
(
EFFECT_SET_DEFENCE
_FINAL
)
c
:
RegisterEffect
(
e2
)
end
end
...
...
script/c23289281.lua
View file @
4b013130
...
...
@@ -15,7 +15,7 @@ function c23289281.operaion(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsFacedown
()
or
not
c
:
IsRelateToEffect
(
e
)
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
_FINAL
)
e1
:
SetValue
(
c
:
GetBaseAttack
()
*
2
)
e1
:
SetReset
(
RESET_EVENT
+
0x1ff0000
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
,
true
)
...
...
script/c2618045.lua
View file @
4b013130
...
...
@@ -25,7 +25,7 @@ function c2618045.operation(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
_FINAL
)
e1
:
SetValue
(
c
:
GetBaseAttack
()
*
2
)
e1
:
SetReset
(
RESET_EVENT
+
0x1ff0000
+
RESET_PHASE
+
PHASE_STANDBY
,
2
)
c
:
RegisterEffect
(
e1
)
...
...
script/c26376390.lua
View file @
4b013130
...
...
@@ -29,13 +29,13 @@ function c26376390.operation(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
and
tc
and
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
_FINAL
)
e1
:
SetValue
(
tc
:
GetBaseAttack
())
e1
:
SetReset
(
RESET_EVENT
+
0x1ff0000
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_SET_DEFENCE
)
e2
:
SetCode
(
EFFECT_SET_DEFENCE
_FINAL
)
e2
:
SetValue
(
tc
:
GetBaseDefence
())
e2
:
SetReset
(
RESET_EVENT
+
0x1ff0000
)
c
:
RegisterEffect
(
e2
)
...
...
script/c3429238.lua
View file @
4b013130
...
...
@@ -50,7 +50,7 @@ function c3429238.datop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
_FINAL
)
e1
:
SetValue
(
c
:
GetAttack
()
/
2
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
c
:
RegisterEffect
(
e1
)
...
...
script/c34566435.lua
View file @
4b013130
...
...
@@ -27,12 +27,12 @@ function c34566435.operation(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
and
(
tc
:
IsLocation
(
LOCATION_GRAVE
)
or
tc
:
IsFaceup
())
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
_FINAL
)
e1
:
SetValue
(
tc
:
GetBaseAttack
())
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
RESET_END
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_SET_DEFENCE
)
e2
:
SetCode
(
EFFECT_SET_DEFENCE
_FINAL
)
e2
:
SetValue
(
tc
:
GetBaseDefence
())
c
:
RegisterEffect
(
e2
)
end
...
...
script/c36442179.lua
View file @
4b013130
...
...
@@ -27,7 +27,7 @@ function c36442179.operation(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
and
tc
and
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
_FINAL
)
e1
:
SetValue
(
tc
:
GetAttack
())
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
RESET_END
)
c
:
RegisterEffect
(
e1
)
...
...
script/c38522377.lua
View file @
4b013130
...
...
@@ -60,14 +60,12 @@ function c38522377.atkop(e,tp,eg,ep,ev,re,r,rp)
atk
=
atk
+
oatk
tc
=
og
:
GetNext
()
end
if
atk
~=
0
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
)
e1
:
SetValue
(
atk
)
e1
:
SetReset
(
RESET_EVENT
+
0x1ff0000
)
e
:
GetHandler
():
RegisterEffect
(
e1
)
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
e1
:
SetValue
(
atk
)
e1
:
SetReset
(
RESET_EVENT
+
0x1ff0000
)
e
:
GetHandler
():
RegisterEffect
(
e1
)
end
function
c38522377
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
Card
.
IsType
,
1
,
nil
,
TYPE_SYNCHRO
)
...
...
script/c39343610.lua
View file @
4b013130
...
...
@@ -29,13 +29,13 @@ function c39343610.atkop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
_FINAL
)
e1
:
SetValue
(
c
:
GetBaseAttack
()
*
2
)
e1
:
SetReset
(
RESET_EVENT
+
0x1ff0000
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_SET_DEFENCE
)
e2
:
SetCode
(
EFFECT_SET_DEFENCE
_FINAL
)
e2
:
SetValue
(
c
:
GetBaseDefence
()
*
2
)
e2
:
SetReset
(
RESET_EVENT
+
0x1ff0000
)
c
:
RegisterEffect
(
e2
)
...
...
script/c42793609.lua
View file @
4b013130
...
...
@@ -36,7 +36,7 @@ function c42793609.operation(e,tp,eg,ep,ev,re,r,rp)
local
atk
=
tc
:
GetBaseAttack
()
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
_FINAL
)
e1
:
SetValue
(
atk
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
ac
:
RegisterEffect
(
e1
)
...
...
script/c46195773.lua
View file @
4b013130
...
...
@@ -39,7 +39,7 @@ function c46195773.atkop(e,tp,eg,ep,ev,re,r,rp)
if
d
:
IsRelateToEffect
(
e
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
_FINAL
)
e1
:
SetValue
(
d
:
GetAttack
()
/
2
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_DAMAGE
)
d
:
RegisterEffect
(
e1
)
...
...
script/c52512994.lua
View file @
4b013130
...
...
@@ -50,7 +50,7 @@ function c52512994.tdop(e,tp,eg,ep,ev,re,r,rp)
if
rt
>
0
and
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
_FINAL
)
e1
:
SetValue
(
rt
*
1000
)
e1
:
SetReset
(
RESET_EVENT
+
0x1ff0000
)
c
:
RegisterEffect
(
e1
)
...
...
script/c55696885.lua
View file @
4b013130
...
...
@@ -14,8 +14,7 @@ function c55696885.atkop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_COPY_INHERIT
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
)
e1
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
e1
:
SetValue
(
c
:
GetBaseAttack
()
*
2
)
e1
:
SetReset
(
RESET_EVENT
+
0x1ff0000
)
c
:
RegisterEffect
(
e1
)
...
...
script/c60549248.lua
View file @
4b013130
...
...
@@ -46,12 +46,12 @@ function c60549248.thop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
_FINAL
)
e1
:
SetValue
(
c
:
GetBaseAttack
()
*
2
)
e1
:
SetReset
(
RESET_EVENT
+
0x1ff0000
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_SET_DEFENCE
)
e2
:
SetCode
(
EFFECT_SET_DEFENCE
_FINAL
)
e2
:
SetValue
(
c
:
GetBaseDefence
()
*
2
)
c
:
RegisterEffect
(
e2
)
end
...
...
script/c63060238.lua
View file @
4b013130
...
...
@@ -52,19 +52,20 @@ function c63060238.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c63060238
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
tc
=
g
:
GetFirst
()
if
tc
and
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
~=
0
then
if
tc
and
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
~=
0
and
tc
:
IsLocation
(
LOCATION_GRAVE
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_ATTRIBUTE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetValue
(
tc
:
GetAttribute
())
e1
:
SetReset
(
RESET_EVENT
+
0x1f
f
0000
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
0x1f
e
0000
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_SET_ATTACK
)
e2
:
SetCode
(
EFFECT_SET_ATTACK
_FINAL
)
e2
:
SetValue
(
tc
:
GetAttack
())
c
:
RegisterEffect
(
e2
)
local
e3
=
e1
:
Clone
()
e3
:
SetCode
(
EFFECT_SET_DEFENCE
)
e3
:
SetCode
(
EFFECT_SET_DEFENCE
_FINAL
)
e3
:
SetValue
(
tc
:
GetDefence
())
c
:
RegisterEffect
(
e3
)
local
e4
=
Effect
.
CreateEffect
(
c
)
...
...
script/c7634581.lua
View file @
4b013130
...
...
@@ -18,7 +18,7 @@ function c7634581.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCode
(
EFFECT_
SET
_ATTACK
)
e2
:
SetCode
(
EFFECT_
UPDATE
_ATTACK
)
e2
:
SetValue
(
c7634581
.
value
)
c
:
RegisterEffect
(
e2
)
--
...
...
script/c7845138.lua
View file @
4b013130
...
...
@@ -30,7 +30,7 @@ function c7845138.atkop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
_FINAL
)
e1
:
SetValue
(
Duel
.
GetLP
(
1
-
tp
)
/
2
)
e1
:
SetReset
(
RESET_EVENT
+
0x1ff0000
)
c
:
RegisterEffect
(
e1
)
...
...
script/c82308875.lua
View file @
4b013130
...
...
@@ -32,7 +32,7 @@ function c82308875.operation(e,tp,eg,ep,ev,re,r,rp)
if
d2
>
d1
then
d1
,
d2
=
d2
,
d1
end
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
_FINAL
)
e1
:
SetValue
(
d1
*
700
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
2
)
c
:
RegisterEffect
(
e1
)
...
...
script/c82670878.lua
View file @
4b013130
...
...
@@ -88,12 +88,12 @@ function c82670878.adop(e,tp,eg,ep,ev,re,r,rp)
if
tc
and
tc
:
GetFlagEffect
(
82670878
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
_FINAL
)
e1
:
SetReset
(
RESET_EVENT
+
0x1ff0000
)
e1
:
SetValue
(
tc
:
GetAttack
())
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_SET_DEFENCE
)
e2
:
SetCode
(
EFFECT_SET_DEFENCE
_FINAL
)
e2
:
SetValue
(
tc
:
GetDefence
())
c
:
RegisterEffect
(
e2
)
end
...
...
script/c93211810.lua
View file @
4b013130
...
...
@@ -73,7 +73,7 @@ function c93211810.activate(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
_FINAL
)
e1
:
SetValue
(
tc
:
GetBaseAttack
()
*
2
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
)
...
...
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