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
nanahira
ygopro
Commits
87e60ce9
Commit
87e60ce9
authored
Nov 25, 2013
by
Fluorohydride
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
1fd8ccc9
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
41 additions
and
122 deletions
+41
-122
script/c10406322.lua
script/c10406322.lua
+1
-1
script/c18631392.lua
script/c18631392.lua
+1
-1
script/c22796548.lua
script/c22796548.lua
+1
-1
script/c25824484.lua
script/c25824484.lua
+4
-19
script/c32362575.lua
script/c32362575.lua
+1
-1
script/c36046926.lua
script/c36046926.lua
+4
-19
script/c38210374.lua
script/c38210374.lua
+1
-0
script/c58577036.lua
script/c58577036.lua
+1
-1
script/c62434031.lua
script/c62434031.lua
+9
-19
script/c62966332.lua
script/c62966332.lua
+2
-0
script/c63257623.lua
script/c63257623.lua
+4
-19
script/c70222318.lua
script/c70222318.lua
+1
-1
script/c79106360.lua
script/c79106360.lua
+1
-1
script/c99429730.lua
script/c99429730.lua
+4
-19
script/c99641328.lua
script/c99641328.lua
+4
-19
script/constant.lua
script/constant.lua
+1
-0
system.conf
system.conf
+1
-1
No files found.
script/c10406322.lua
View file @
87e60ce9
...
...
@@ -44,7 +44,7 @@ function c10406322.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ShuffleHand
(
tp
)
else
Duel
.
DisableShuffleCheck
()
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
+
REASON_REVEAL
)
end
end
function
c10406322
.
cfilter
(
c
,
tp
)
...
...
script/c18631392.lua
View file @
87e60ce9
...
...
@@ -75,7 +75,7 @@ function c18631392.retop(code1,code2,code3)
end
if
g
:
GetCount
()
~=
0
then
Duel
.
DisableShuffleCheck
()
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
+
REASON_REVEAL
)
end
if
c
:
IsRelateToEffect
(
e
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
script/c22796548.lua
View file @
87e60ce9
...
...
@@ -37,6 +37,6 @@ function c22796548.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ShuffleHand
(
tp
)
else
Duel
.
DisableShuffleCheck
()
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
+
REASON_REVEAL
)
end
end
script/c25824484.lua
View file @
87e60ce9
...
...
@@ -17,22 +17,6 @@ function c25824484.initial_effect(c)
e2
:
SetCondition
(
c25824484
.
sdcon
)
e2
:
SetOperation
(
c25824484
.
sdop
)
c
:
RegisterEffect
(
e2
)
if
not
c25824484
.
global_check
then
c25824484
.
global_check
=
true
c25824484
[
0
]
=
Group
.
CreateGroup
()
c25824484
[
0
]:
KeepAlive
()
c25824484
[
1
]
=
0
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_CONFIRM_DECKTOP
)
ge1
:
SetOperation
(
c25824484
.
checkop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
function
c25824484
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
c25824484
[
0
]:
Clear
()
c25824484
[
0
]:
Merge
(
eg
)
c25824484
[
1
]
=
re
end
function
c25824484
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
0
end
...
...
@@ -44,15 +28,16 @@ function c25824484.operation(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
if
tc
:
IsRace
(
RACE_PLANT
)
then
Duel
.
DisableShuffleCheck
()
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
+
REASON_REVEAL
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
else
Duel
.
MoveSequence
(
tc
,
1
)
end
end
function
c25824484
.
sdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
and
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_DECK
)
and
c25824484
[
0
]:
IsContains
(
e
:
GetHandler
())
and
c25824484
[
1
]
==
re
local
c
=
e
:
GetHandler
()
return
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
(
c
:
IsReason
(
REASON_REVEAL
)
or
c
:
IsPreviousPosition
(
POS_FACEUP
)
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
EFFECT_REVERSE_DECK
))
end
function
c25824484
.
sdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
...
...
script/c32362575.lua
View file @
87e60ce9
...
...
@@ -33,5 +33,5 @@ function c32362575.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
DiscardDeck
(
tp
,
dcount
-
seq
-
1
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
spcard
)
Duel
.
ShuffleHand
(
tp
)
else
Duel
.
DiscardDeck
(
tp
,
dcount
-
seq
,
REASON_EFFECT
)
end
else
Duel
.
DiscardDeck
(
tp
,
dcount
-
seq
,
REASON_EFFECT
+
REASON_REVEAL
)
end
end
script/c36046926.lua
View file @
87e60ce9
...
...
@@ -21,22 +21,6 @@ function c36046926.initial_effect(c)
e2
:
SetTarget
(
c36046926
.
destg
)
e2
:
SetOperation
(
c36046926
.
desop
)
c
:
RegisterEffect
(
e2
)
if
not
c36046926
.
global_check
then
c36046926
.
global_check
=
true
c36046926
[
0
]
=
Group
.
CreateGroup
()
c36046926
[
0
]:
KeepAlive
()
c36046926
[
1
]
=
0
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_CONFIRM_DECKTOP
)
ge1
:
SetOperation
(
c36046926
.
checkop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
function
c36046926
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
c36046926
[
0
]:
Clear
()
c36046926
[
0
]:
Merge
(
eg
)
c36046926
[
1
]
=
re
end
function
c36046926
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
0
end
...
...
@@ -54,7 +38,7 @@ function c36046926.operation(e,tp,eg,ep,ev,re,r,rp)
local
sg
=
g
:
Filter
(
Card
.
IsRace
,
nil
,
RACE_PLANT
)
if
sg
:
GetCount
()
>
0
then
Duel
.
DisableShuffleCheck
()
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
+
REASON_REVEAL
)
end
ac
=
ac
-
sg
:
GetCount
()
if
ac
>
0
then
...
...
@@ -66,8 +50,9 @@ function c36046926.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c36046926
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
and
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_DECK
)
and
c36046926
[
0
]:
IsContains
(
e
:
GetHandler
())
and
c36046926
[
1
]
==
re
local
c
=
e
:
GetHandler
()
return
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
(
c
:
IsReason
(
REASON_REVEAL
)
or
c
:
IsPreviousPosition
(
POS_FACEUP
)
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
EFFECT_REVERSE_DECK
))
end
function
c36046926
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsDestructable
()
end
...
...
script/c38210374.lua
View file @
87e60ce9
...
...
@@ -12,6 +12,7 @@ function c38210374.initial_effect(c)
c
:
RegisterEffect
(
e1
)
--remove material
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
38210374
,
1
))
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
e2
:
SetRange
(
LOCATION_SZONE
)
...
...
script/c58577036.lua
View file @
87e60ce9
...
...
@@ -51,6 +51,6 @@ function c58577036.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummonComplete
()
end
else
Duel
.
DiscardDeck
(
tp
,
dcount
-
seq
,
REASON_EFFECT
)
Duel
.
DiscardDeck
(
tp
,
dcount
-
seq
,
REASON_EFFECT
+
REASON_REVEAL
)
end
end
script/c62434031.lua
View file @
87e60ce9
...
...
@@ -19,22 +19,6 @@ function c62434031.initial_effect(c)
e2
:
SetTarget
(
c62434031
.
tdtg
)
e2
:
SetOperation
(
c62434031
.
tdop
)
c
:
RegisterEffect
(
e2
)
if
not
c62434031
.
global_check
then
c62434031
.
global_check
=
true
c62434031
[
0
]
=
Group
.
CreateGroup
()
c62434031
[
0
]:
KeepAlive
()
c62434031
[
1
]
=
0
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_CONFIRM_DECKTOP
)
ge1
:
SetOperation
(
c62434031
.
checkop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
function
c62434031
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
c62434031
[
0
]:
Clear
()
c62434031
[
0
]:
Merge
(
eg
)
c62434031
[
1
]
=
re
end
function
c62434031
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
0
end
...
...
@@ -46,14 +30,20 @@ function c62434031.operation(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
if
tc
:
IsRace
(
RACE_PLANT
)
then
Duel
.
DisableShuffleCheck
()
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
+
REASON_REVEAL
)
else
Duel
.
MoveSequence
(
tc
,
1
)
end
end
function
c62434031
.
tdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
and
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_DECK
)
and
c62434031
[
0
]:
IsContains
(
e
:
GetHandler
())
and
c62434031
[
1
]
==
re
local
c
=
e
:
GetHandler
()
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
EFFECT_REVERSE_DECK
)
then
Debug
.
Message
(
"Get it!"
)
else
Debug
.
Message
(
"oops."
)
end
return
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
(
c
:
IsReason
(
REASON_REVEAL
)
or
c
:
IsPreviousPosition
(
POS_FACEUP
)
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
EFFECT_REVERSE_DECK
))
end
function
c62434031
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
0x90
)
end
...
...
script/c62966332.lua
View file @
87e60ce9
...
...
@@ -10,6 +10,8 @@ function c62966332.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_REVERSE_DECK
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
1
,
1
)
c
:
RegisterEffect
(
e2
)
end
script/c63257623.lua
View file @
87e60ce9
...
...
@@ -24,22 +24,6 @@ function c63257623.initial_effect(c)
e3
:
SetTarget
(
c63257623
.
sptg
)
e3
:
SetOperation
(
c63257623
.
spop
)
c
:
RegisterEffect
(
e3
)
if
not
c63257623
.
global_check
then
c63257623
.
global_check
=
true
c63257623
[
0
]
=
Group
.
CreateGroup
()
c63257623
[
0
]:
KeepAlive
()
c63257623
[
1
]
=
0
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_CONFIRM_DECKTOP
)
ge1
:
SetOperation
(
c63257623
.
checkop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
function
c63257623
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
c63257623
[
0
]:
Clear
()
c63257623
[
0
]:
Merge
(
eg
)
c63257623
[
1
]
=
re
end
function
c63257623
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
0
end
...
...
@@ -51,14 +35,15 @@ function c63257623.operation(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
if
tc
:
IsRace
(
RACE_PLANT
)
then
Duel
.
DisableShuffleCheck
()
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
+
REASON_REVEAL
)
else
Duel
.
MoveSequence
(
tc
,
1
)
end
end
function
c63257623
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
and
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_DECK
)
and
c63257623
[
0
]:
IsContains
(
e
:
GetHandler
())
and
c63257623
[
1
]
==
re
local
c
=
e
:
GetHandler
()
return
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
(
c
:
IsReason
(
REASON_REVEAL
)
or
c
:
IsPreviousPosition
(
POS_FACEUP
)
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
EFFECT_REVERSE_DECK
))
end
function
c63257623
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
63257623
)
==
0
end
...
...
script/c70222318.lua
View file @
87e60ce9
...
...
@@ -64,7 +64,7 @@ function c70222318.tgop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
if
tc
:
IsRace
(
RACE_PLANT
)
then
Duel
.
DisableShuffleCheck
()
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
+
REASON_REVEAL
)
else
local
opt
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
70222318
,
1
),
aux
.
Stringid
(
70222318
,
2
))
if
opt
==
1
then
...
...
script/c79106360.lua
View file @
87e60ce9
...
...
@@ -77,7 +77,7 @@ function c79106360.sp(e,tp,ct)
tc
=
g
:
GetNext
()
end
if
conf
-
g
:
GetCount
()
>
0
then
Duel
.
DiscardDeck
(
tp
,
conf
-
g
:
GetCount
(),
REASON_EFFECT
)
Duel
.
DiscardDeck
(
tp
,
conf
-
g
:
GetCount
(),
REASON_EFFECT
++
REASON_REVEAL
)
end
return
g
end
script/c99429730.lua
View file @
87e60ce9
...
...
@@ -21,22 +21,6 @@ function c99429730.initial_effect(c)
e2
:
SetTarget
(
c99429730
.
tdtg
)
e2
:
SetOperation
(
c99429730
.
tdop
)
c
:
RegisterEffect
(
e2
)
if
not
c99429730
.
global_check
then
c99429730
.
global_check
=
true
c99429730
[
0
]
=
Group
.
CreateGroup
()
c99429730
[
0
]:
KeepAlive
()
c99429730
[
1
]
=
0
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_CONFIRM_DECKTOP
)
ge1
:
SetOperation
(
c99429730
.
checkop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
function
c99429730
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
c99429730
[
0
]:
Clear
()
c99429730
[
0
]:
Merge
(
eg
)
c99429730
[
1
]
=
re
end
function
c99429730
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
0
end
...
...
@@ -54,7 +38,7 @@ function c99429730.operation(e,tp,eg,ep,ev,re,r,rp)
local
sg
=
g
:
Filter
(
Card
.
IsRace
,
nil
,
RACE_PLANT
)
if
sg
:
GetCount
()
>
0
then
Duel
.
DisableShuffleCheck
()
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
+
REASON_REVEAL
)
end
ac
=
ac
-
sg
:
GetCount
()
if
ac
>
0
then
...
...
@@ -66,8 +50,9 @@ function c99429730.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c99429730
.
tdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
and
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_DECK
)
and
c99429730
[
0
]:
IsContains
(
e
:
GetHandler
())
and
c99429730
[
1
]
==
re
local
c
=
e
:
GetHandler
()
return
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
(
c
:
IsReason
(
REASON_REVEAL
)
or
c
:
IsPreviousPosition
(
POS_FACEUP
)
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
EFFECT_REVERSE_DECK
))
end
function
c99429730
.
filter
(
c
)
return
c
:
IsRace
(
RACE_PLANT
)
and
c
:
IsAbleToDeck
()
...
...
script/c99641328.lua
View file @
87e60ce9
...
...
@@ -21,22 +21,6 @@ function c99641328.initial_effect(c)
e2
:
SetTarget
(
c99641328
.
destg
)
e2
:
SetOperation
(
c99641328
.
desop
)
c
:
RegisterEffect
(
e2
)
if
not
c99641328
.
global_check
then
c99641328
.
global_check
=
true
c99641328
[
0
]
=
Group
.
CreateGroup
()
c99641328
[
0
]:
KeepAlive
()
c99641328
[
1
]
=
0
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_CONFIRM_DECKTOP
)
ge1
:
SetOperation
(
c99641328
.
checkop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
function
c99641328
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
c99641328
[
0
]:
Clear
()
c99641328
[
0
]:
Merge
(
eg
)
c99641328
[
1
]
=
re
end
function
c99641328
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
0
end
...
...
@@ -54,7 +38,7 @@ function c99641328.operation(e,tp,eg,ep,ev,re,r,rp)
local
sg
=
g
:
Filter
(
Card
.
IsRace
,
nil
,
RACE_PLANT
)
if
sg
:
GetCount
()
>
0
then
Duel
.
DisableShuffleCheck
()
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
+
REASON_REVEAL
)
end
ac
=
ac
-
sg
:
GetCount
()
if
ac
>
0
then
...
...
@@ -66,8 +50,9 @@ function c99641328.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c99641328
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
and
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_DECK
)
and
c99641328
[
0
]:
IsContains
(
e
:
GetHandler
())
and
c99641328
[
1
]
==
re
local
c
=
e
:
GetHandler
()
return
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
(
c
:
IsReason
(
REASON_REVEAL
)
or
c
:
IsPreviousPosition
(
POS_FACEUP
)
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
EFFECT_REVERSE_DECK
))
end
function
c99641328
.
desfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsDestructable
()
...
...
script/constant.lua
View file @
87e60ce9
...
...
@@ -101,6 +101,7 @@ REASON_XYZ =0x200000 --
REASON_REPLACE
=
0x1000000
--
REASON_DRAW
=
0x2000000
--
REASON_REDIRECT
=
0x4000000
--
REASON_REVEAL
=
0x8000000
--
--Summon Type
SUMMON_TYPE_NORMAL
=
0x10000000
SUMMON_TYPE_ADVANCE
=
0x11000000
...
...
system.conf
View file @
87e60ce9
...
...
@@ -5,7 +5,7 @@ antialias = 2
errorlog
=
1
nickname
=
Player
gamename
=
Game
lastdeck
=
806
lastdeck
=
new
textfont
=
c
:/
windows
/
fonts
/
simsun
.
ttc
14
numfont
=
c
:/
windows
/
fonts
/
arialbd
.
ttf
serverport
=
7911
...
...
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