RiftMayhem/Assets/Scripts/AbilitySystem/Effects/PoisonEffectInstance.cs
Pedro Gomes 1298ca35ca Base Effect stat influence update
- all effects now properly scale with stats, making it possible to scale with multiple stats
2024-07-20 10:56:54 +01:00

12 lines
364 B
C#

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