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
25a71338
Commit
25a71338
authored
Jul 19, 2024
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix&edit
parent
c6ca570e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
12 deletions
+27
-12
expansions/FiNALE.cdb
expansions/FiNALE.cdb
+0
-0
expansions/script/c1000808.lua
expansions/script/c1000808.lua
+2
-2
expansions/script/c92403053.lua
expansions/script/c92403053.lua
+25
-10
No files found.
expansions/FiNALE.cdb
View file @
25a71338
No preview for this file type
expansions/script/c1000808.lua
View file @
25a71338
...
@@ -69,8 +69,8 @@ function c1000808.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -69,8 +69,8 @@ function c1000808.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
end
end
function
c1000808
.
splimit
(
e
,
c
,
tp
,
sumtp
,
sumpos
)
function
c1000808
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
not
c
:
IsSetCard
(
0x3204
)
return
not
c
:
IsSetCard
(
0x3204
)
and
c
:
IsLocation
(
LOCATION_EXTRA
)
end
end
function
c1000808
.
dmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c1000808
.
dmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_RITUAL
)
==
SUMMON_TYPE_RITUAL
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_RITUAL
)
==
SUMMON_TYPE_RITUAL
...
...
expansions/script/c92403053.lua
View file @
25a71338
...
@@ -36,7 +36,6 @@ function cm.initial_effect(c)
...
@@ -36,7 +36,6 @@ function cm.initial_effect(c)
--
--
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e3
:
SetCode
(
EVENT_BATTLE_DESTROYING
)
e3
:
SetCode
(
EVENT_BATTLE_DESTROYING
)
e3
:
SetCondition
(
aux
.
bdocon
)
e3
:
SetCondition
(
aux
.
bdocon
)
e3
:
SetTarget
(
cm
.
damtg
)
e3
:
SetTarget
(
cm
.
damtg
)
...
@@ -107,13 +106,29 @@ function cm.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -107,13 +106,29 @@ function cm.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
end
end
function
cm
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
)
e4
:
SetCode
(
EFFECT_SPSUMMON_COUNT_LIMIT
)
e4
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e4
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e4
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e4
:
SetTargetRange
(
0
,
1
)
e4
:
SetTargetRange
(
1
,
0
)
e4
:
SetValue
(
1
)
e4
:
SetCondition
(
cm
.
sumcon
)
e4
:
SetReset
(
RESET_PHASE
+
PHASE_END
,
2
)
e4
:
SetReset
(
RESET_PHASE
+
PHASE_END
,
2
)
Duel
.
RegisterEffect
(
e4
,
tp
)
Duel
.
RegisterEffect
(
e4
,
1
-
tp
)
local
ge2
=
Effect
.
CreateEffect
(
c
)
ge2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
ge2
:
SetOperation
(
cm
.
opdo2
)
ge2
:
SetReset
(
RESET_PHASE
+
PHASE_END
,
2
)
Duel
.
RegisterEffect
(
ge2
,
tp
)
end
function
cm
.
sumcon
(
e
)
return
Duel
.
GetFlagEffect
(
e
:
GetHandlerPlayer
(),
m
+
100
)
>
0
end
function
cm
.
opdo2
(
e
,
tp
,
eg
)
for
tc
in
aux
.
Next
(
eg
)
do
if
Duel
.
GetFlagEffect
(
tc
:
GetSummonPlayer
(),
m
+
100
)
==
0
then
Duel
.
RegisterFlagEffect
(
tc
:
GetSummonPlayer
(),
m
+
100
,
RESET_PHASE
+
PHASE_END
,
0
,
2
,
0
)
end
end
end
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