Adam Salah 2538023d8d dev/bolas (#11)
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>
2025-07-23 06:39:59 +00:00

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);
}
}
}