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
7c3b2b35
Commit
7c3b2b35
authored
Jan 17, 2022
by
JoyJ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update dc5555 special 12.1 SurpriseAttack
parent
d1339716
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
dc-srv5555/special-12.1-SurpriseAttack.lua
dc-srv5555/special-12.1-SurpriseAttack.lua
+28
-0
No files found.
dc-srv5555/special-12.1-SurpriseAttack.lua
0 → 100644
View file @
7c3b2b35
--村规决斗:死角奇袭
--所有起动效果从手卡也能用。
--后攻多抽1张。
local
OrigRegisterEffect
=
Card
.
RegisterEffect
Card
.
RegisterEffect
=
function
(
c
,
e
,
forced
)
if
(
e
:
GetType
()
&
EFFECT_TYPE_IGNITION
)
>
0
then
local
range
=
e
:
GetRange
()
if
range
and
(
range
&
LOCATION_HAND
)
==
0
then
range
=
range
|
LOCATION_HAND
e
:
SetRange
(
range
)
end
end
OrigRegisterEffect
(
c
,
e
,
forced
)
end
function
Auxiliary
.
PreloadUds
()
-- 1 more draw
local
e1
=
Effect
.
GlobalEffect
()
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetCode
(
EVENT_ADJUST
)
e1
:
SetOperation
(
function
(
e
)
Duel
.
Draw
(
1
,
1
,
REASON_RULE
)
e
:
Reset
()
end
)
Duel
.
RegisterEffect
(
e1
,
0
)
end
\ No newline at end of file
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