EverWrath/src/server/game/Entities/Unit
schell244 f75aceb9a9
fix(Core): Small improvements for weapon/defence skill handling (#12253)
* Improve weaponskill handling

* replace pvp check TYPEID_PLAYER with IsCharmedOwnedByPlayerOrPlayer

* remove no longer needed pvp checks

* move pvp check back to ProcDamageAndSpellFor()

* rename plevel -> playerLevel, add LOG to verify increase chances

* fix issue due to negative value in uint

* revert change which allowed blocked attacks to increase weapon skill

Co-authored-by: schell244 <>
2022-09-21 09:09:26 -04:00
..
enuminfo_Unit.cpp feat(Core/Maps): AreaBoundary (#10525) 2022-04-15 14:10:41 +02:00
StatSystem.cpp refactor(Core/Misc): sqrt/log/exp() to std::sqrt/log/exp() (#9792) 2022-02-09 11:59:30 +01:00
Unit.cpp fix(Core): Small improvements for weapon/defence skill handling (#12253) 2022-09-21 09:09:26 -04:00
Unit.h fix(Scripts/Spells): Finger of Frost Shatter Combo. (#13006) 2022-09-19 00:46:17 -03:00