Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
specials
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
JoyJ
specials
Commits
10eb89cc
Commit
10eb89cc
authored
Feb 07, 2022
by
JoyJ
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/purerosefallen/specials
parents
1b62a65b
a89f38eb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
309 additions
and
5 deletions
+309
-5
tiger/c11510448.lua
tiger/c11510448.lua
+150
-0
tiger/full/2022-2.cdb
tiger/full/2022-2.cdb
+0
-0
tiger/full/script/c11510448.lua
tiger/full/script/c11510448.lua
+150
-0
wanning/special.lua
wanning/special.lua
+9
-5
No files found.
tiger/c11510448.lua
0 → 100644
View file @
10eb89cc
--十二獣タイグリス
function
c11510448
.
initial_effect
(
c
)
--xyz summon
aux
.
AddXyzProcedure
(
c
,
nil
,
4
,
3
,
c11510448
.
ovfilter
,
aux
.
Stringid
(
11510448
,
0
),
3
,
c11510448
.
xyzop
)
c
:
EnableReviveLimit
()
--atk
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetValue
(
c11510448
.
atkval
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e2
:
SetValue
(
c11510448
.
defval
)
c
:
RegisterEffect
(
e2
)
--xyz material
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
11510448
,
1
))
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetCountLimit
(
1
,
EFFECT_COUNT_CODE_SINGLE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCost
(
c11510448
.
cost
)
e3
:
SetTarget
(
c11510448
.
target
)
e3
:
SetOperation
(
c11510448
.
operation
)
c
:
RegisterEffect
(
e3
)
--draw
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetCategory
(
CATEGORY_DRAW
)
e4
:
SetDescription
(
aux
.
Stringid
(
11510448
,
3
))
e4
:
SetType
(
EFFECT_TYPE_IGNITION
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCountLimit
(
1
,
EFFECT_COUNT_CODE_SINGLE
)
e4
:
SetCost
(
c11510448
.
cost
)
e4
:
SetTarget
(
c11510448
.
drtg
)
e4
:
SetOperation
(
c11510448
.
drop
)
c
:
RegisterEffect
(
e4
)
--damage
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e5
:
SetCode
(
EVENT_CHAINING
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e5
:
SetOperation
(
c11510448
.
regop1
)
c
:
RegisterEffect
(
e5
)
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e6
:
SetCode
(
EVENT_CHAIN_SOLVED
)
e6
:
SetRange
(
LOCATION_MZONE
)
e6
:
SetCondition
(
c11510448
.
damcon1
)
e6
:
SetOperation
(
c11510448
.
damop
)
c
:
RegisterEffect
(
e6
)
--damage
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e7
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e7
:
SetRange
(
LOCATION_MZONE
)
e7
:
SetCondition
(
c11510448
.
damcon2
)
e7
:
SetOperation
(
c11510448
.
damop
)
c
:
RegisterEffect
(
e7
)
local
e8
=
e7
:
Clone
()
e8
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e8
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
+
EFFECT_FLAG_IGNORE_RANGE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e2
:
SetCode
(
EFFECT_TO_GRAVE_REDIRECT
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetTargetRange
(
0xfe
,
0xff
)
e2
:
SetValue
(
LOCATION_REMOVED
)
e2
:
SetTarget
(
function
(
e
,
c
)
return
c
:
GetOwner
()
~=
e
:
GetHandlerPlayer
()
end
)
c
:
RegisterEffect
(
e2
)
end
function
c11510448
.
ovfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xf1
)
and
not
c
:
IsCode
(
11510448
)
end
function
c11510448
.
xyzop
(
e
,
tp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
11510448
)
==
0
end
Duel
.
RegisterFlagEffect
(
tp
,
11510448
,
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_OATH
,
1
)
end
function
c11510448
.
atkfilter
(
c
)
return
c
:
IsSetCard
(
0xf1
)
and
c
:
GetAttack
()
>=
0
end
function
c11510448
.
atkval
(
e
,
c
)
local
g
=
e
:
GetHandler
():
GetOverlayGroup
():
Filter
(
c11510448
.
atkfilter
,
nil
)
return
g
:
GetSum
(
Card
.
GetAttack
)
end
function
c11510448
.
deffilter
(
c
)
return
c
:
IsSetCard
(
0xf1
)
and
c
:
GetDefense
()
>=
0
end
function
c11510448
.
defval
(
e
,
c
)
local
g
=
e
:
GetHandler
():
GetOverlayGroup
():
Filter
(
c11510448
.
deffilter
,
nil
)
return
g
:
GetSum
(
Card
.
GetDefense
)
end
function
c11510448
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
end
function
c11510448
.
filter1
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_XYZ
)
end
function
c11510448
.
filter2
(
c
)
return
c
:
IsSetCard
(
0xf1
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanOverlay
()
end
function
c11510448
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c11510448
.
filter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingTarget
(
c11510448
.
filter2
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
11510448
,
2
))
Duel
.
SelectTarget
(
tp
,
c11510448
.
filter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c11510448
.
filter2
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
g
,
1
,
0
,
0
)
end
function
c11510448
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
tc1
=
g
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_MZONE
):
GetFirst
()
local
g2
=
g
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_GRAVE
)
if
tc1
and
tc1
:
IsFaceup
()
and
not
tc1
:
IsImmuneToEffect
(
e
)
and
g2
:
GetCount
()
>
0
then
Duel
.
Overlay
(
tc1
,
g2
)
end
end
function
c11510448
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
1
)
end
function
c11510448
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
end
function
c11510448
.
regop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
RegisterFlagEffect
(
11510448
,
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TURN_SET
+
RESET_CHAIN
,
0
,
1
)
end
function
c11510448
.
damcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
GetOverlayCount
()
>
0
and
ep
~=
tp
and
c
:
GetFlagEffect
(
11510448
)
~=
0
end
function
c11510448
.
damcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
Card
.
IsSummonPlayer
,
1
,
nil
,
1
-
tp
)
and
e
:
GetHandler
():
GetOverlayCount
()
>
0
end
function
c11510448
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,({
9342162
,
42090294
,
45593826
,
68182934
,
73779005
,
77936940
,
82114013
})[
math.random
(
7
)])
Duel
.
Damage
(
1
-
tp
,
e
:
GetHandler
():
GetOverlayCount
()
*
200
,
REASON_EFFECT
)
end
tiger/full/2022-2.cdb
0 → 100644
View file @
10eb89cc
File added
tiger/full/script/c11510448.lua
0 → 100644
View file @
10eb89cc
--十二獣タイグリス
function
c11510448
.
initial_effect
(
c
)
--xyz summon
aux
.
AddXyzProcedure
(
c
,
nil
,
4
,
3
,
c11510448
.
ovfilter
,
aux
.
Stringid
(
11510448
,
0
),
3
,
c11510448
.
xyzop
)
c
:
EnableReviveLimit
()
--atk
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetValue
(
c11510448
.
atkval
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e2
:
SetValue
(
c11510448
.
defval
)
c
:
RegisterEffect
(
e2
)
--xyz material
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
11510448
,
1
))
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetCountLimit
(
1
,
EFFECT_COUNT_CODE_SINGLE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCost
(
c11510448
.
cost
)
e3
:
SetTarget
(
c11510448
.
target
)
e3
:
SetOperation
(
c11510448
.
operation
)
c
:
RegisterEffect
(
e3
)
--draw
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetCategory
(
CATEGORY_DRAW
)
e4
:
SetDescription
(
aux
.
Stringid
(
11510448
,
3
))
e4
:
SetType
(
EFFECT_TYPE_IGNITION
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCountLimit
(
1
,
EFFECT_COUNT_CODE_SINGLE
)
e4
:
SetCost
(
c11510448
.
cost
)
e4
:
SetTarget
(
c11510448
.
drtg
)
e4
:
SetOperation
(
c11510448
.
drop
)
c
:
RegisterEffect
(
e4
)
--damage
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e5
:
SetCode
(
EVENT_CHAINING
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e5
:
SetOperation
(
c11510448
.
regop1
)
c
:
RegisterEffect
(
e5
)
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e6
:
SetCode
(
EVENT_CHAIN_SOLVED
)
e6
:
SetRange
(
LOCATION_MZONE
)
e6
:
SetCondition
(
c11510448
.
damcon1
)
e6
:
SetOperation
(
c11510448
.
damop
)
c
:
RegisterEffect
(
e6
)
--damage
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e7
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e7
:
SetRange
(
LOCATION_MZONE
)
e7
:
SetCondition
(
c11510448
.
damcon2
)
e7
:
SetOperation
(
c11510448
.
damop
)
c
:
RegisterEffect
(
e7
)
local
e8
=
e7
:
Clone
()
e8
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e8
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
+
EFFECT_FLAG_IGNORE_RANGE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e2
:
SetCode
(
EFFECT_TO_GRAVE_REDIRECT
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetTargetRange
(
0xfe
,
0xff
)
e2
:
SetValue
(
LOCATION_REMOVED
)
e2
:
SetTarget
(
function
(
e
,
c
)
return
c
:
GetOwner
()
~=
e
:
GetHandlerPlayer
()
end
)
c
:
RegisterEffect
(
e2
)
end
function
c11510448
.
ovfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xf1
)
and
not
c
:
IsCode
(
11510448
)
end
function
c11510448
.
xyzop
(
e
,
tp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
11510448
)
==
0
end
Duel
.
RegisterFlagEffect
(
tp
,
11510448
,
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_OATH
,
1
)
end
function
c11510448
.
atkfilter
(
c
)
return
c
:
IsSetCard
(
0xf1
)
and
c
:
GetAttack
()
>=
0
end
function
c11510448
.
atkval
(
e
,
c
)
local
g
=
e
:
GetHandler
():
GetOverlayGroup
():
Filter
(
c11510448
.
atkfilter
,
nil
)
return
g
:
GetSum
(
Card
.
GetAttack
)
end
function
c11510448
.
deffilter
(
c
)
return
c
:
IsSetCard
(
0xf1
)
and
c
:
GetDefense
()
>=
0
end
function
c11510448
.
defval
(
e
,
c
)
local
g
=
e
:
GetHandler
():
GetOverlayGroup
():
Filter
(
c11510448
.
deffilter
,
nil
)
return
g
:
GetSum
(
Card
.
GetDefense
)
end
function
c11510448
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
end
function
c11510448
.
filter1
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_XYZ
)
end
function
c11510448
.
filter2
(
c
)
return
c
:
IsSetCard
(
0xf1
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanOverlay
()
end
function
c11510448
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c11510448
.
filter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingTarget
(
c11510448
.
filter2
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
11510448
,
2
))
Duel
.
SelectTarget
(
tp
,
c11510448
.
filter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c11510448
.
filter2
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
g
,
1
,
0
,
0
)
end
function
c11510448
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
tc1
=
g
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_MZONE
):
GetFirst
()
local
g2
=
g
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_GRAVE
)
if
tc1
and
tc1
:
IsFaceup
()
and
not
tc1
:
IsImmuneToEffect
(
e
)
and
g2
:
GetCount
()
>
0
then
Duel
.
Overlay
(
tc1
,
g2
)
end
end
function
c11510448
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
1
)
end
function
c11510448
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
end
function
c11510448
.
regop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
RegisterFlagEffect
(
11510448
,
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TURN_SET
+
RESET_CHAIN
,
0
,
1
)
end
function
c11510448
.
damcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
GetOverlayCount
()
>
0
and
ep
~=
tp
and
c
:
GetFlagEffect
(
11510448
)
~=
0
end
function
c11510448
.
damcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
Card
.
IsSummonPlayer
,
1
,
nil
,
1
-
tp
)
and
e
:
GetHandler
():
GetOverlayCount
()
>
0
end
function
c11510448
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,({
9342162
,
42090294
,
45593826
,
68182934
,
73779005
,
77936940
,
82114013
})[
math.random
(
7
)])
Duel
.
Damage
(
1
-
tp
,
e
:
GetHandler
():
GetOverlayCount
()
*
200
,
REASON_EFFECT
)
end
wanning/special.lua
View file @
10eb89cc
...
@@ -262,23 +262,27 @@ oneTimeSkill(13171876, function(e,tp,eg,ep,ev,re,r,rp)
...
@@ -262,23 +262,27 @@ oneTimeSkill(13171876, function(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetOperation
(
c13171876_op
)
e1
:
SetOperation
(
c13171876_op
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
Duel
.
SendtoDeck
(
tc
,
nil
,
0
,
REASON_RULE
)
end
end
Duel
.
SendtoDeck
(
Duel
.
GetFieldGroup
(
1
-
tp
,
LOCATION_HAND
,
0
),
nil
,
2
,
REASON_RULE
)
local
hg
=
Duel
.
GetFieldGroup
(
1
-
tp
,
LOCATION_HAND
,
0
)
Duel
.
Draw
(
1
-
tp
,
5
,
REASON_RULE
)
local
startCount
=#
hg
Duel
.
SendtoDeck
(
hg
,
nil
,
0
,
REASON_RULE
)
Duel
.
ShuffleDeck
(
1
-
tp
)
Duel
.
Draw
(
1
-
tp
,
startCount
,
REASON_RULE
)
end
)
end
)
function
c13171876_op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c13171876_op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
lp
=
Duel
.
GetLP
(
tp
)
-
3000
local
lp
=
Duel
.
GetLP
(
tp
)
-
3000
if
lp
<
0
then
lp
=
0
end
if
lp
<
0
then
lp
=
0
end
Duel
.
SetLP
(
tp
,
lp
)
Duel
.
SetLP
(
tp
,
lp
)
end
]]
end
oneTimeSkill
(
66957584
,
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
--[[
oneTimeSkill(66957584,function(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetFieldGroup(tp,LOCATION_DECK+LOCATION_HAND,0)
local g=Duel.GetFieldGroup(tp,LOCATION_DECK+LOCATION_HAND,0)
for c in aux.Next(g) do
for c in aux.Next(g) do
c66957584_reg(c)
c66957584_reg(c)
end
end
end
)
end)
]]
function
c66957584_reg
(
c
)
function
c66957584_reg
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
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