RiftMayhem/Assets/Scripts/AbilitySystem/Effects/PoisonEffectInstance.cs
Pedro Gomes a42b1ea784 Massive update on NPCs and damage over time effects
- NPC controller reworked completely
- ability priority list for npc's
- npc's with animations
- damage over time effect added
- burn, poison and bleed over time effects added
2024-07-19 21:57:47 +01:00

12 lines
344 B
C#

using Photon.Pun;
public class PoisonEffectInstance : BaseDamageOverTimeEffectInstance
{
public override DamageOverTimeType DamageType => DamageOverTimeType.Poison;
[PunRPC]
public void RPC_ApplyDamageOverTimeEffectPoison(int effectIndex)
{
ApplyEffect(StatusEffectIndexer.Instance.StatusEffects[effectIndex]);
}
}