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
bc7fa4a2
Commit
bc7fa4a2
authored
Jun 10, 2013
by
Fluorohydride
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #555 from sidschingis/patch-1
fix
parents
64fb8e74
3d575a65
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
script/c75524092.lua
script/c75524092.lua
+1
-2
script/c84968490.lua
script/c84968490.lua
+2
-2
script/c9161357.lua
script/c9161357.lua
+1
-1
No files found.
script/c75524092.lua
View file @
bc7fa4a2
...
@@ -55,10 +55,9 @@ function c75524092.desreptg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -55,10 +55,9 @@ function c75524092.desreptg(e,tp,eg,ep,ev,re,r,rp,chk)
return
true
return
true
end
end
function
c75524092
.
desrepop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c75524092
.
desrepop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
exc
=
e
:
GetHandler
():
GetEquipTarget
():
GetBattleTarget
()
Duel
.
SendtoHand
(
e
:
GetHandler
(),
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
e
:
GetHandler
(),
nil
,
REASON_EFFECT
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
exc
=
Duel
.
GetAttacker
()
if
exc
:
IsControler
(
tp
)
then
exc
=
Duel
.
GetAttackTarget
()
end
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsDestructable
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
exc
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsDestructable
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
exc
)
if
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
>
0
and
Duel
.
Damage
(
1
-
tp
,
600
,
REASON_EFFECT
)
~=
0
then
if
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
>
0
and
Duel
.
Damage
(
1
-
tp
,
600
,
REASON_EFFECT
)
~=
0
then
if
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
,
tp
)
>
0
if
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
,
tp
)
>
0
...
...
script/c84968490.lua
View file @
bc7fa4a2
...
@@ -6,11 +6,11 @@ function c84968490.initial_effect(c)
...
@@ -6,11 +6,11 @@ function c84968490.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_DECKDES
)
e1
:
SetCategory
(
CATEGORY_DECKDES
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
Set
Cost
(
c84968490
.
discos
t
)
e1
:
Set
Target
(
c84968490
.
distarge
t
)
e1
:
SetOperation
(
c84968490
.
disop
)
e1
:
SetOperation
(
c84968490
.
disop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c84968490
.
dis
cos
t
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c84968490
.
dis
targe
t
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
5
)
end
if
chk
==
0
then
return
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
5
)
end
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetParam
(
5
)
Duel
.
SetTargetParam
(
5
)
...
...
script/c9161357.lua
View file @
bc7fa4a2
...
@@ -29,7 +29,7 @@ function c9161357.eqcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -29,7 +29,7 @@ function c9161357.eqcon(e,tp,eg,ep,ev,re,r,rp)
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_XYZ
)
==
SUMMON_TYPE_XYZ
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_XYZ
)
==
SUMMON_TYPE_XYZ
end
end
function
c9161357
.
filter
(
c
)
function
c9161357
.
filter
(
c
)
return
c
:
IsSetCard
(
0x48
)
return
c
:
IsSetCard
(
0x48
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
c9161357
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c9161357
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c9161357
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c9161357
.
filter
(
chkc
)
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