FiE-Game/Assets/Scripts/Fie/Object/FieStatusEffectEntityBase.cs

21 lines
416 B
C#
Raw Normal View History

2018-11-20 20:10:49 +01:00
using System;
namespace Fie.Object
{
[Serializable]
public abstract class FieStatusEffectEntityBase
{
public bool isActive = true;
public bool isOnlyStatusEffect;
public float duration;
public bool ApplyStatusEffect(FieDamageSystem healthSystem, FieGameCharacter attacker, FieDamage damage)
{
healthSystem.applyStatusEffectCallback(this, attacker, damage);
return isOnlyStatusEffect;
}
}
}