|
@@ -49,14 +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].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].isSoulUnstable = false;
|
|
|
characters[i].BeHit
|
|
characters[i].BeHit
|
|
|
(attackInfo.damage, Vector3.zero,
|
|
(attackInfo.damage, Vector3.zero,
|
|
|
attackInfo.changeHurt, attackInfo.repelValue);
|
|
attackInfo.changeHurt, attackInfo.repelValue);
|
|
@@ -64,12 +64,12 @@ public class SoulBoom : MonoBehaviour
|
|
|
characters[i].ChangeState(CharacterState.Hurt);
|
|
characters[i].ChangeState(CharacterState.Hurt);
|
|
|
characters[i].rb.AddForce(target * attackInfo.force);
|
|
characters[i].rb.AddForce(target * attackInfo.force);
|
|
|
|
|
|
|
|
- if (isTransfiguration)
|
|
|
|
|
- {
|
|
|
|
|
- characters[i].isSoulUnstable = true;
|
|
|
|
|
- characters[i].soulUnstableTime = soulUnstableTime;
|
|
|
|
|
- characters[i].ChangeMat(2);
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ //if (isTransfiguration)
|
|
|
|
|
+ //{
|
|
|
|
|
+ // characters[i].isSoulUnstable = true;
|
|
|
|
|
+ // characters[i].soulUnstableTime = soulUnstableTime;
|
|
|
|
|
+ // characters[i].ChangeMat(2);
|
|
|
|
|
+ //}
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|