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
16fdc913
Commit
16fdc913
authored
Mar 03, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
288e4929
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
5 deletions
+7
-5
script/c100277001.lua
script/c100277001.lua
+1
-0
script/c100416013.lua
script/c100416013.lua
+1
-0
script/c100416020.lua
script/c100416020.lua
+4
-4
script/c100416024.lua
script/c100416024.lua
+1
-1
No files found.
script/c100277001.lua
View file @
16fdc913
...
...
@@ -30,6 +30,7 @@ function c100277001.initial_effect(c)
c
:
RegisterEffect
(
e2
)
--
if
not
c100277001
.
global_check
then
c100277001
.
global_check
=
true
_GetFusionMaterial
=
Duel
.
GetFusionMaterial
function
Duel
.
GetFusionMaterial
(
tp
)
local
g
=
_GetFusionMaterial
(
tp
)
...
...
script/c100416013.lua
View file @
16fdc913
...
...
@@ -7,6 +7,7 @@ function c100416013.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TOKEN
+
CATEGORY_GRAVE_SPSUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
100416013
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetTarget
(
c100416013
.
target
)
e1
:
SetOperation
(
c100416013
.
operation
)
c
:
RegisterEffect
(
e1
)
...
...
script/c100416020.lua
View file @
16fdc913
--シドレミコード・ビューティア
--scripted by Xylen5967
--scripted by Xylen5967
& mercury233
function
c100416020
.
initial_effect
(
c
)
--pendulum summon
aux
.
EnablePendulumAttribute
(
c
)
...
...
@@ -36,6 +36,7 @@ function c100416020.initial_effect(c)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e4
:
SetCode
(
EVENT_BATTLE_START
)
e4
:
SetCountLimit
(
1
)
e4
:
SetCondition
(
c100416020
.
descon
)
e4
:
SetTarget
(
c100416020
.
destg
)
e4
:
SetOperation
(
c100416020
.
desop
)
c
:
RegisterEffect
(
e4
)
...
...
@@ -106,7 +107,7 @@ function c100416020.rmop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e1
,
true
)
end
end
function
c100416020
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c100416020
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
p1
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_PZONE
,
0
)
local
p2
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_PZONE
,
1
)
...
...
@@ -116,8 +117,7 @@ function c100416020.descon(e,tp,eg,ep,ev,re,r,rp,chk)
if
p2
then
sp2
=
p2
:
GetRightScale
()
end
local
scale
=
math.min
(
sp1
,
sp2
)
local
bc
=
c
:
GetBattleTarget
()
if
chk
==
0
then
return
scale
<
255
and
bc
and
bc
:
IsFaceup
()
and
bc
:
IsAttackAbove
(
scale
*
300
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
bc
,
1
,
0
,
0
)
return
scale
<
255
and
bc
and
bc
:
IsFaceup
()
and
bc
:
IsAttackAbove
(
scale
*
300
)
end
function
c100416020
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
script/c100416024.lua
View file @
16fdc913
...
...
@@ -66,7 +66,7 @@ function c100416024.scop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_LSCALE
)
e1
:
SetValue
(
sc
:
GetLevel
())
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
sc
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_UPDATE_RSCALE
)
...
...
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