Reviewed-on: #11 Reviewed-by: Ader_Alisma <ader.alisma.1@ens.etsmtl.ca> Co-authored-by: Adam Salah <adam-hamid.salah-salah.1@ens.etsmtl.ca> Co-committed-by: Adam Salah <adam-hamid.salah-salah.1@ens.etsmtl.ca>
20 lines
433 B
C#
20 lines
433 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class BolasProjectile : Projectile
|
|
{
|
|
[SerializeField]
|
|
private float _slowIntensity = 0.25f;
|
|
[SerializeField]
|
|
private float _slowDuration = 5f;
|
|
|
|
protected override void ApplyEffects()
|
|
{
|
|
if (Target.StatusHandler)
|
|
{
|
|
Target.StatusHandler.ApplySlow(_slowIntensity, _slowDuration);
|
|
}
|
|
}
|
|
}
|