Quantcast

Fix ticket #213 - Issue with Monk Energy Regeneration.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2013-03-08 01:31:04
Author local date 2013-03-08 01:31:04 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2013-03-08 01:31:04
Committer local date 2013-03-08 01:31:04 +0000
Commit 411997ebecc6e433f2562e245ba9e443f84da073
Tree e21b2185224c5b289b4deda7a8a1db2dd39854d5
Parent 9a5480593fdf13fad636cd335b42a16ece05c2af
Fix ticket #213 - Issue with Monk Energy Regeneration.

This fix has several parts.

Firstly, there was an error in energy regeneration calculations where the
percent haste effect wasn't properly scaled.

Secondly, the Way of the Monk passive effect will increase melee attack
speed by 40% but we have to remove it from the melee haste effect when
computing energy regeneration as that attack speed bonus has no effect.

OvaleEquipement has been extended to cache the weapon types of the
mainhand and offhand slots so that they may be easily checked.

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@736 d5049fe3-3747-40f7-a4b5-f36d6801af5f