- 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
12 lines
338 B
C#
12 lines
338 B
C#
using Photon.Pun;
|
|
|
|
public class BurnEffectInstance : BaseDamageOverTimeEffectInstance
|
|
{
|
|
public override DamageOverTimeType DamageType => DamageOverTimeType.Burn;
|
|
|
|
[PunRPC]
|
|
public void RPC_ApplyDamageOverTimeEffectBurn(int effectIndex)
|
|
{
|
|
ApplyEffect(StatusEffectIndexer.Instance.StatusEffects[effectIndex]);
|
|
}
|
|
} |