|
Patch-Submissions Patch Submissions |
|
Опции темы | Поиск в этой теме | Опции просмотра |
19.10.2012, 00:45 | #1 |
Новичок
Регистрация: 30.05.2010
Сообщений: 23
Сказал(а) спасибо: 2
Поблагодарили 0 раз(а) в 0 сообщениях
|
Made formula for rage generation at damage dealing proper accordly to level 80 calculations
Код:
diff --git "a/C:\\Users\\Axxl\\AppData\\Local\\Temp\\Pla2C0.tmp\\Player-91c2376-left.cpp" "b/E:\\Wow Git Sources\\Wotlk\\cmangos\\src\\game\\Player.cpp" index 9bdcc79..369a4ed 100644 --- "a/C:\\Users\\Axxl\\AppData\\Local\\Temp\\Pla2C0.tmp\\Player-91c2376-left.cpp" +++ "b/E:\\Wow Git Sources\\Wotlk\\cmangos\\src\\game\\Player.cpp" @@ -1968,6 +1968,10 @@ void Player::RewardRage(uint32 damage, uint32 weaponSpeedHitFactor, bool attacke float rageconversion = float((0.0091107836 * getLevel() * getLevel()) + 3.225598133 * getLevel()) + 4.2652911f; + // Rage calculation mismatch (based on wowwiki and other pages calculation) + if(getLevel() == 80) + rageconversion = 453.3f; + if (attacker) { addRage = ((damage / rageconversion * 7.5f + weaponSpeedHitFactor) / 2.0f); Последний раз редактировалось alexluana; 19.10.2012 в 01:15. |
|
|
Похожие темы | ||||
Тема | Автор | Раздел | Ответов | Последнее сообщение |
[12253] Update attack power, armor, parry, damage calculations | newsbot | CMaNGOS-4.3.4 Commits | 0 | 26.09.2012 12:03 |
[9857] Fix double damage dealing of 63625 and ranks. Thanks to Revils | newsbot | CMaNGOS Commits | 0 | 10.05.2010 12:10 |
[9837] Remove calls to Taken part when its not used for damage dealing and fix HoT tick amount used | newsbot | CMaNGOS Commits | 0 | 05.05.2010 07:00 |
[9803] Fix typo in taken damage/healing bonus calculations and fix damage of 64085 | newsbot | CMaNGOS Commits | 0 | 29.04.2010 13:20 |
[9792] Fix wrong damage dealing from commit [9784] | newsbot | CMaNGOS Commits | 0 | 25.04.2010 07:22 |