Skip to content

Brytenwally/SitMeansRest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

SitMeansRest for AzerothCore (Eluna)

An immersive "Rest" script for AzerothCore servers using the Eluna Lua engine. This script rewards players for taking a break by providing a powerful regeneration buff when they use the /sit emote.

Features

  • Immersive Regeneration: Using /sit applies Graccu's Fruitcake effect (Spell 25990), restoring Health and Mana.
  • Movement Detection: The buff is instantly stripped if the player moves even slightly, preventing "rest-walking."
  • Combat Protection: Players cannot initiate resting while in combat to prevent exploit healing during encounters.
  • Customizable: Easily adjust the duration, check frequency, or the spell ID used for regeneration.

Installation

  1. Ensure you have Azerothcore ALE.
  2. Download SitMeansRest.lua.
  3. Place the file into your server's lua_scripts folder.
  4. Restart your server or type .reload eluna in-game.

How to Use

Simply type /sit while out of combat. You will receive a 20-second regeneration buff. If you move or stand up before the 20 seconds are up, the buff will be removed.

Configuration

Open the script file to modify the CONFIG table:

  • DURATION: How long the rest lasts (Default: 20s).
  • REGEN_AURA: The Spell ID used for healing (Default: 25990).
  • SIT_EMOTE_ID: The TEXT_EMOTE ID to trigger the script (Default: 86).

About

Small LUA script, makes you regenerate Health and Mana when you type /sit

Topics

Resources

License

Stars

5 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages