- 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
685 B
C#
31 lines
685 B
C#
using Photon.Pun;
|
|
|
|
public class BurnEffectInstance : BaseDamageOverTimeEffectInstance
|
|
{
|
|
public override DamageOverTimeType DamageType => DamageOverTimeType.Burn;
|
|
|
|
protected override void Awake()
|
|
{
|
|
base.Awake();
|
|
|
|
mitigationType = global::DamageType.Spell;
|
|
}
|
|
|
|
[PunRPC]
|
|
public void RPC_ApplyDamageOverTimeEffectBurn(int effectIndex, float value)
|
|
{
|
|
ApplyEffect(StatusEffectIndexer.Instance.StatusEffects[effectIndex], value);
|
|
}
|
|
|
|
[PunRPC]
|
|
public void RPC_EffectAppliedBurn()
|
|
{
|
|
OnEffectStackAddedEvent.Invoke();
|
|
}
|
|
|
|
[PunRPC]
|
|
public void RPC_EffectEndedBurn()
|
|
{
|
|
OnEffectEnded.Invoke();
|
|
}
|
|
} |