Commit Graph

17 Commits

Author SHA1 Message Date
ratkosrb 55f7f1adc8 Add server side COD amount check. 2021-02-24 22:22:01 +02:00
ratkosrb 35f3eb2281 Pick new creature group leader on death of old leader.
Allows groups with formation movement to continue waypoints like on classic.
2020-12-10 01:23:17 +02:00
ratkosrb 41a7e8b5b4 Add commands to modify unit byte fields. 2020-10-31 21:09:23 +02:00
ratkosrb 062dc60d78 Remove mail responses that don't exist in Vanilla.
Closes https://github.com/vmangos/core/pull/651

Closes https://github.com/vmangos/core/issues/649
2020-06-27 23:48:56 +03:00
ratkosrb dc91bbfab5 Add spell bonus coefficients from classic. 2020-05-16 03:21:18 +03:00
Kittnz 85ac39fd54 Implement battleground bots (#413)
Also includes a rewrite of the party bots.

Co-authored-by: ratkosrb <ratkomladic2@abv.bg>
Co-authored-by: ratkosrb <35845488+ratkosrb@users.noreply.github.com>
2020-04-16 07:03:24 +03:00
ratkosrb da32b7228a Fix static analysis repeated expression performance warning.
Credit to cmangos https://github.com/cmangos/mangos-classic/commit/c3a3f287435f13d307eca517abb855d20e6ab38d
2020-01-21 19:36:10 +02:00
ratkosrb 7c81af0104 Update code style in shared project. 2019-12-30 11:32:13 +02:00
ratkosrb e806acc769 Apply clang tidy fixes. (#330) 2019-12-24 06:23:40 +02:00
ratkosrb 49b9a82244 Switch to east const style. 2019-12-21 00:45:35 +02:00
ratkosrb 66659fe13f Cleanup and reorganization of Unit and SpellEntry headers. (#312)
* Move some unit and spell defines to dedicated header.

* Reorder functions in unit header.

* Clean up until spell category.

* Finish cleaning up spell functions.

* Cleanup combat system methods.

* Done cleaning up unit header.

* Reduce not needed includes.
2019-11-24 22:20:44 +02:00
ratkosrb ebab772363 Fix some static code analysis warnings and improve performance
Credits to cmangos https://github.com/cmangos/mangos-classic/commit/46229bb28c6a4362dc4f4ee88e8bdaf962cb1d58
2019-11-17 15:57:34 +02:00
ratkosrb 4afe949345 Replace usage of NULL with nullptr. 2019-11-12 19:53:42 +02:00
ratkosrb 777a470726 Allow using chat freeze command on others.
This is actually useful against bots.
2019-08-17 01:01:14 +03:00
ratkosrb 539bae6c9c Make SpellEntry related functions into class members. 2019-05-05 16:02:36 +03:00
ratkosrb 7682b69481 Cleanup chat commands a bit more. 2019-04-21 22:57:53 +03:00
ratkosrb 4b2020a2b6 Re-categorize chat commands. 2019-04-21 18:58:25 +03:00