示例#1
0
 private void PlayAll(Attack attack, EntityController target)
 {
     if (!_isSetup)
     {
         SetupAttack();
     }
     if (null != _fx)
     {
         _fx.OptionalTarget = target.Entity;
         _fx.PlayCoroutine();
     }
     PlayEmote();
     if (null != attack.AttackInfo.Damage.PointsObject)
     {
         DynamicObjectManager.INSTANCE.Clone(attack.AttackInfo.Damage.PointsObject, target.Entity.transform.position + (target.Entity.transform.up * 1.2f), 0.0f, 180.0f, 0.0f);
     }
     _entityControllerScript.AttackBonus.CalculateBonus(attack, _entityControllerScript, target);
     ApplyDoTToTarget(attack, target);
     ApplyBuffsToTarget(target);
 }