Commit Graph

24 Commits

Author SHA1 Message Date
ratkosrb d54dbd66c2 Cleanup header dependencies. 2021-04-12 14:34:00 +03:00
ratkosrb 951401b79e Implement RANGED_ATTACK for Creature spell weapon damage calculation.
Credits to cmangos https://github.com/cmangos/mangos-classic/commit/5e073e53174152375d629ecd8a9f1a6d4dfb31c0
2020-11-29 15:50:49 +02:00
ratkosrb e806acc769 Apply clang tidy fixes. (#330) 2019-12-24 06:23:40 +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 5672af20f9 Adjust regen rates for creatures.
Based on these cmangos commits.

https://github.com/cmangos/mangos-classic/commit/84a384e47a250e0a04655ff9f29a0239b9c77853

https://github.com/cmangos/mangos-classic/commit/15ea3dc6e1f38e0aa2986dec07bf53a9ce591ca0
2019-08-10 00:17:19 +03:00
ratkosrb 4753273969 Fix ranged attack power on 1.9.4. 2019-05-28 22:37:03 +03:00
ratkosrb 3d3678a071 Progression fixes for 1.8 and 1.9. 2019-03-28 20:01:03 +02:00
ratkosrb df1ffbc8ee Refactor resistance and armor calculation.
Credit to cmangos.

https://github.com/cmangos/mangos-classic/commit/40f242421633f1789cd820129547bc38faed598d

https://github.com/cmangos/mangos-classic/commit/7e090ea19f62869012a9e22826c7a6ca68a03a75
2019-03-21 20:33:31 +02:00
ratkosrb cb7d83495d Implement negative resistances.
Credit to cmangos https://github.com/cmangos/mangos-classic/commit/146b4b84ff04b21110cf1ec98f263c32ae96dd4c
2019-03-02 18:45:12 +02:00
ratkosrb f7cd03b5d9 Initial support for 1.8.4 client. 2019-02-11 20:40:19 +02:00
ratkosrb a7905795ac Update creature_template column names.
Changed to all lower case with underscores.
2019-01-23 08:29:34 +02:00
ratkosrb 39ec742603 Refactor player skills code.
Credit to cmangos https://github.com/cmangos/mangos-classic/commit/e277f221de81c7195f8ea7bbdcf4a9eb0e8f03a2

Fixes https://github.com/vmangos/core/issues/105
2019-01-08 18:36:37 +02:00
ratkosrb 395d47d15f Organize code in Player.h 2018-12-02 19:19:04 +02:00
ratkosrb acaa54ae9d Initial support for 1.9.4 client.
You can enter world and objects display correctly. Lots of startup errors though.
2018-11-19 05:31:20 +02:00
GuybrushGit 8619543cfb Fix to damage mods and bonus weapon damage interaction (#161) 2018-07-11 15:03:40 +03:00
GuybrushGit 6d879d9581 Fix mana gained in level up message (#158)
* Fix mana gained in level up message

* Fix mana gained in level up message

* Fix mana gained in level up message
2018-07-11 19:34:44 +10:00
GuybrushGit 3b382aba87 Fix to weapon damage while shapeshifted (#371) 2017-12-20 16:14:02 +11:00
GuybrushGit baf6623be0 Fix to weapon secondary damage (#579) 2017-11-29 04:50:42 +02:00
brotalnia a68be8fc2d Fix pet mana regen. 2017-10-13 14:22:36 +03:00
brotalnia 8a7abc3f6f Implement Darkmoon Steam Tonks. (#2974)
* Implement Darkmoon Steam Tonks.

* Fix spell order and stun player.

* Update migration format.
2017-10-08 02:21:51 +03:00
Prithu 09ca1e2f75 Implement Disarm effects for creatures (#1482)
* Added threat generation to Warrior Disarm

* Prevent NPC usage of melee weapon damage skills while disarmed

* Now reduce creature mainhand damage by 60% while they are under a disarm effect

* Revert "Added threat generation to Warrior Disarm"

This reverts commit 19454276697c65785ebc827553b37561a99b902e.

* All disarm skills now apply additional threat to their target, rather than just Warrior's disarm

* Adjusted check for feral form with recent merge
2017-08-09 23:10:52 +10:00
Prithu f25097a00a Fix druid feral form receiving a large damage boost to auto attacks when wielding multi-damage type weapons (#326)
* Fixed druid feral form damage scaling incorrectly with weapons that have multiple damage types

* Prevent druids gaining double or more damage value on weapons with more than one damage type

* Re-worded feral damage count commenting to coincide with Player::CalculateMinMaxDamage change
2017-04-12 17:02:44 +01:00
StadenElysium 43452c0d9c License update (#27) 2017-03-15 17:27:20 +00:00
shenna c9151a5715 Initial Commit / Core Files 2017-03-10 00:38:11 +03:00