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
Nemo Ma
no81cards
Commits
b6e3e760
Commit
b6e3e760
authored
Aug 13, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
6ca54330
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
8 deletions
+6
-8
expansions/script/c40008627.lua
expansions/script/c40008627.lua
+1
-1
expansions/script/c53761001.lua
expansions/script/c53761001.lua
+2
-4
expansions/script/c98920458.lua
expansions/script/c98920458.lua
+3
-3
No files found.
expansions/script/c40008627.lua
View file @
b6e3e760
...
...
@@ -63,7 +63,7 @@ function c40008627.atkop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c40008627
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
Get
CurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
return
Duel
.
Get
TurnPlayer
()
~=
tp
and
(
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
)
end
function
c40008627
.
filter
(
c
,
e
,
tp
,
rk
)
return
c
:
IsRank
(
rk
)
and
c
:
IsRace
(
RACE_MACHINE
)
...
...
expansions/script/c53761001.lua
View file @
b6e3e760
...
...
@@ -62,26 +62,24 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
if
not
tc
:
IsRelateToEffect
(
e
)
then
return
end
local
dg
=
Group
.
CreateGroup
()
if
tc
:
IsFaceup
()
then
local
res
=
tc
:
GetAttack
()
>
0
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
-
400
)
tc
:
RegisterEffect
(
e1
)
if
res
and
tc
:
GetAttack
()
<=
0
then
dg
:
AddCard
(
tc
)
end
if
tc
:
GetAttack
()
<=
0
then
dg
:
AddCard
(
tc
)
end
else
dg
:
AddCard
(
tc
)
end
local
cg
=
Group
.
__add
(
Duel
.
GetMatchingGroup
(
s
.
desfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
tc
,
tc
:
GetSequence
()),
tc
)
for
ac
in
aux
.
Next
(
cg
)
do
if
ac
:
IsType
(
TYPE_MONSTER
)
and
ac
:
IsFaceup
()
then
local
atk
=
ac
:
GetAttack
()
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e2
:
SetValue
(
-
800
)
ac
:
RegisterEffect
(
e2
)
if
a
tk
>
0
and
a
c
:
GetAttack
()
<=
0
then
dg
:
AddCard
(
ac
)
end
if
ac
:
GetAttack
()
<=
0
then
dg
:
AddCard
(
ac
)
end
else
dg
:
AddCard
(
ac
)
end
end
if
#
dg
>
0
then
Duel
.
Destroy
(
dg
,
REASON_EFFECT
)
end
...
...
expansions/script/c98920458.lua
View file @
b6e3e760
...
...
@@ -19,10 +19,10 @@ function c98920458.initial_effect(c)
end
function
c98920458
.
tktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
1
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
46173680
,
0
,
TYPES_TOKEN_MONSTER
,
0
,
0
,
1
,
RACE_FIEND
,
ATTRIBUTE_DARK
,
POS_FACEUP_DEFENSE
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
2
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
2
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
end
function
c98920458
.
tkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
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