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
zengshangxing
pre-release-database-cdb
Commits
d93ae481
Commit
d93ae481
authored
Oct 26, 2023
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add PHNI-JP024:
https://github.com/Fluorohydride/ygopro-pre-script/pull/1218
parent
22caf423
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
89 additions
and
8 deletions
+89
-8
script/c101203004.lua
script/c101203004.lua
+1
-3
script/c101203005.lua
script/c101203005.lua
+1
-1
script/c101203024.lua
script/c101203024.lua
+83
-0
script/c101203045.lua
script/c101203045.lua
+2
-2
script/c101203046.lua
script/c101203046.lua
+0
-1
script/c101203057.lua
script/c101203057.lua
+2
-1
test-release.cdb
test-release.cdb
+0
-0
No files found.
script/c101203004.lua
View file @
d93ae481
...
...
@@ -32,7 +32,6 @@ function s.initial_effect(c)
Duel
.
RegisterEffect
(
ge1
,
0
)
local
ge2
=
ge1
:
Clone
()
ge2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
ge2
:
SetLabel
(
id
)
Duel
.
RegisterEffect
(
ge2
,
0
)
end
end
...
...
@@ -63,13 +62,12 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
lvfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
1
)
and
c
:
IsSetCard
(
0xba
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
0
)
and
c
:
IsSetCard
(
0xba
)
end
function
s
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
end
function
s
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
--local g=Duel.GetMatchingGroup(s.lvfilter,tp,LOCATION_MZONE,0,nil)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
sel
=
0
local
lv
=
1
...
...
script/c101203005.lua
View file @
d93ae481
...
...
@@ -92,6 +92,6 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
tg
=
Duel
.
GetTargetsRelateToChain
()
if
tg
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
tg
,
0
,
tp
,
tp
,
false
,
false
,
,
POS_FACEUP_DEFENSE
)
Duel
.
SpecialSummon
(
tg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
\ No newline at end of file
script/c101203024.lua
0 → 100644
View file @
d93ae481
--無窮機竜カルノール
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
c
:
SetSPSummonOnce
(
27134209
)
c
:
EnableReviveLimit
()
--splimit
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e0
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
c
:
RegisterEffect
(
e0
)
--special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e1
:
SetRange
(
LOCATION_HAND
+
LOCATION_GRAVE
)
e1
:
SetCondition
(
s
.
spcon
)
c
:
RegisterEffect
(
e1
)
Duel
.
AddCustomActivityCounter
(
id
,
ACTIVITY_CHAIN
,
s
.
chainfilter
)
--atk up when chaining
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e2
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_CHAINING
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCondition
(
s
.
aucon
)
e2
:
SetOperation
(
s
.
auop
)
c
:
RegisterEffect
(
e2
)
--to deck
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e3
:
SetCategory
(
CATEGORY_TODECK
)
e3
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetCondition
(
s
.
tdcon
)
e3
:
SetTarget
(
s
.
tdtg
)
e3
:
SetOperation
(
s
.
tdop
)
c
:
RegisterEffect
(
e3
)
end
function
s
.
chainfilter
(
re
,
tp
,
cid
)
local
loc
=
Duel
.
GetChainInfo
(
cid
,
CHAININFO_TRIGGERING_LOCATION
)
if
re
:
IsActiveType
(
TYPE_MONSTER
)
and
loc
&
(
LOCATION_HAND
|
LOCATION_GRAVE
)
>
0
then
Duel
.
RegisterFlagEffect
(
1
-
tp
,
id
,
0
,
0
,
0
)
end
return
not
(
re
:
IsActiveType
(
TYPE_MONSTER
)
and
loc
&
(
LOCATION_HAND
|
LOCATION_GRAVE
)
>
0
)
end
function
s
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
Duel
.
GetFlagEffect
(
tp
,
id
)
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
function
s
.
aucon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
and
re
:
IsActiveType
(
TYPE_MONSTER
)
end
function
s
.
auop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetValue
(
1000
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
c
:
RegisterEffect
(
e1
)
end
end
function
s
.
tdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
loc
=
e
:
GetHandler
():
GetPreviousLocation
()
return
loc
&
(
LOCATION_HAND
|
LOCATION_DECK
)
==
0
end
function
s
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
s
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
Duel
.
SendtoDeck
(
e
:
GetHandler
(),
nil
,
SEQ_DECKTOP
,
REASON_EFFECT
)
end
end
\ No newline at end of file
script/c101203045.lua
View file @
d93ae481
...
...
@@ -61,13 +61,13 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
filter
(
c
)
return
c
:
IsSetCard
(
0xba
)
and
c
:
IsType
(
TYPE_
XYZ
)
and
not
c
:
IsForbidden
()
return
c
:
IsSetCard
(
0xba
)
and
c
:
IsType
(
TYPE_
MONSTER
)
and
not
c
:
IsForbidden
()
end
function
s
.
copycost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
3
,
REASON_COST
)
end
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
3
,
3
,
REASON_COST
)
end
function
s
.
copytg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
s
.
copytg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
s
.
filter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
...
...
script/c101203046.lua
View file @
d93ae481
...
...
@@ -9,7 +9,6 @@ function s.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetCost
(
s
.
cost
)
...
...
script/c101203057.lua
View file @
d93ae481
...
...
@@ -15,6 +15,7 @@ function s.initial_effect(c)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetCountLimit
(
1
,
id
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetTarget
(
s
.
thtg
)
e2
:
SetOperation
(
s
.
thop
)
c
:
RegisterEffect
(
e2
)
...
...
@@ -70,4 +71,4 @@ function s.drop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
BreakEffect
()
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
end
end
end
\ No newline at end of file
test-release.cdb
View file @
d93ae481
No preview for this file type
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