|
@@ -113,13 +113,13 @@ public class AttributeStatus : MonoBehaviour
|
|
|
case SpecialState.BlownUp:
|
|
case SpecialState.BlownUp:
|
|
|
if (rb.useGravity)
|
|
if (rb.useGravity)
|
|
|
{
|
|
{
|
|
|
- AddBlowUp(attackInfo.blowUp, attackFrom.bodyTrans.localScale.x < 0 ? -1 : 1);
|
|
|
|
|
|
|
+ AddBlowUp(attackInfo.blowUp, attackFrom.transform.position.x < character.transform.position.x ? -1 : 1);
|
|
|
}
|
|
}
|
|
|
break;
|
|
break;
|
|
|
case SpecialState.ShotDown:
|
|
case SpecialState.ShotDown:
|
|
|
if (!rb.useGravity)
|
|
if (!rb.useGravity)
|
|
|
{
|
|
{
|
|
|
- AddShotDown(attackInfo.shotDown, attackFrom.bodyTrans.localScale.x < 0 ? -1 : 1);
|
|
|
|
|
|
|
+ AddShotDown(attackInfo.shotDown, attackFrom.transform.position.x < character.transform.position.x ? -1 : 1);
|
|
|
}
|
|
}
|
|
|
break;
|
|
break;
|
|
|
case SpecialState.Weak:
|
|
case SpecialState.Weak:
|