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