Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sogladev/mod-demonic-pact-classic

AzerothCore custom module that implements demonic pact behavior from wrath classic
https://github.com/sogladev/mod-demonic-pact-classic

azerothcore-module

Last synced: about 2 months ago
JSON representation

AzerothCore custom module that implements demonic pact behavior from wrath classic

Awesome Lists containing this project

README

        

# AzerothCore Module Demonic Pact Classic

- Latest build status with azerothcore:

[![Build Status](
https://github.com/sogladev/mod-demonic-pact-classic/actions/workflows/core-build.yml/badge.svg?branch=master&event=push)](https://github.com/sogladev/mod-demonic-pact-classic)

This is a module for [AzerothCore](http://www.azerothcore.org) 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;
```

2. Remove `mod-demonic-pact-classic` folder

## How to create your own module

1. Use the script `create_module.sh` located in [`modules/`](https://github.com/azerothcore/azerothcore-wotlk/tree/master/modules) to start quickly with all the files you need and your git repo configured correctly (heavily recommended).
1. You can then use these scripts to start your project: https://github.com/azerothcore/azerothcore-boilerplates
1. Do not hesitate to compare with some of our newer/bigger/famous modules.
1. 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`.
1. Publish your module to our [catalogue](https://github.com/azerothcore/modules-catalogue).