|
|
@@ -221,7 +221,7 @@ public class MoveCharacter : Character
|
|
|
screenReflectPresets.ScreenReflect(hitFeedbackSystem, attackInfo.attackValue - hitResistance);
|
|
|
base.BeHit(attackInfo, attackFrom);
|
|
|
int damage = attackInfo.damage;
|
|
|
- if (attackInfo.attackEffect.Length > 0)
|
|
|
+ if (attackInfo.attackEffect != null && attackInfo.attackEffect.Length > 0)
|
|
|
{
|
|
|
foreach (AttackEffect ae in attackInfo.attackEffect)
|
|
|
{
|