Files
azerothcore-wotlk/src
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
..