- Latest build status with azerothcore:
This is a module for AzerothCore that removes Sated and Exhaustion debuffs, and resets player cooldowns after raid encounters to emulate how it was done in Wrath Classic
This projects hosts 2 implementations which use different methods and could, but is not recommended, be used together
- cpp: uses OnBeforeSetBossState hooks
- Eluna (lua): uses creature enter combat and reset hooks
mod-reset-raid-cooldowns_cpp.mp4
cpp: uses OnBeforeSetBossState hooks
This script only runs for instances.
All configuration can be done through the config file .conf
When a boss state is changed from IN_PROGRESS to DONE, FAIL or NOT_STARTED cooldowns and exhausted/sated debuffs will be cleared for all players and their pets that are present in the map.
Conditions such as how long a boss should be in combat for, for which instances, for which bosses, which spells/categories, whether pets also reset, if all short cooldowns are reset similarly to when you enter arena, can be configured by modifying the config file
https://www.azerothcore.org/wiki/installing-a-module
no database changes are required
requires config file
disable in config
or delete cpp and conf
no database changes are made
Eluna (lua): uses creature enter combat and reset hooks.
The cpp script is prefered for resets in raids like wrath classic but lua allows the script to also work in the open world and on any creature.
Similary to cpp, you can edit which spells are reset. You can choose for which creatures, by entry, spells are reset
configuration can be done by modifying .lua file
Enable or add spells by appending to COOLDOWN_CONFIG
table
COOLDOWN_CONFIG = {
[48788] = false, -- lay on hands, default: false
...
}
Enable or disable resets for creatures (entry) by modifying CREATURE_CONFIG
.
CREATURE_CONFIG = {
[28860] = true, -- Sartharion <-- ENABLED
-- [30449] = true, -- Vesperon <-- DISABLED
[30449] = false, -- Vesperon <-- DISABLED
...
}
https://www.azerothcore.org/wiki/installing-a-module
requires: https://github.com/azerothcore/mod-eluna
place in lua_scripts/
directory
remove from lua_scripts/
directory
no database changes are made
- Use the script
create_module.sh
located inmodules/
to start quickly with all the files you need and your git repo configured correctly (heavily recommended). - You can then use these scripts to start your project: https://github.com/azerothcore/azerothcore-boilerplates
- Do not hesitate to compare with some of our newer/bigger/famous modules.
- Edit the
README.md
and other files (include.sh
etc...) to fit your module. Note: the README is automatically created fromREADME_example.md
when you use the scriptcreate_module.sh
. - Publish your module to our catalogue.