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
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
Vee4
ygopro-scripts-888
Commits
ddf56ca5
Commit
ddf56ca5
authored
Jun 15, 2021
by
mercury233
Committed by
GitHub
Jun 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 弩級軍貫-いくら型一番艦
parent
82608372
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
c75215744.lua
c75215744.lua
+4
-1
No files found.
c75215744.lua
View file @
ddf56ca5
...
@@ -6,7 +6,6 @@ function c75215744.initial_effect(c)
...
@@ -6,7 +6,6 @@ function c75215744.initial_effect(c)
--apply the effect
--apply the effect
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
75215744
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
75215744
,
0
))
e1
:
SetCategory
(
CATEGORY_DRAW
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCountLimit
(
1
,
75215744
)
e1
:
SetCountLimit
(
1
,
75215744
)
...
@@ -36,7 +35,10 @@ function c75215744.efftg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -36,7 +35,10 @@ function c75215744.efftg(e,tp,eg,ep,ev,re,r,rp,chk)
local
chk2
=
c
:
GetMaterial
():
FilterCount
(
Card
.
IsCode
,
nil
,
61027400
)
>
0
local
chk2
=
c
:
GetMaterial
():
FilterCount
(
Card
.
IsCode
,
nil
,
61027400
)
>
0
if
chk
==
0
then
return
(
chk1
and
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
or
chk2
)
end
if
chk
==
0
then
return
(
chk1
and
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
or
chk2
)
end
if
chk1
then
if
chk1
then
e
:
SetCategory
(
CATEGORY_DRAW
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
1
)
else
e
:
SetCategory
(
0
)
end
end
end
end
function
c75215744
.
effop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c75215744
.
effop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
@@ -47,6 +49,7 @@ function c75215744.effop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,6 +49,7 @@ function c75215744.effop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
end
end
if
chk2
then
if
chk2
then
Duel
.
BreakEffect
()
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EXTRA_ATTACK
)
e1
:
SetCode
(
EFFECT_EXTRA_ATTACK
)
...
...
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