17 lines
296 B
C#
17 lines
296 B
C#
|
|
namespace Gameplay.Buff
|
|||
|
|
{
|
|||
|
|
public class BuffDelayDamage : BaseBuff
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
public int damageValue;
|
|||
|
|
|
|||
|
|
protected override void _OnTrigger()
|
|||
|
|
{
|
|||
|
|
base._OnTrigger();
|
|||
|
|
|
|||
|
|
owner.TakeNormalDamage(damageValue, creator, false);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
}
|