Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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-scripts
Commits
01250445
Commit
01250445
authored
Jan 30, 2016
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
7d4ca3d2
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
6 deletions
+8
-6
c45644898.lua
c45644898.lua
+1
-1
c51777272.lua
c51777272.lua
+1
-1
c83986578.lua
c83986578.lua
+1
-1
c96570609.lua
c96570609.lua
+1
-0
c97165977.lua
c97165977.lua
+1
-1
c97317530.lua
c97317530.lua
+1
-1
c99000107.lua
c99000107.lua
+2
-1
No files found.
c45644898.lua
View file @
01250445
...
...
@@ -63,7 +63,7 @@ end
function
c45644898
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
~=
0
and
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
~=
0
and
tc
:
IsLocation
(
LOCATION_GRAVE
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c45644898
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
tc
,
e
,
tp
)
...
...
c51777272.lua
View file @
01250445
...
...
@@ -30,7 +30,7 @@ function c51777272.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c51777272
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
return
Duel
.
IsAbleToEnterBP
()
end
function
c51777272
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsSetCard
,
1
,
e
:
GetHandler
(),
0xdf
)
end
...
...
c83986578.lua
View file @
01250445
...
...
@@ -19,7 +19,7 @@ function c83986578.cfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsAttackBelow
(
1400
)
end
function
c83986578
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c83986578
.
cfilter
,
1
,
nil
)
and
not
eg
:
IsContains
(
e
:
GetHandler
())
return
eg
:
IsExists
(
c83986578
.
cfilter
,
1
,
nil
)
and
not
eg
:
IsContains
(
e
:
GetHandler
())
and
not
e
:
GetHandler
(
STATUS_BATTLE_DESTROYED
)
end
function
c83986578
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
c96570609.lua
View file @
01250445
...
...
@@ -67,6 +67,7 @@ function c96570609.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
local
g
=
Duel
.
GetMatchingGroup
(
c96570609
.
tgfilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
nil
)
return
g
:
GetClassCount
(
Card
.
GetCode
)
>
1
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c96570609
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
2
,
tp
,
LOCATION_DECK
)
...
...
c97165977.lua
View file @
01250445
...
...
@@ -44,7 +44,7 @@ function c97165977.tgvalue(e,re,rp)
return
rp
~=
e
:
GetHandlerPlayer
()
end
function
c97165977
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
return
Duel
.
IsAbleToEnterBP
()
end
function
c97165977
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
c97317530.lua
View file @
01250445
...
...
@@ -13,7 +13,7 @@ function c97317530.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c97317530
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
and
re
:
GetOwn
er
():
IsRace
(
RACE_BEAST
)
return
re
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetHandl
er
():
IsRace
(
RACE_BEAST
)
end
function
c97317530
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsDestructable
()
end
...
...
c99000107.lua
View file @
01250445
...
...
@@ -24,7 +24,8 @@ function c99000107.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c99000107
.
aclimit
(
e
,
re
,
tp
)
return
re
:
GetHandler
():
IsAttackPos
()
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
not
re
:
GetHandler
():
IsImmuneToEffect
(
e
)
local
tc
=
re
:
GetHandler
()
return
tc
:
IsLocation
(
LOCATION_MZONE
)
and
tc
:
IsFaceup
()
and
tc
:
IsAttackPos
()
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
not
tc
:
IsImmuneToEffect
(
e
)
end
function
c99000107
.
tgcon
(
e
)
return
e
:
GetHandler
():
IsDefencePos
()
...
...
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