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
4a291aa1
Commit
4a291aa1
authored
Feb 20, 2014
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
eee1fe7b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
3 deletions
+5
-3
script/c11221418.lua
script/c11221418.lua
+1
-0
script/c20349913.lua
script/c20349913.lua
+1
-1
script/c31801517.lua
script/c31801517.lua
+2
-1
script/c59911557.lua
script/c59911557.lua
+1
-1
No files found.
script/c11221418.lua
View file @
4a291aa1
...
...
@@ -86,6 +86,7 @@ function c11221418.limcon(e)
return
e
:
GetLabelObject
():
GetLabel
()
<
3
end
function
c11221418
.
countop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetTurnPlayer
()
~=
tp
then
return
end
local
ct
=
e
:
GetLabel
()
e
:
SetLabel
(
ct
+
1
)
end
...
...
script/c20349913.lua
View file @
4a291aa1
...
...
@@ -20,7 +20,7 @@ function c20349913.condition(e,tp,eg,ep,ev,re,r,rp)
end
function
c20349913
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
20349913
)
==
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
()
)
end
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
,
nil
)
Duel
.
RegisterFlagEffect
(
tp
,
20349913
,
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_OATH
,
1
)
end
...
...
script/c31801517.lua
View file @
4a291aa1
...
...
@@ -36,7 +36,8 @@ end
c31801517
.
xyz_number
=
62
function
c31801517
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
(
c
==
Duel
.
GetAttacker
()
or
c
==
Duel
.
GetAttackTarget
())
and
Duel
.
GetCurrentPhase
()
==
PHASE_DAMAGE_CAL
return
(
c
==
Duel
.
GetAttacker
()
or
c
==
Duel
.
GetAttackTarget
())
and
Duel
.
GetCurrentPhase
()
==
PHASE_DAMAGE_CAL
and
not
Duel
.
IsDamageCalculated
()
end
function
c31801517
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
...
...
script/c59911557.lua
View file @
4a291aa1
...
...
@@ -36,7 +36,7 @@ function c59911557.tgcon(e,tp,eg,ep,ev,re,r,rp)
return
c
:
IsReason
(
REASON_DESTROY
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
function
c59911557
.
tgfilter
(
c
)
return
c
:
IsSetCard
(
0x59
)
and
c
:
IsAbleToGrave
()
return
c
:
IsSetCard
(
0x59
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToGrave
()
end
function
c59911557
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
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