Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
tetra-tower
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Oenos
tetra-tower
Commits
30d83d59
Commit
30d83d59
authored
Feb 25, 2019
by
18류지석
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
일부 애드온 적용 안되는 버그 수정
parent
cf29de20
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
PlayerAttack.cs
Assets/Scripts/Characters/PlayerAttack.cs
+1
-0
Item.cs
Assets/Scripts/Item/Item.cs
+3
-5
No files found.
Assets/Scripts/Characters/PlayerAttack.cs
View file @
30d83d59
...
...
@@ -102,6 +102,7 @@ public class PlayerAttack : MonoBehaviour {
if
(
CheckLongerCombo
())
StartCoroutine
(
SkillEndCoroutine
());
else
{
comboTime
=
originComboTime
;
comboArray
=
""
;
StartCoroutine
(
ComboEndDelay
());
StartCoroutine
(
ComboTextReset
());
...
...
Assets/Scripts/Item/Item.cs
View file @
30d83d59
...
...
@@ -19,7 +19,7 @@ public abstract class Item {
public
bool
ComboAction
(
string
currentCombo
)
{
for
(
int
i
=
0
;
i
<
skillNum
;
i
++)
for
(
int
i
=
0
;
i
<
skillNum
;
i
++)
{
if
(
combo
[
i
].
Equals
(
currentCombo
))
{
...
...
@@ -27,6 +27,7 @@ public abstract class Item {
else
if
(
i
==
1
)
PlaySkill2
();
else
if
(
i
==
2
)
PlaySkill3
();
OtherEffect
(
currentCombo
);
for
(
int
j
=
0
;
j
<
attachable
.
Length
;
j
++)
{
...
...
@@ -43,10 +44,7 @@ public abstract class Item {
}
public
bool
ComboAction
(
int
currenSkill
)
{
if
(
currenSkill
==
0
)
PlaySkill1
();
else
if
(
currenSkill
==
1
)
PlaySkill2
();
else
if
(
currenSkill
==
2
)
PlaySkill3
();
return
true
;
return
ComboAction
(
combo
[
currenSkill
]);
}
public
Item
()
{
...
...
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