|
@@ -49,12 +49,14 @@ public class SoulBoom : MonoBehaviour
|
|
|
if((characters[i].isTran && characters[i].pc.hp- attackInfo.damage < 0 )
|
|
if((characters[i].isTran && characters[i].pc.hp- attackInfo.damage < 0 )
|
|
|
||characters[i].hp - attackInfo.damage < 0)
|
|
||characters[i].hp - attackInfo.damage < 0)
|
|
|
{
|
|
{
|
|
|
|
|
+ characters[i].isSoulUnstable = false;
|
|
|
characters[i].BeHit
|
|
characters[i].BeHit
|
|
|
(attackInfo.damage, Vector3.zero,
|
|
(attackInfo.damage, Vector3.zero,
|
|
|
attackInfo.changeHurt, attackInfo.repelValue);
|
|
attackInfo.changeHurt, attackInfo.repelValue);
|
|
|
}
|
|
}
|
|
|
else
|
|
else
|
|
|
{
|
|
{
|
|
|
|
|
+ characters[i].isSoulUnstable = false;
|
|
|
characters[i].BeHit
|
|
characters[i].BeHit
|
|
|
(attackInfo.damage, Vector3.zero,
|
|
(attackInfo.damage, Vector3.zero,
|
|
|
attackInfo.changeHurt, attackInfo.repelValue);
|
|
attackInfo.changeHurt, attackInfo.repelValue);
|