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
9d8aeb74
Commit
9d8aeb74
authored
Jan 22, 2023
by
Chrono-Genex
Committed by
GitHub
Jan 22, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix (#2013)
parent
604fb5a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
c83340560.lua
c83340560.lua
+2
-2
No files found.
c83340560.lua
View file @
9d8aeb74
...
...
@@ -36,13 +36,13 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
s
.
noeff
(
c
)
return
not
c
:
IsType
(
TYPE_EFFECT
)
return
not
c
:
Is
Fusion
Type
(
TYPE_EFFECT
)
end
function
s
.
atkcalc
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
local
atk
=
0
for
tc
in
aux
.
Next
(
g
)
do
if
tc
:
IsType
(
TYPE_RITUAL
+
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
)
then
if
tc
:
Is
Fusion
Type
(
TYPE_RITUAL
+
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
)
then
atk
=
atk
+
tc
:
GetBaseAttack
()
end
end
...
...
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