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
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
Reinen
ygopro-scripts
Commits
35851216
Commit
35851216
authored
Feb 02, 2017
by
dest
Committed by
DailyShana
Feb 02, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix True King (#788)
parent
95ac59c0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
16 deletions
+32
-16
c30539496.lua
c30539496.lua
+8
-4
c82321037.lua
c82321037.lua
+8
-4
c94160895.lua
c94160895.lua
+8
-4
c96746083.lua
c96746083.lua
+8
-4
No files found.
c30539496.lua
View file @
35851216
...
@@ -70,10 +70,14 @@ function c30539496.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -70,10 +70,14 @@ function c30539496.spop(e,tp,eg,ep,ev,re,r,rp)
local
rm
=
g1
:
IsExists
(
Card
.
IsAttribute
,
2
,
nil
,
ATTRIBUTE_EARTH
)
local
rm
=
g1
:
IsExists
(
Card
.
IsAttribute
,
2
,
nil
,
ATTRIBUTE_EARTH
)
if
Duel
.
Destroy
(
g1
,
REASON_EFFECT
)
==
2
then
if
Duel
.
Destroy
(
g1
,
REASON_EFFECT
)
==
2
then
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
then
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
return
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
return
else
return
end
end
end
local
rg
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_EXTRA
,
nil
)
local
rg
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_EXTRA
,
nil
)
if
rm
and
rg
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
30539496
,
2
))
then
if
rm
and
rg
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
30539496
,
2
))
then
...
...
c82321037.lua
View file @
35851216
...
@@ -71,10 +71,14 @@ function c82321037.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -71,10 +71,14 @@ function c82321037.spop(e,tp,eg,ep,ev,re,r,rp)
local
rm
=
g1
:
IsExists
(
Card
.
IsAttribute
,
2
,
nil
,
ATTRIBUTE_WATER
)
local
rm
=
g1
:
IsExists
(
Card
.
IsAttribute
,
2
,
nil
,
ATTRIBUTE_WATER
)
if
Duel
.
Destroy
(
g1
,
REASON_EFFECT
)
==
2
then
if
Duel
.
Destroy
(
g1
,
REASON_EFFECT
)
==
2
then
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
then
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
return
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
return
else
return
end
end
end
local
rg
=
Duel
.
GetMatchingGroup
(
c82321037
.
rmfilter
,
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
nil
)
local
rg
=
Duel
.
GetMatchingGroup
(
c82321037
.
rmfilter
,
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
nil
)
if
rm
and
rg
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
82321037
,
0
))
then
if
rm
and
rg
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
82321037
,
0
))
then
...
...
c94160895.lua
View file @
35851216
...
@@ -70,10 +70,14 @@ function c94160895.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -70,10 +70,14 @@ function c94160895.spop(e,tp,eg,ep,ev,re,r,rp)
local
rm
=
g1
:
IsExists
(
Card
.
IsAttribute
,
2
,
nil
,
ATTRIBUTE_WIND
)
local
rm
=
g1
:
IsExists
(
Card
.
IsAttribute
,
2
,
nil
,
ATTRIBUTE_WIND
)
if
Duel
.
Destroy
(
g1
,
REASON_EFFECT
)
==
2
then
if
Duel
.
Destroy
(
g1
,
REASON_EFFECT
)
==
2
then
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
then
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
return
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
return
else
return
end
end
end
local
rg
=
Duel
.
GetDecktopGroup
(
1
-
tp
,
4
)
local
rg
=
Duel
.
GetDecktopGroup
(
1
-
tp
,
4
)
if
rm
and
rg
:
GetCount
()
>
0
and
rg
:
FilterCount
(
Card
.
IsAbleToRemove
,
nil
)
==
4
if
rm
and
rg
:
GetCount
()
>
0
and
rg
:
FilterCount
(
Card
.
IsAbleToRemove
,
nil
)
==
4
...
...
c96746083.lua
View file @
35851216
...
@@ -71,10 +71,14 @@ function c96746083.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -71,10 +71,14 @@ function c96746083.spop(e,tp,eg,ep,ev,re,r,rp)
local
rm
=
g1
:
IsExists
(
Card
.
IsAttribute
,
2
,
nil
,
ATTRIBUTE_FIRE
)
local
rm
=
g1
:
IsExists
(
Card
.
IsAttribute
,
2
,
nil
,
ATTRIBUTE_FIRE
)
if
Duel
.
Destroy
(
g1
,
REASON_EFFECT
)
==
2
then
if
Duel
.
Destroy
(
g1
,
REASON_EFFECT
)
==
2
then
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
==
0
then
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
return
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
return
else
return
end
end
end
local
rg
=
Duel
.
GetMatchingGroup
(
c96746083
.
rmfilter
,
tp
,
0
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
nil
,
tp
)
local
rg
=
Duel
.
GetMatchingGroup
(
c96746083
.
rmfilter
,
tp
,
0
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
nil
,
tp
)
if
rm
and
rg
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
96746083
,
0
))
then
if
rm
and
rg
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
96746083
,
0
))
then
...
...
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