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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
3cdf7b7b
Commit
3cdf7b7b
authored
Aug 09, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1+1=3
parent
234617a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
expansions/script/c81086007.lua
expansions/script/c81086007.lua
+4
-3
No files found.
expansions/script/c81086007.lua
View file @
3cdf7b7b
...
...
@@ -6,7 +6,7 @@ function cm.initial_effect(c)
--fusion material
c
:
EnableReviveLimit
()
aux
.
AddFusionProcCodeFun
(
c
,
81086001
,
cm
.
mfilter
,
1
,
true
,
true
)
--same effect send this card to grave and summon another card check
--same effect send this card to grave and s
ps
ummon another card check
local
e0
=
aux
.
AddThisCardInGraveAlreadyCheck
(
c
)
--fusion summon
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -19,7 +19,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e1
)
--to hand
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_
DESTROY
+
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetCategory
(
CATEGORY_
TOGRAVE
+
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetRange
(
LOCATION_GRAVE
)
...
...
@@ -100,7 +100,8 @@ function cm.fspop(e,tp,eg,ep,ev,re,r,rp)
aux
.
FCheckAdditional
=
nil
end
function
cm
.
spfilter
(
c
,
tp
,
se
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_FIEND
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsControler
(
tp
)
and
c
:
IsSummonLocation
(
LOCATION_EXTRA
)
and
(
se
==
nil
or
c
:
GetReasonEffect
()
~=
se
)
and
not
c
:
IsCode
(
m
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_FIEND
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsControler
(
tp
)
and
c
:
IsSummonLocation
(
LOCATION_EXTRA
)
and
not
c
:
IsCode
(
m
)
and
(
se
==
nil
or
c
:
GetReasonEffect
()
~=
se
)
end
function
cm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
se
=
e
:
GetLabelObject
():
GetLabelObject
()
...
...
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