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
REIKAI
ygopro-222DIY-cards
Commits
7e5460bb
Commit
7e5460bb
authored
Dec 09, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace c62624565.lua
parent
efa4cb8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
8 deletions
+31
-8
expansions/script/c62624565.lua
expansions/script/c62624565.lua
+31
-8
No files found.
expansions/script/c62624565.lua
View file @
7e5460bb
...
...
@@ -3,7 +3,7 @@ function c62624565.initial_effect(c)
--fusion summon
c
:
EnableReviveLimit
()
aux
.
AddFusionProcFunRep2
(
c
,
c62624565
.
ffilter
,
2
,
6
,
false
)
aux
.
AddContactFusionProcedure
(
c
,
Card
.
IsAbleToRemoveAsCost
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
Duel
.
Remove
,
POS_FACEUP
,
REASON_COST
+
REASON_MATERIAL
)
aux
.
AddContactFusionProcedure
(
c
,
Card
.
IsAbleToRemoveAsCost
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
c62624565
.
sprop
(
c
)
)
--material limit
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -38,6 +38,7 @@ function c62624565.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetCondition
(
c62624565
.
valcon
)
e2
:
SetOperation
(
c62624565
.
atkop
)
e2
:
SetLabelObject
(
e22
)
c
:
RegisterEffect
(
e2
)
...
...
@@ -56,6 +57,25 @@ function c62624565.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
c62624565
.
fusion_effect
=
true
function
c62624565
.
sprop
(
c
)
return
function
(
g
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
+
REASON_MATERIAL
)
--spsummon condition
local
ct
=
g
:
GetCount
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetReset
(
RESET_EVENT
+
0xff0000
)
e1
:
SetValue
(
ct
*
1600
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e2
:
SetReset
(
RESET_EVENT
+
0xff0000
)
e2
:
SetValue
(
ct
*
1260
)
c
:
RegisterEffect
(
e2
)
end
end
function
c62624565
.
ffilter
(
c
)
return
c
:
GetAttack
()
==
1600
and
c
:
GetDefense
()
==
1260
end
...
...
@@ -97,6 +117,9 @@ function c62624565.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
function
c62624565
.
valcon
(
e
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_FUSION
)
end
function
c62624565
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
local
atk
=
0
...
...
@@ -115,16 +138,16 @@ function c62624565.atkop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetValue
(
atk
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
0xff0000
)
c
:
RegisterEffect
(
e1
)
end
if
def
>
0
then
local
e
1
=
Effect
.
CreateEffect
(
c
)
e
1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e
1
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e
1
:
SetValue
(
def
)
e
1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
c
:
RegisterEffect
(
e
1
)
local
e
2
=
Effect
.
CreateEffect
(
c
)
e
2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e
2
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e
2
:
SetValue
(
def
)
e
2
:
SetReset
(
RESET_EVENT
+
0xff0000
)
c
:
RegisterEffect
(
e
2
)
end
end
function
c62624565
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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