Commit 30d83d59 authored by 18류지석's avatar 18류지석

일부 애드온 적용 안되는 버그 수정

parent cf29de20
...@@ -102,6 +102,7 @@ public class PlayerAttack : MonoBehaviour { ...@@ -102,6 +102,7 @@ public class PlayerAttack : MonoBehaviour {
if (CheckLongerCombo()) StartCoroutine(SkillEndCoroutine()); if (CheckLongerCombo()) StartCoroutine(SkillEndCoroutine());
else else
{ {
comboTime = originComboTime;
comboArray = ""; comboArray = "";
StartCoroutine(ComboEndDelay()); StartCoroutine(ComboEndDelay());
StartCoroutine(ComboTextReset()); StartCoroutine(ComboTextReset());
......
...@@ -19,7 +19,7 @@ public abstract class Item { ...@@ -19,7 +19,7 @@ public abstract class Item {
public bool ComboAction(string currentCombo) public bool ComboAction(string currentCombo)
{ {
for(int i=0; i<skillNum; i++) for (int i=0; i<skillNum; i++)
{ {
if (combo[i].Equals(currentCombo)) if (combo[i].Equals(currentCombo))
{ {
...@@ -27,6 +27,7 @@ public abstract class Item { ...@@ -27,6 +27,7 @@ public abstract class Item {
else if (i == 1) PlaySkill2(); else if (i == 1) PlaySkill2();
else if (i == 2) PlaySkill3(); else if (i == 2) PlaySkill3();
OtherEffect(currentCombo); OtherEffect(currentCombo);
for (int j = 0; j < attachable.Length; j++) for (int j = 0; j < attachable.Length; j++)
{ {
...@@ -43,10 +44,7 @@ public abstract class Item { ...@@ -43,10 +44,7 @@ public abstract class Item {
} }
public bool ComboAction(int currenSkill) public bool ComboAction(int currenSkill)
{ {
if (currenSkill == 0) PlaySkill1(); return ComboAction(combo[currenSkill]);
else if (currenSkill == 1) PlaySkill2();
else if (currenSkill == 2) PlaySkill3();
return true;
} }
public Item() public Item()
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment