mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-26 07:18:00 +01:00
20 lines
416 B
C#
20 lines
416 B
C#
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;
|
|
}
|
|
}
|
|
}
|