- all effects now properly scale with stats, making it possible to scale with multiple stats
12 lines
361 B
C#
12 lines
361 B
C#
using Photon.Pun;
|
|
|
|
public class BleedEffectInstance : BaseDamageOverTimeEffectInstance
|
|
{
|
|
public override DamageOverTimeType DamageType => DamageOverTimeType.Bleed;
|
|
|
|
[PunRPC]
|
|
public void RPC_ApplyDamageOverTimeEffectBleed(int effectIndex, float value)
|
|
{
|
|
ApplyEffect(StatusEffectIndexer.Instance.StatusEffects[effectIndex], value);
|
|
}
|
|
} |