Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
no81cards
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
Huangnan
no81cards
Commits
7de27595
Commit
7de27595
authored
Oct 19, 2020
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
0d7b14ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
expansions/script/c33700373.lua
expansions/script/c33700373.lua
+4
-5
expansions/script/c9910057.lua
expansions/script/c9910057.lua
+0
-1
No files found.
expansions/script/c33700373.lua
View file @
7de27595
...
...
@@ -20,7 +20,6 @@ function c33700373.initial_effect(c)
c
:
RegisterEffect
(
e3
)
--tg
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_DESTROY
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_BATTLE_DAMAGE
)
e2
:
SetCondition
(
c33700373
.
condition
)
...
...
@@ -36,13 +35,13 @@ function c33700373.operation(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetCode
(
EFFECT_CANNOT_BE_EFFECT_TARGET
)
e3
:
SetReset
(
RESET_PHASE
+
PHASE_END
,
2
)
e3
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e3
:
SetTargetRange
(
0xff
,
0xff
)
e3
:
SetTargetRange
(
LOCATION_ONFIELD
,
LOCATION_ONFIELD
)
e3
:
SetTarget
(
c33700373
.
tg
)
e3
:
SetValue
(
1
)
e3
:
SetValue
(
aux
.
tgoval
)
Duel
.
RegisterEffect
(
e3
,
tp
)
end
function
c33700373
.
tg
(
e
,
re
,
rp
)
return
re
:
GetHandler
()
~=
e
:
GetOwner
()
and
rp
==
1
-
e
:
GetHandlerPlay
er
()
function
c33700373
.
tg
(
e
,
c
)
return
c
~=
e
:
GetHandl
er
()
end
function
c33700373
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
eg
:
GetFirst
()
...
...
expansions/script/c9910057.lua
View file @
7de27595
...
...
@@ -88,7 +88,6 @@ function c9910057.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g
,
g
:
GetCount
(),
0
,
0
)
end
function
c9910057
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
...
...
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