- updated all abilities to scale with new stat system - updated difficulty settings using new stat system - added S+ difficulty as the end game - updated items using new stat system - small re-balance to make things a bit more fun to test
31 lines
691 B
C#
31 lines
691 B
C#
using Photon.Pun;
|
|
|
|
public class BleedEffectInstance : BaseDamageOverTimeEffectInstance
|
|
{
|
|
public override DamageOverTimeType DamageType => DamageOverTimeType.Bleed;
|
|
|
|
protected override void Awake()
|
|
{
|
|
base.Awake();
|
|
|
|
mitigationType = global::DamageType.Attack;
|
|
}
|
|
|
|
[PunRPC]
|
|
public void RPC_ApplyDamageOverTimeEffectBleed(int effectIndex, float value)
|
|
{
|
|
ApplyEffect(StatusEffectIndexer.Instance.StatusEffects[effectIndex], value);
|
|
}
|
|
|
|
[PunRPC]
|
|
public void RPC_EffectAppliedBleed()
|
|
{
|
|
OnEffectStackAddedEvent.Invoke();
|
|
}
|
|
|
|
[PunRPC]
|
|
public void RPC_EffectEndedBleed()
|
|
{
|
|
OnEffectEnded.Invoke();
|
|
}
|
|
} |