Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
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
Amiya
pre-release-database-cdb
Commits
e72c6077
Commit
e72c6077
authored
Jan 09, 2024
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix MZMI-EN004\007 scripts
parent
431bd302
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
MZMI.cdb
MZMI.cdb
+0
-0
script/c100217004.lua
script/c100217004.lua
+1
-0
script/c100217007.lua
script/c100217007.lua
+6
-0
No files found.
MZMI.cdb
View file @
e72c6077
No preview for this file type
script/c100217004.lua
View file @
e72c6077
...
...
@@ -24,6 +24,7 @@ function s.initial_effect(c)
e3
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_BATTLE_START
)
e3
:
SetCountLimit
(
1
,
id
+
o
)
e3
:
SetCondition
(
s
.
atkcon
)
e3
:
SetOperation
(
s
.
atkop
)
c
:
RegisterEffect
(
e3
)
...
...
script/c100217007.lua
View file @
e72c6077
...
...
@@ -33,6 +33,11 @@ function s.initial_effect(c)
e4
:
SetTarget
(
s
.
sptg
)
e4
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e4
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_EQUIP
)
e5
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e5
:
SetValue
(
700
)
c
:
RegisterEffect
(
e5
)
end
function
s
.
eqlimit
(
e
,
c
)
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
...
...
@@ -67,6 +72,7 @@ end
function
s
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
IsAbleToGraveAsCost
()
and
c
:
GetControler
()
==
c
:
GetEquipTarget
():
GetControler
()
and
c
:
GetEquipTarget
():
IsType
(
TYPE_FUSION
)
and
c
:
GetEquipTarget
():
IsAbleToGraveAsCost
()
end
local
g
=
Group
.
FromCards
(
c
,
c
:
GetEquipTarget
())
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
...
...
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