28 lines
893 B
C#
28 lines
893 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class Skill_Resurrection : ProjectileBase
|
|
{
|
|
public override void Set(ProjectileData _data)
|
|
{
|
|
_data.eStartPos = eProjectileStartPos.Target;
|
|
base.Set(_data);
|
|
StartCoroutine(Co_Resurrection());
|
|
}
|
|
|
|
IEnumerator Co_Resurrection()
|
|
{
|
|
yield return new WaitForSeconds(1f);
|
|
//m_ProjectTileData.actor_target.Resurrection(0.5f);
|
|
//var costumevalue = m_ProjectTileData.actor_shooter.Get_ServerData().PC.Get_Value(15); // 코스튬 15
|
|
//if (costumevalue > 0f)
|
|
//{
|
|
// var pcs = PCInfo.Ins.Get_AllActor_NoDead(m_ProjectTileData.actor_shooter.IsEnemy());
|
|
// for (int i = 0; i < pcs.Count; i++)
|
|
// pcs[i].Heal(costumevalue);
|
|
//}
|
|
yield return new WaitForSeconds(2f);
|
|
Off();
|
|
}
|
|
} |