Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
5
Merge Requests
5
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-scripts-888
Commits
0dd321ea
Commit
0dd321ea
authored
May 09, 2023
by
salix5
Committed by
GitHub
May 09, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix シューティング・クェーサー・ドラゴン (#2080)
parent
692c2e0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
21 deletions
+9
-21
c35952884.lua
c35952884.lua
+9
-21
No files found.
c35952884.lua
View file @
0dd321ea
...
...
@@ -11,17 +11,10 @@ function c35952884.initial_effect(c)
e1
:
SetValue
(
aux
.
synlimit
)
c
:
RegisterEffect
(
e1
)
--multi attack
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetCondition
(
c35952884
.
mtcon
)
e2
:
SetOperation
(
c35952884
.
mtop
)
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_MATERIAL_CHECK
)
e3
:
SetValue
(
c35952884
.
valcheck
)
e3
:
SetLabelObject
(
e2
)
c
:
RegisterEffect
(
e3
)
--negate
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -50,20 +43,15 @@ function c35952884.initial_effect(c)
end
c35952884
.
material_type
=
TYPE_SYNCHRO
function
c35952884
.
valcheck
(
e
,
c
)
e
:
GetLabelObject
():
SetLabel
(
c
:
GetMaterialCount
()
-
1
)
end
function
c35952884
.
mtcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
and
e
:
GetLabel
()
>
0
end
function
c35952884
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
ct
=
e
:
GetLabel
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EXTRA_ATTACK
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
e1
:
SetValue
(
ct
-
1
)
c
:
RegisterEffect
(
e1
)
local
ct
=
c
:
GetMaterialCount
()
-
1
if
ct
>
1
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EXTRA_ATTACK
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
-
RESET_TOFIELD
)
e1
:
SetValue
(
ct
-
1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c35952884
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
Duel
.
IsChainNegatable
(
ev
)
...
...
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