Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
16a14a83
Commit
16a14a83
authored
Oct 02, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
ce7f8f3d
Pipeline
#30162
passed with stages
in 31 minutes and 29 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
5 deletions
+19
-5
expansions/script/c65700055.lua
expansions/script/c65700055.lua
+14
-3
expansions/script/c65700085.lua
expansions/script/c65700085.lua
+5
-2
No files found.
expansions/script/c65700055.lua
View file @
16a14a83
...
...
@@ -6,9 +6,15 @@ function cm.initial_effect(c)
aux
.
AddCodeList
(
c
,
65700005
)
--fusion material
c
:
EnableReviveLimit
()
aux
.
AddFusionProcFun2
(
c
,
aux
.
FilterBoolFunction
(
aux
.
IsCodeListed
,
65700005
)
,
cm
.
matfilter
,
true
)
aux
.
AddFusionProcFun2
(
c
,
cm
.
ffilter
,
cm
.
matfilter
,
true
)
aux
.
AddContactFusionProcedure
(
c
,
Card
.
IsAbleToGraveAsCost
,
LOCATION_MZONE
,
0
,
Duel
.
SendtoGrave
,
REASON_COST
)
--spsummon condition
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e0
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e0
:
SetValue
(
cm
.
exsplimit
)
c
:
RegisterEffect
(
e0
)
--spsummon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
...
...
@@ -65,7 +71,12 @@ end
function
cm
.
exsplimit
(
e
,
se
,
sp
,
st
)
return
not
e
:
GetHandler
():
IsLocation
(
LOCATION_EXTRA
)
or
aux
.
fuslimit
(
e
,
se
,
sp
,
st
)
end
function
cm
.
matfilter
(
c
)
return
c
:
IsSummonLocation
(
LOCATION_EXTRA
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
end
function
cm
.
ffilter
(
c
)
return
aux
.
FilterBoolFunction
(
aux
.
IsCodeListed
,
65700005
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
\ No newline at end of file
expansions/script/c65700085.lua
View file @
16a14a83
...
...
@@ -4,6 +4,9 @@ local cm=_G["c"..m]
cm
.
name
=
"撕裂之兽 戴娜"
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
65700005
)
aux
.
AddCodeList
(
c
,
65700080
)
--change name
aux
.
EnableChangeCode
(
c
,
65700080
,
LOCATION_MZONE
+
LOCATION_GRAVE
+
LOCATION_EXTRA
)
--fusion material
c
:
EnableReviveLimit
()
aux
.
AddFusionProcFun2
(
c
,
cm
.
mfilter1
,
cm
.
mfilter2
,
true
)
...
...
@@ -94,8 +97,8 @@ end
function
cm
.
mfilter1
(
c
)
return
c
:
IsRace
(
RACE_BEAST
)
and
c
:
GetAttack
()
>=
400
return
c
:
IsRace
(
RACE_BEAST
)
and
c
:
GetAttack
()
>=
400
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
cm
.
mfilter2
(
c
)
return
c
:
IsRace
(
RACE_FAIRY
)
or
c
:
IsRace
(
RACE_WARRIOR
)
return
c
:
IsRace
(
RACE_FAIRY
)
or
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsType
(
TYPE_MONSTER
)
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