mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-12-02 09:47: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;
|
||
|
}
|
||
|
}
|
||
|
}
|