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
39dd3c23
Commit
39dd3c23
authored
Jul 02, 2023
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
40f661f7
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
expansions/script/c60159912.lua
expansions/script/c60159912.lua
+1
-1
expansions/script/c79029566.lua
expansions/script/c79029566.lua
+1
-1
expansions/script/c98920177.lua
expansions/script/c98920177.lua
+4
-4
No files found.
expansions/script/c60159912.lua
View file @
39dd3c23
...
@@ -11,7 +11,7 @@ function c60159912.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c60159912.initial_effect(c)
--act in hand
--act in hand
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_
TRAP_ACT_IN_
HAND
)
e2
:
SetCode
(
EFFECT_
QP_ACT_IN_NTP
HAND
)
e2
:
SetCondition
(
c60159912
.
handcon
)
e2
:
SetCondition
(
c60159912
.
handcon
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
...
...
expansions/script/c79029566.lua
View file @
39dd3c23
...
@@ -49,7 +49,7 @@ function c79029566.xsplimit(e,se,sp,st)
...
@@ -49,7 +49,7 @@ function c79029566.xsplimit(e,se,sp,st)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
end
function
c79029566
.
matfilter1
(
c
)
function
c79029566
.
matfilter1
(
c
)
return
c
:
GetSequence
()
>
4
return
c
:
GetSequence
()
>
4
and
c
:
IsLocation
(
LOCATION_MZONE
)
end
end
function
c79029566
.
matfilter2
(
c
)
function
c79029566
.
matfilter2
(
c
)
return
c
:
GetAttackAnnouncedCount
()
>
0
return
c
:
GetAttackAnnouncedCount
()
>
0
...
...
expansions/script/c98920177.lua
View file @
39dd3c23
...
@@ -61,18 +61,18 @@ function c98920177.damcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -61,18 +61,18 @@ function c98920177.damcost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
end
end
function
c98920177
.
filter
(
c
)
function
c98920177
.
dam
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_FIELD
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_FIELD
)
end
end
function
c98920177
.
damtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c98920177
.
damtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c98920177
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c98920177
.
dam
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
local
ct
=
Duel
.
GetMatchingGroupCount
(
c98920177
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
c98920177
.
dam
filter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
Duel
.
SetTargetPlayer
(
1
-
tp
)
Duel
.
SetTargetPlayer
(
1
-
tp
)
Duel
.
SetTargetParam
(
ct
*
400
)
Duel
.
SetTargetParam
(
ct
*
400
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
ct
*
400
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
ct
*
400
)
end
end
function
c98920177
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c98920177
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
c98920177
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
c98920177
.
dam
filter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
local
p
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
)
local
p
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
)
Duel
.
Damage
(
p
,
ct
*
400
,
REASON_EFFECT
)
Duel
.
Damage
(
p
,
ct
*
400
,
REASON_EFFECT
)
end
end
...
...
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