Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
52e81195
Commit
52e81195
authored
Oct 24, 2022
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update scripts
parent
f86f805b
Pipeline
#17445
passed with stages
in 48 seconds
Changes
7
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
10 additions
and
5 deletions
+10
-5
pics/100295001.jpg
pics/100295001.jpg
+0
-0
script/c100293097.lua
script/c100293097.lua
+2
-1
script/c100293099.lua
script/c100293099.lua
+2
-1
script/c100294001.lua
script/c100294001.lua
+2
-1
script/c100294003.lua
script/c100294003.lua
+2
-1
script/c100345027.lua
script/c100345027.lua
+1
-0
script/c100345052.lua
script/c100345052.lua
+1
-1
No files found.
pics/100295001.jpg
View replaced file @
f86f805b
View file @
52e81195
94 KB
|
W:
|
H:
91.5 KB
|
W:
|
H:
2-up
Swipe
Onion skin
script/c100293097.lua
View file @
52e81195
...
...
@@ -33,7 +33,8 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g1
,
2
,
0
,
0
)
end
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
g
=
Duel
.
GetTargetsRelateToChain
()
if
#
g
==
2
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
return
end
local
sc
=
g
:
Filter
(
Card
.
IsControler
,
nil
,
tp
):
GetFirst
()
if
sc
and
Duel
.
SpecialSummonStep
(
sc
,
0
,
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP
)
then
g
:
RemoveCard
(
sc
)
...
...
script/c100293099.lua
View file @
52e81195
...
...
@@ -7,7 +7,8 @@ function s.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_TODECK
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_TO_GRAVE
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCountLimit
(
1
,
id
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCondition
(
s
.
condition
)
e1
:
SetTarget
(
s
.
target
)
e1
:
SetOperation
(
s
.
activate
)
...
...
script/c100294001.lua
View file @
52e81195
...
...
@@ -19,6 +19,7 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_BATTLE_DESTROYED
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCondition
(
s
.
damcon
)
e2
:
SetTarget
(
s
.
damtg
)
e2
:
SetOperation
(
s
.
damop
)
...
...
@@ -42,8 +43,8 @@ function s.damcon(e,tp,eg,ep,ev,re,r,rp)
return
#
eg
==
1
and
rc
:
IsControler
(
tp
)
and
tc
:
IsType
(
TYPE_MONSTER
)
and
tc
:
IsReason
(
REASON_BATTLE
)
end
function
s
.
damtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
local
bc
=
eg
:
GetFirst
()
if
chk
==
0
then
return
bc
:
GetBaseAttack
()
>
0
end
Duel
.
SetTargetCard
(
bc
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
bc
:
GetBaseAttack
())
end
...
...
script/c100294003.lua
View file @
52e81195
...
...
@@ -17,7 +17,7 @@ function c100294003.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_RELEASE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCountLimit
(
1
,
100294003
+
100
)
e2
:
SetCost
(
aux
.
bfgcost
)
e2
:
SetTarget
(
c100294003
.
target
)
...
...
@@ -31,6 +31,7 @@ function c100294003.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
tp
,
700
)
end
function
c100294003
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
script/c100345027.lua
View file @
52e81195
...
...
@@ -9,6 +9,7 @@ function s.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e1
:
SetCountLimit
(
1
,
id
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCondition
(
s
.
condition
)
e1
:
SetTarget
(
s
.
target
)
e1
:
SetOperation
(
s
.
activate
)
...
...
script/c100345052.lua
View file @
52e81195
...
...
@@ -68,7 +68,7 @@ function s.distg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
s
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetTargetsRelateToChain
()
local
g
=
Duel
.
GetTargetsRelateToChain
()
:
Filter
(
Card
.
IsFaceup
,
nil
)
if
#
g
==
0
then
return
end
local
tc
=
g
:
GetFirst
()
while
tc
do
...
...
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