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
YGOPRO-520DIY
ygopro
Commits
aecf25f4
Commit
aecf25f4
authored
Jun 25, 2012
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
20562d3a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
28 deletions
+14
-28
script/c40640057.lua
script/c40640057.lua
+2
-2
script/c40640058.lua
script/c40640058.lua
+5
-13
script/c40640059.lua
script/c40640059.lua
+5
-13
script/c4162088.lua
script/c4162088.lua
+1
-0
script/c68774379.lua
script/c68774379.lua
+1
-0
No files found.
script/c40640057.lua
View file @
aecf25f4
...
...
@@ -15,8 +15,8 @@ function c40640057.con(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
~=
tp
and
ep
==
tp
end
function
c40640057
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
Is
AbleToGraveAsCost
()
end
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
)
if
chk
==
0
then
return
e
:
GetHandler
():
Is
Discardable
()
end
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
+
REASON_DISCARD
)
end
function
c40640057
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
ChangeBattleDamage
(
ep
,
0
)
...
...
script/c40640058.lua
View file @
aecf25f4
...
...
@@ -5,27 +5,19 @@ function c40640058.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
40640058
,
0
))
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
+
EFFECT_TYPE_FIELD
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCode
(
EVENT_PRE_
DAMAGE_CALCULAT
E
)
e1
:
SetCode
(
EVENT_PRE_
BATTLE_DAMAG
E
)
e1
:
SetCondition
(
c40640058
.
con
)
e1
:
SetCost
(
c40640058
.
cost
)
e1
:
SetOperation
(
c40640058
.
op
)
c
:
RegisterEffect
(
e1
)
end
function
c40640058
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
~=
tp
and
Duel
.
GetAttacker
():
GetAttack
()
>
0
return
Duel
.
GetTurnPlayer
()
~=
tp
and
ep
==
tp
end
function
c40640058
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
Is
AbleToGraveAsCost
()
end
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
)
if
chk
==
0
then
return
e
:
GetHandler
():
Is
Discardable
()
end
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
+
REASON_DISCARD
)
end
function
c40640058
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_AVOID_BATTLE_DAMAGE
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetReset
(
RESET_PHASE
+
RESET_DAMAGE_CAL
)
e1
:
SetValue
(
1
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
ChangeBattleDamage
(
ep
,
0
)
end
script/c40640059.lua
View file @
aecf25f4
...
...
@@ -5,27 +5,19 @@ function c40640059.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
40640059
,
0
))
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
+
EFFECT_TYPE_FIELD
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCode
(
EVENT_PRE_
DAMAGE_CALCULAT
E
)
e1
:
SetCode
(
EVENT_PRE_
BATTLE_DAMAG
E
)
e1
:
SetCondition
(
c40640059
.
con
)
e1
:
SetCost
(
c40640059
.
cost
)
e1
:
SetOperation
(
c40640059
.
op
)
c
:
RegisterEffect
(
e1
)
end
function
c40640059
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
~=
tp
and
Duel
.
GetAttacker
():
GetAttack
()
>
0
return
Duel
.
GetTurnPlayer
()
~=
tp
and
ep
==
tp
end
function
c40640059
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
Is
AbleToGraveAsCost
()
end
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
)
if
chk
==
0
then
return
e
:
GetHandler
():
Is
Discardable
()
end
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
+
REASON_DISCARD
)
end
function
c40640059
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_AVOID_BATTLE_DAMAGE
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetReset
(
RESET_PHASE
+
RESET_DAMAGE_CAL
)
e1
:
SetValue
(
1
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
ChangeBattleDamage
(
ep
,
0
)
end
script/c4162088.lua
View file @
aecf25f4
--サイバー·レーザー·ドラゴン
function
c4162088
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
--cannot special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
...
...
script/c68774379.lua
View file @
aecf25f4
--サイバー·バリア·ドラゴン
function
c68774379
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
--cannot special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
...
...
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