public override void OnAdded(Entity entity) { modifier.TakeEffect(entity); }
public override void TakeEffect(Entity actor) { speedModifier = new SpeedModifier(actor.GetCapability <Speed>().Value * 0.5f); speedModifier.TakeEffect(actor); Delay((int)(InternalTime * 1000), actor); }