Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
E
Entertainment Server
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
Peter Xin
Entertainment Server
Commits
96976661
Commit
96976661
authored
Sep 01, 2024
by
root
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refresh on 2024-09-01 12:58:15
parent
814ee75e
Changes
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
93 additions
and
41 deletions
+93
-41
script/c100223005.lua
script/c100223005.lua
+8
-2
script/c100223006.lua
script/c100223006.lua
+1
-1
script/c100223008.lua
script/c100223008.lua
+1
-1
script/c100223010.lua
script/c100223010.lua
+2
-2
script/c100223017.lua
script/c100223017.lua
+5
-5
script/c100223020.lua
script/c100223020.lua
+2
-2
script/c100223024.lua
script/c100223024.lua
+1
-1
script/c100223031.lua
script/c100223031.lua
+0
-1
script/c100223032.lua
script/c100223032.lua
+0
-1
script/c100223034.lua
script/c100223034.lua
+3
-2
script/c100223038.lua
script/c100223038.lua
+1
-0
script/c114514007.lua
script/c114514007.lua
+1
-0
script/c114514128.lua
script/c114514128.lua
+1
-1
script/c114514627.lua
script/c114514627.lua
+7
-7
script/c114514846.lua
script/c114514846.lua
+1
-3
script/c114514848.lua
script/c114514848.lua
+2
-1
script/c191981041.lua
script/c191981041.lua
+5
-1
test-strings.conf
test-strings.conf
+1
-1
texts/balanced.txt
texts/balanced.txt
+51
-9
No files found.
script/c100223005.lua
View file @
96976661
...
...
@@ -53,8 +53,14 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
else
return
false
end
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
e
:
GetLabelObject
()
Duel
.
SendtoDeck
(
g
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_SPSUMMON
)
local
dc
=
e
:
GetLabelObject
()
if
dc
:
IsLocation
(
LOCATION_HAND
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
dc
)
end
if
dc
:
IsLocation
(
LOCATION_GRAVE
)
then
Duel
.
HintSelection
(
Group
.
FromCards
(
dc
))
end
Duel
.
SendtoDeck
(
dc
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_SPSUMMON
)
end
function
s
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
not
(
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsRank
(
4
))
and
c
:
IsLocation
(
LOCATION_EXTRA
)
...
...
script/c100223006.lua
View file @
96976661
...
...
@@ -65,7 +65,7 @@ function s.thfilter(c)
return
c
:
IsSetCard
(
0x2bf
)
and
c
:
IsAbleToHand
()
end
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
chk
==
0
then
return
Duel
.
CheckRemoveOverlayCard
(
tp
,
1
,
0
,
2
,
REASON_EFFECT
)
and
g
:
GetClassCount
(
Card
.
GetCode
)
>=
2
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
2
,
tp
,
LOCATION_DECK
)
...
...
script/c100223008.lua
View file @
96976661
...
...
@@ -35,7 +35,7 @@ function s.mtfilter(c,e)
end
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
if
tc
:
IsRelateToEffect
(
e
)
and
aux
.
NecroValleyFilter
()(
tc
)
and
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
and
Duel
.
IsExistingMatchingCard
(
s
.
xyzfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
1
))
then
Duel
.
BreakEffect
()
...
...
script/c100223010.lua
View file @
96976661
...
...
@@ -32,9 +32,9 @@ function s.cfilter(c)
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsControler
(
1
-
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingTarget
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
local
gc
=
Duel
.
GetMatchingGroupCount
(
s
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
if
chk
==
0
then
return
gc
>
0
and
Duel
.
IsExistingTarget
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
sg
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
gc
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
sg
,
sg
:
GetCount
(),
0
,
0
)
...
...
script/c100223017.lua
View file @
96976661
...
...
@@ -8,10 +8,10 @@ function s.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetTarget
(
s
.
dr
tg
)
e1
:
SetOperation
(
s
.
dr
op
)
e1
:
SetTarget
(
s
.
rm
tg
)
e1
:
SetOperation
(
s
.
rm
op
)
c
:
RegisterEffect
(
e1
)
--
bp remov
e
--
indestructabl
e
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
...
...
@@ -36,11 +36,11 @@ end
function
s
.
rmfilter
(
c
)
return
c
:
IsSetCard
(
0x2c2
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemove
()
end
function
s
.
dr
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
rm
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
rmfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
s
.
dr
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
rm
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
rmfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
...
...
script/c100223020.lua
View file @
96976661
...
...
@@ -10,6 +10,7 @@ function s.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_REMOVE
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
...
...
@@ -46,7 +47,7 @@ function s.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
dg
,
1
,
0
,
0
)
local
lg
=
e
:
GetHandler
():
GetLinkedGroup
()
if
lg
and
lg
:
FilterCount
(
Card
.
IsType
,
nil
,
TYPE_MONSTER
)
>
0
then
e
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CAN_FORBIDDEN
)
e
:
SetProperty
(
EFFECT_FLAG_CA
RD_TARGET
+
EFFECT_FLAG_CA
NNOT_DISABLE
+
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CAN_FORBIDDEN
)
else
e
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
end
...
...
@@ -55,7 +56,6 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SendtoDeck
(
tc
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
>
0
and
tc
:
IsLocation
(
LOCATION_DECK
+
LOCATION_EXTRA
)
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
):
Select
(
tp
,
1
,
1
,
nil
)
if
#
g
>
0
then
...
...
script/c100223024.lua
View file @
96976661
...
...
@@ -24,7 +24,7 @@ end
function
s
.
spfilter
(
c
,
e
,
tp
,
co
,
res
)
return
c
:
IsSetCard
(
0x2c2
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
((
c
:
IsLocation
(
LOCATION_DECK
)
and
(
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
or
res
and
Duel
.
GetMZoneCount
(
tp
,
res
)
>
0
))
or
(
c
:
IsLocation
(
LOCATION_EXTRA
)
and
c
:
IsType
(
TYPE_LINK
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
res
,
c
)
and
co
>
2
))
or
(
c
:
IsLocation
(
LOCATION_EXTRA
)
and
c
:
IsType
(
TYPE_LINK
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
res
,
c
)
>
0
and
co
>
2
))
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
...
...
script/c100223031.lua
View file @
96976661
...
...
@@ -47,7 +47,6 @@ function s.initial_effect(c)
end
end
function
s
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
eg
:
GetCount
()
for
tc
in
aux
.
Next
(
eg
)
do
Duel
.
RegisterFlagEffect
(
tp
,
id
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
1
-
tp
,
id
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
...
...
script/c100223032.lua
View file @
96976661
...
...
@@ -45,7 +45,6 @@ function s.initial_effect(c)
end
end
function
s
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
eg
:
GetCount
()
for
tc
in
aux
.
Next
(
eg
)
do
if
tc
:
IsPreviousLocation
(
LOCATION_DECK
+
LOCATION_HAND
)
and
not
tc
:
IsCode
(
id
)
and
tc
:
IsType
(
TYPE_MONSTER
)
then
...
...
script/c100223034.lua
View file @
96976661
...
...
@@ -42,14 +42,15 @@ function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
s
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
if
e
:
GetHandler
()
:
IsRelateToEffect
(
e
)
then
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
BreakEffect
()
Duel
.
Destroy
(
e
:
GetHandler
()
,
REASON_EFFECT
)
Duel
.
Destroy
(
c
,
REASON_EFFECT
)
end
end
end
...
...
script/c100223038.lua
View file @
96976661
...
...
@@ -22,6 +22,7 @@ function s.initial_effect(c)
e3
:
SetCategory
(
CATEGORY_TOHAND
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
)
...
...
script/c114514007.lua
View file @
96976661
...
...
@@ -127,6 +127,7 @@ function s.teop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
script/c114514128.lua
View file @
96976661
...
...
@@ -118,7 +118,7 @@ function s.regop2(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
drcon3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
id
+
o
+
o
)
~=
0
return
Duel
.
GetFlagEffect
(
tp
,
id
+
o
+
o
)
~=
0
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetActivateLocation
()
==
LOCATION_MZONE
and
re
:
GetHandler
():
IsSummonLocation
(
LOCATION_EXTRA
)
and
ep
~=
tp
end
function
s
.
drop3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
...
...
script/c114514627.lua
View file @
96976661
...
...
@@ -26,11 +26,11 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e2
:
SetCategory
(
CATEGORY_TOGRAV
)
e2
:
SetCategory
(
CATEGORY_TOGRAV
E
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetOperation
(
cm
.
op1
1
)
e2
:
SetOperation
(
cm
.
op1
)
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -57,15 +57,15 @@ function cm.op1(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CODE
)
getmetatable
(
e
:
GetHandler
()).
announce_filter
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
}
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
getmetatable
(
e
:
GetHandler
()).
announce_filter
))
if
Duel
.
IsExistingMatchingCard
(
Card
.
IsCode
,
tp
,
0
,
LOCATIONDECK
,
1
,
nil
,
ac
)
then
if
Duel
.
IsExistingMatchingCard
(
Card
.
IsCode
,
tp
,
0
,
LOCATION
_
DECK
,
1
,
nil
,
ac
)
then
Duel
.
Hint
(
3
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
Card
.
IsCode
,
tp
,
0
,
LOCATION_DECK
,
1
,
1
,
nil
,
ac
)
if
#
g
==
0
then
return
false
end
Duel
.
SendtoGrave
(
g
,
REASON_EF
EF
CT
)
Duel
.
SendtoGrave
(
g
,
REASON_EF
FE
CT
)
end
end
function
cm
.
f
(
c
)
return
c
:
IsControlerCanBeChanged
()
and
c
:
IsFaceup
()
and
c
:
Is
Level
Below
(
2000
)
return
c
:
IsControlerCanBeChanged
()
and
c
:
IsFaceup
()
and
c
:
Is
Attack
Below
(
2000
)
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
2
,
REASON_COST
)
end
...
...
@@ -83,7 +83,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
GetControl
(
tc
,
tp
)
~=
0
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EF
EF
CT_TYPE_SINGLE
)
e1
:
SetType
(
EF
FE
CT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_RACE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetValue
(
RACE_ZOMBIE
)
...
...
@@ -92,7 +92,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_CHANGE_ATTRIBUTE
)
e2
:
SetValue
(
ATTRIBUTE_DARK
)
tc
:
RegisterEffec
r
(
e2
)
tc
:
RegisterEffec
t
(
e2
)
local
e3
=
e1
:
Clone
()
e3
:
SetCode
(
EFFECT_ADD_SETCODE
)
e3
:
SetValue
(
0x8e
)
...
...
script/c114514846.lua
View file @
96976661
...
...
@@ -57,9 +57,7 @@ function s.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
s
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
--to hand
function
s
.
filter
(
c
)
...
...
script/c114514848.lua
View file @
96976661
...
...
@@ -53,7 +53,7 @@ function s.rfilter(c)
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
local
sg
=
Duel
.
GetMatchingGroup
(
s
.
rfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
c
)
local
sg
=
Duel
.
GetMatchingGroup
(
s
.
rfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
sg
,
sg
:
GetCount
(),
0
,
0
)
end
...
...
@@ -64,6 +64,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
if
Duel
.
SendtoHand
(
sg
,
tp
,
REASON_EFFECT
)
~=
0
and
Duel
.
ConfirmCards
(
tp
,
sg
)
then
local
sc
=
Duel
.
GetMatchingGroup
(
s
.
rfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
sc
:
AddCard
(
e
:
GetHandler
())
local
count
=
sc
:
GetCount
()
if
Duel
.
SendtoHand
(
sc
,
nil
,
REASON_EFFECT
)
~=
0
and
count
==
1
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToGrave
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
0
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
...
...
script/c191981041.lua
View file @
96976661
...
...
@@ -11,6 +11,7 @@ function s.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_TRAP_ACT_IN_HAND
)
e2
:
SetCondition
(
s
.
handcon
)
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_DESTROY
)
...
...
@@ -34,7 +35,7 @@ function s.chcon(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
chtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
IsLocation
(
LOCATION_HAND
)
and
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
rp
,
0
,
LOCATION_HAND
,
1
,
nil
,
e
,
tp
)
or
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
rp
,
0
,
LOCATION_HAND
+
LOCATION_DECK
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
if
not
c
:
IsStatus
(
STATUS_ACT_FROM_HAND
)
and
c
:
IsLocation
(
LOCATION_SZONE
)
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
)
else
...
...
@@ -78,6 +79,9 @@ function s.repop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
function
s
.
handcon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
e
:
GetHandlerPlayer
())
end
function
s
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
1
-
tp
end
...
...
test-strings.conf
View file @
96976661
#The first line is used for comment
!
setname
0
x2bf
雷火沸
石
!
setname
0
x2bf
雷火沸
动
!
setname
0
x2c1
龙华
!
setname
0
x2c2
魔∀丽丝
\ No newline at end of file
texts/balanced.txt
View file @
96976661
...
...
@@ -747,6 +747,51 @@ DDD最大场额外卡包(纯恶搞)(10105691) 融合魔法 (Custom)
—卡图来源网络
—lua屑人
燃烧拳击手 拘束蛮将 刺拳霸王(10111114) 炎 5阶 战士/超量 2800 2500 (Custom)
系列:燃烧拳击手
战士族·炎属性5星怪兽×3
「燃烧拳击手 拘束蛮将 刺拳霸王」1回合1次也能在自己场上的「燃烧拳击手 拘束蛮兵 刺拳拳手」上面重叠来超量召唤。
①:这张卡给与对方战斗伤害时,以对方场上1张卡为对象才能发动。那张卡破坏。
②:自己场上的「燃烧拳击手」怪兽被战斗·效果破坏的场合,可以作为代替把这张卡1个超量素材取除,给与对方800伤害,自己回复800基本分。
③:这张卡的超量素材被取除的场合发动。自己场上的全部「燃烧拳击手」怪兽的攻击力·守备力上升800。
—QQ1010552503
—卡图来源网络
提示文本:是否在「燃烧拳击手 拘束蛮兵 刺拳拳手」上面重叠来超量召唤?
英豪冠军 断钢剑皇(10111115) 光 5阶 战士/超量 2200 2200 (Custom)
系列:英豪
战士族5星怪兽×3
「英豪冠军 断钢剑皇」1回合1次也能在自己场上的「英豪冠军 断钢剑王」上面重叠来超量召唤。
①:这张卡不受对方怪兽的效果影响。
②:1回合1次,把这张卡3个超量素材取除才能发动。这张卡的攻击力变成原本攻击力的2倍。
—QQ1010552503
—卡图来源网络
提示文本:是否在「英豪冠军 断钢剑王」上面重叠来超量召唤?
英豪冠军 草薙剑皇(10111116) 地 5阶 战士/超量 2800 2700 (Custom)
系列:英豪
战士族5星怪兽×3
「英豪冠军 草薙剑皇」1回合1次也能在自己场上的「英豪冠军 草薙剑王」上面重叠来超量召唤。
①:这张卡不受对方陷阱卡的效果影响。
②:魔法卡发动时,把这张卡2个超量素材取除才能发动。那个发动无效并破坏。那之后,这张卡的攻击力·守备力上升1000。
—QQ1010552503
—卡图来源网络
提示文本:是否在「英豪冠军 草薙剑王」上面重叠来超量召唤?
英豪冠军 英弓皇(10111117) 地 5阶 战士/超量 2400 2000 (Custom)
系列:英豪
战士族5星怪兽×3
「英豪冠军 英弓皇」1回合1次也能在自己场上的「英豪冠军 英弓王」上面重叠来超量召唤。
①:这张卡不受对方魔法卡的效果影响。
②:1回合1次,对方把怪兽特殊召唤之际,把这张卡1个超量素材取除才能发动。那次特殊召唤无效,那些怪兽除外。
—QQ1010552503
—卡图来源网络
提示文本:是否在「英豪冠军 英弓王」上面重叠来超量召唤?
电子化武导(11460566) 地 1星 战士 800 800 (Custom)
系列:电子
①:这张卡从场上离开的场合才能发动。把4只等级不同的战士族「电子」怪兽和1只「利刃滑冰者」从自己的手卡·卡组·墓地特殊召唤。这个效果特殊召唤的怪兽不能解放,这个效果发动的回合,自己不是战士族「电子」怪兽不能从额外卡组特殊召唤。
...
...
@@ -3379,15 +3424,15 @@ No.95 银河眼暗物质龙(平衡版)(114514019) 暗 9阶 龙/超量 4000 0
效果分类:效果无效
提示文本:支付700基本分
红龙(
暂未实装
)(114514022) 光 12星 龙/同调 0 0 (SC)
红龙(
平衡版
)(114514022) 光 12星 龙/同调 0 0 (SC)
调整+调整以外的怪兽1只以上,包含同调怪兽
这个卡名的①②的效果1回合各能使用1次。
①:这张卡特殊召唤的场合才能发动。从卡组把有「红龙」的卡名记述的1张魔法·陷阱卡加入手卡。
②:自己·对方回合,可以从以下效果中选1个发动。
●从额外卡组把1只7·8星的【龙族同调怪兽或者「动力工具」同调怪兽】特殊召唤。
●以除「红龙」外的场上1只7
·8星的【龙族同调怪兽或者「动力工具」同调怪兽】为对象才能发动。那只怪兽解放,比解放的怪兽等级高的1只「动力工具」同调怪兽或者龙族同调怪兽
当作同调召唤从额外卡组特殊召唤。
●以除「红龙」外的场上1只7
星以上的【龙族同调怪兽或者「动力工具」同调怪兽】为对象才能发动。那只怪兽送去墓地,【等级比那只怪兽高,且属性与自己场上·墓地的11星以下调整怪兽·同调怪兽中的任意种相同】的1只【龙族同调怪兽或者「动力工具」同调怪兽】
当作同调召唤从额外卡组特殊召唤。
效果分类:卡组检索、特殊召唤、同调相关
提示文本:卡组检索、
同调召唤
提示文本:卡组检索、
特殊召唤决斗龙、决斗龙进化
捕食植物 青锁龙森蚺(平衡版)(114514023) 暗 LINK-2 植物/连接 500 2 [↙][↘]
系列:捕食植物
...
...
@@ -5165,12 +5210,9 @@ Take Your Heart(114514326) 通常陷阱 (Custom)
②:自己的装备怪兽进行战斗的伤害计算时,与装备怪兽战斗的对方怪兽的攻击力变成2倍。
③:自己场上存在有装备卡的「御巫」怪兽的场合,把墓地的这张卡除外,以对方场上1只怪兽为对象才能发动。那只怪兽的控制权直到回合结束时得到。
邪心英雄 霸王新宇侠
(114514348) 暗 7星 恶魔 2500 2000 (Custom)
鸽了爽
(114514348) 暗 7星 恶魔 2500 2000 (Custom)
系列:邪心英雄
这个卡名的②③的效果1回合各能使用1次。
①:这张卡的卡名只要在场上·墓地存在当作「元素英雄 新宇侠」使用,但也视作「邪心英雄」怪兽。
②:自己场上·墓地有「元素英雄」怪兽存在,自己场上的卡被战斗或者对方的效果破坏的场合才能发动。这张卡从手卡特殊召唤。
③:这张卡特殊召唤的场合才能发动。从自己·对方场上把融合怪兽卡决定的包含这张卡的融合素材怪兽送去墓地,把那1只融合怪兽从额外卡组融合召唤。
鸽了爽
小木枯(114514349) 光 3星 不死/调整 0 1800 (Custom)
这个卡名的效果1回合只能使用1次。
...
...
@@ -11165,7 +11207,7 @@ SHUT UP!(172016014) 通常魔法 (Custom)
①:作为这张卡发动时的效果处理,必须从卡组把1只「邪心英雄」怪兽或者「暗黑界」怪兽加入自己或者对方手卡。
②:主要阶段才能发动1次。丢弃1张手卡,直到下个回合结束时,以下效果适用:
●对方场上的表侧表示怪兽变成恶魔族。
③:
1回合1次,双方怪兽进行战斗的伤害计算时才能发动。从卡组把1只怪兽
送去墓地。
③:
双方怪兽进行战斗的伤害计算时才能发动1次。从卡组把1张卡
送去墓地。
④:自己的额外卡组1只恶魔族融合怪兽给双方确认,把场上的这张卡和自己墓地的等级不同的恶魔族怪兽共计为确认的怪兽的等级的数量除外才能发动。下个自己的准备阶段,那只怪兽无视召唤条件特殊召唤。
提示文本:种族变更、特殊召唤
...
...
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