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

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

parent cf29de20
......@@ -102,6 +102,7 @@ public class PlayerAttack : MonoBehaviour {
if (CheckLongerCombo()) StartCoroutine(SkillEndCoroutine());
else
{
comboTime = originComboTime;
comboArray = "";
StartCoroutine(ComboEndDelay());
StartCoroutine(ComboTextReset());
......
......@@ -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()
{
......
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