public static Rest ( IMemoryAPI fface ) : void | ||
fface | IMemoryAPI | |
return | void |
/// <summary> /// Begin resting our health and magic. /// </summary> public override void Run(IGameContext context) { // Check for effects taht stop resting. if (ProhibitEffects.ProhibitEffectsDots .Intersect(context.API.Player.StatusEffects).Any()) { return; } Player.Rest(context.API); }
/// <summary> /// Begin resting our health and magic. /// </summary> public override void Run(IGameContext context) { Player.Rest(context.API); }