# 决斗复位 **Repository Path**: wy168/duel_reduction ## Basic Information - **Project Name**: 决斗复位 - **Description**: 决斗后角色技能血量初始化 - **Primary Language**: C++ - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-08-23 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # DuelReset - Latest DuelReset build status with azerothcore: [![Build Status](https://travis-ci.org/azerothcore/mod-duelreset.svg?branch=master)](https://travis-ci.org/azerothcore/mod-duelreset) This is a module for [AzerothCore](http://www.azerothcore.org) that adds some duel reset features. Current features: - **Health/mana reset**: when duel starts it sets the health/mana of the player to the MAX, when the duel ends it restores the health/mana values that the player had before the duel - **Cooldown reset**: when duel starts it resets the player cooldowns Upcoming features: - **Improved cooldown reset**: when duel starts it resets the player cooldowns, when duel ends it restores the cooldowns that the player had before the duel ## Requirements Duel Reset module currently requires: AzerothCore v1.0.1+ ## How to install ###1) Simply place the module under the `modules` folder of your AzerothCore source folder. You can do clone it via git under the azerothcore/modules directory: `cd path/to/azerothcore/modules` `git clone https://github.com/azerothcore/mod-duelreset.git` or you can manually [download the module](https://github.com/azerothcore/mod-duelreset/archive/master.zip), unzip the DuelReset folder and place it under the `azerothcore/modules` directory. ###2) Re-run cmake and launch a clean build of AzerothCore **That's it.** ### (Optional) Edit module configuration If you need to change the module configuration, go to your server configuration folder (e.g. **etc**), copy `duelreset.conf.dist` to `duelreset.conf` and edit it as you prefer. ## License This module is released under the [GNU AGPL license](https://github.com/azerothcore/mod-duelreset/blob/master/LICENSE).