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
wyykak
ygopro
Commits
3575c038
Commit
3575c038
authored
Oct 22, 2012
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
1309f59f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
13 deletions
+10
-13
script/c21350571.lua
script/c21350571.lua
+1
-1
script/c21954587.lua
script/c21954587.lua
+0
-2
script/c68396778.lua
script/c68396778.lua
+1
-0
script/c74064212.lua
script/c74064212.lua
+8
-10
No files found.
script/c21350571.lua
View file @
3575c038
...
...
@@ -63,7 +63,7 @@ function c21350571.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c21350571
.
eqlimit
(
e
,
c
)
return
c
:
GetControler
()
==
e
:
GetOwnerPlayer
()
and
c
:
IsRace
(
RACE_BEAST
+
RACE_BEASTWARRIOR
)
return
c
:
IsRace
(
RACE_BEAST
+
RACE_BEASTWARRIOR
)
end
function
c21350571
.
drfilter
(
c
,
rc
)
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsReason
(
REASON_BATTLE
)
and
c
:
GetReasonCard
()
==
rc
...
...
script/c21954587.lua
View file @
3575c038
...
...
@@ -36,9 +36,7 @@ function c21954587.cfilter(c)
end
function
c21954587
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c21954587
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
2
,
e
:
GetHandler
())
end
Duel
.
ConfirmCards
(
1
-
tp
,
e
:
GetHandler
())
Duel
.
DiscardHand
(
tp
,
c21954587
.
cfilter
,
2
,
2
,
REASON_COST
+
REASON_DISCARD
,
e
:
GetHandler
())
Duel
.
ShuffleHand
(
tp
)
end
function
c21954587
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
script/c68396778.lua
View file @
3575c038
...
...
@@ -31,6 +31,7 @@ function c68396778.activate(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
if
tc
:
IsLocation
(
LOCATION_GRAVE
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c68396778
.
spfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
...
...
script/c74064212.lua
View file @
3575c038
...
...
@@ -19,13 +19,6 @@ function c74064212.initial_effect(c)
e2
:
SetCondition
(
c74064212
.
atkcon
)
e2
:
SetValue
(
1000
)
c
:
RegisterEffect
(
e2
)
--equip limit
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetValue
(
c74064212
.
eqlimit
)
c
:
RegisterEffect
(
e3
)
end
function
c74064212
.
eqcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
@@ -47,6 +40,14 @@ function c74064212.eqop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
Equip
(
tp
,
c
,
tc
)
--equip limit
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetValue
(
1
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
c
:
RegisterEffect
(
e1
)
end
end
function
c74064212
.
atkcon
(
e
)
...
...
@@ -54,6 +55,3 @@ function c74064212.atkcon(e)
local
ec
=
e
:
GetHandler
():
GetEquipTarget
()
return
ec
and
(
ph
==
PHASE_DAMAGE
or
ph
==
PHASE_DAMAGE_CAL
)
and
ec
:
IsRelateToBattle
()
end
function
c74064212
.
eqlimit
(
e
,
c
)
return
c
:
GetControler
()
==
e
:
GetHandler
():
GetControler
()
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