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
0bf7d5bb
Commit
0bf7d5bb
authored
Jan 17, 2016
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
72a0338d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
20 deletions
+31
-20
c26920296.lua
c26920296.lua
+1
-2
c71782404.lua
c71782404.lua
+1
-1
c88935103.lua
c88935103.lua
+29
-17
No files found.
c26920296.lua
View file @
0bf7d5bb
...
@@ -93,8 +93,7 @@ function c26920296.descon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -93,8 +93,7 @@ function c26920296.descon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c26920296
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c26920296
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsRelateToEffect
(
e
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c26920296
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
TYPE_XYZ
)
end
and
Duel
.
IsExistingMatchingCard
(
c26920296
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
TYPE_XYZ
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
if
g
:
GetCount
()
==
0
then
return
end
if
g
:
GetCount
()
==
0
then
return
end
...
...
c71782404.lua
View file @
0bf7d5bb
...
@@ -14,7 +14,7 @@ function c71782404.initial_effect(c)
...
@@ -14,7 +14,7 @@ function c71782404.initial_effect(c)
end
end
function
c71782404
.
cfilter
(
c
,
e
,
tp
)
function
c71782404
.
cfilter
(
c
,
e
,
tp
)
return
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsReason
(
REASON_EFFECT
+
REASON_BATTLE
)
return
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsReason
(
REASON_EFFECT
+
REASON_BATTLE
)
and
c
:
IsSetCard
(
0x3b
)
and
c
:
GetBaseAttack
()
>
0
and
c
:
IsCanBeEffectTarget
(
e
)
and
c
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
and
c
:
Is
Previous
SetCard
(
0x3b
)
and
c
:
GetBaseAttack
()
>
0
and
c
:
IsCanBeEffectTarget
(
e
)
and
c
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
end
end
function
c71782404
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c71782404
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
eg
:
IsContains
(
chkc
)
and
c71782404
.
cfilter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
eg
:
IsContains
(
chkc
)
and
c71782404
.
cfilter
(
chkc
,
e
,
tp
)
end
...
...
c88935103.lua
View file @
0bf7d5bb
...
@@ -19,22 +19,29 @@ function c88935103.initial_effect(c)
...
@@ -19,22 +19,29 @@ function c88935103.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--todeck
--todeck
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e4
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e4
:
SetCode
(
EFFECT_SEND_REPLACE
)
e4
:
SetValue
(
LOCATION_DECKBOT
)
e4
:
SetTarget
(
c88935103
.
check
)
e4
:
SetCondition
(
c88935103
.
rdcon
)
e4
:
SetValue
(
aux
.
FALSE
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
--spsummon
local
e5
=
Effect
.
CreateEffect
(
c
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetDescription
(
aux
.
Stringid
(
88935103
,
1
))
e5
:
SetType
(
EFFECT_TYPE_FIELD
)
e5
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e5
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_SET_AVAILABLE
+
EFFECT_FLAG_IGNORE_RANGE
)
e5
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetType
(
EFFECT_TYPE_IGNITION
)
e5
:
SetCode
(
EFFECT_MATERIAL_CHECK
)
e5
:
SetRange
(
LOCATION_HAND
+
LOCATION_GRAVE
)
e5
:
SetValue
(
c88935103
.
valcheck
)
e5
:
SetTarget
(
c88935103
.
sptg
)
e5
:
SetLabelObject
(
e4
)
e5
:
SetOperation
(
c88935103
.
spop
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
--spsummon
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetDescription
(
aux
.
Stringid
(
88935103
,
1
))
e6
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e6
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e6
:
SetType
(
EFFECT_TYPE_IGNITION
)
e6
:
SetRange
(
LOCATION_HAND
+
LOCATION_GRAVE
)
e6
:
SetTarget
(
c88935103
.
sptg
)
e6
:
SetOperation
(
c88935103
.
spop
)
c
:
RegisterEffect
(
e6
)
end
end
function
c88935103
.
descon
(
e
)
function
c88935103
.
descon
(
e
)
local
seq
=
e
:
GetHandler
():
GetSequence
()
local
seq
=
e
:
GetHandler
():
GetSequence
()
...
@@ -45,13 +52,18 @@ function c88935103.synlimit(e,c)
...
@@ -45,13 +52,18 @@ function c88935103.synlimit(e,c)
if
not
c
then
return
false
end
if
not
c
then
return
false
end
return
not
c
:
IsRace
(
RACE_DRAGON
)
return
not
c
:
IsRace
(
RACE_DRAGON
)
end
end
function
c88935103
.
rdcon
(
e
)
return
e
:
GetHandler
():
IsReason
(
REASON_MATERIAL
)
and
e
:
GetHandler
():
IsReason
(
REASON_SYNCHRO
)
and
e
:
GetLabel
()
==
1
end
function
c88935103
.
sfilter
(
c
)
function
c88935103
.
sfilter
(
c
)
return
not
c
:
IsSetCard
(
0x99
)
return
not
c
:
IsSetCard
(
0x99
)
end
end
function
c88935103
.
check
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c88935103
.
valcheck
(
e
,
c
)
if
chk
==
0
then
return
bit
.
band
(
r
,
REASON_SYNCHRO
)
~=
0
and
eg
:
IsExists
(
c88935103
.
sfilter
,
1
,
e
:
GetHandler
())
end
if
c
:
GetMaterial
():
IsExists
(
c88935103
.
sfilter
,
1
,
e
:
GetHandler
())
then
Duel
.
SendtoDeck
(
e
:
GetHandler
(),
nil
,
1
,
r
)
e
:
GetLabelObject
():
SetLabel
(
1
)
return
true
else
e
:
GetLabelObject
():
SetLabel
(
0
)
end
end
end
function
c88935103
.
cfilter
(
c
)
function
c88935103
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
GetLevel
()
>=
7
and
c
:
IsSetCard
(
0x99
)
return
c
:
IsFaceup
()
and
c
:
GetLevel
()
>=
7
and
c
:
IsSetCard
(
0x99
)
...
...
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