Skip to content

AzerothCore custom module that implements demonic pact behavior from wrath classic

License

Notifications You must be signed in to change notification settings

sogladev/mod-demonic-pact-classic

Repository files navigation

AzerothCore Module Demonic Pact Classic

  • Latest build status with azerothcore:

Build Status

This is a module for AzerothCore that changes Demonic Pact to behave more like Wrath Classic:

  • Lower ICD from 20 seconds to 5 seconds (adjustable)
  • No longer overwrites stronger Demonic Pact auras, unless the aura has less than 10 seconds remaining

How to install

https://www.azerothcore.org/wiki/installing-a-module

Requires source recompilation

Apply database changes: data/sql/db-world/base/demonic_pact_classic.sql

-- reduce Internal Cooldown from 20 seconds (20000) to 5 seconds (5000), some sources say 1 second (1000)
SET @ICD:=5000;
UPDATE `spell_proc_event` SET `Cooldown`=@ICD WHERE `entry` IN (53646, 54909);
DELETE FROM `spell_script_names` WHERE `spell_id` = 48090;
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (48090, 'spell_warl_demonic_pact_classic');

How to remove

  1. Undo database changes: optional/undo_demonic_pact_classic.sql
-- restore Internal Cooldown to 20 seconds (20000)
SET @ICD:=20000;
UPDATE `spell_proc_event` SET `Cooldown`=@ICD WHERE `entry` IN (53646, 54909);
DELETE FROM `spell_script_names` WHERE `spell_id` = 48090;
  1. Remove mod-demonic-pact-classic folder

How to create your own module

  1. Use the script create_module.sh located in modules/ to start quickly with all the files you need and your git repo configured correctly (heavily recommended).
  2. You can then use these scripts to start your project: https://github.com/azerothcore/azerothcore-boilerplates
  3. Do not hesitate to compare with some of our newer/bigger/famous modules.
  4. Edit the README.md and other files (include.sh etc...) to fit your module. Note: the README is automatically created from README_example.md when you use the script create_module.sh.
  5. Publish your module to our catalogue.

About

AzerothCore custom module that implements demonic pact behavior from wrath classic

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published