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