/// <summary> /// Stops rest skill, called when moving or stopping it. /// </summary> /// <param name="creature"></param> /// <param name="skill"></param> /// <param name="dict"></param> /// <returns></returns> public override StartStopResult Stop(Creature creature, Skill skill, MabiDictionary dict) { creature.Deactivate(CreatureStates.SitDown); if (skill.Info.Rank >= SkillRank.R9) creature.Deactivate(CreatureStatesEx.RestR9); Send.StandUp(creature); creature.Regens.Remove("Rest"); if (creature.Temp.SittingProp != null) this.RemoveChair(creature); return StartStopResult.Okay; }