Word of Glory Predicted Health
So I made a Word of Glory predicted health feature (Thanks Crispii for the code!), only to realize after using it for the night that WoG has a coefficient with SpellPower and AttackPower (hurpdurp?). So, now I'm wondering if there's anyway to directly call to that spell and find out the exact amount, since it doesn't change unless there is a change in spellpower/attackpower?
Or maybe I'm thinking about it the wrong way. Here's what I have so far: Code:
function FracHealthWOG() Thanks! |
Answered my question regarding hand of light:
Code:
function FracHealthWOG() |
WHat is hpa?
|
HPA = healing point amount, meaning how much Word of Glory hits for, although I want to change it to automatically update based on when WoG updates, I want to be able to automatically find out how much WoG heals for, like is there an API function for that or something? S_S
|
For WOG:
In RET and PROT Spec: WoG Heal = 2133 + (0.209*Spellpower) The 2133 constant is the median of WoG base heal In HOLY Spec: You must add a Variable: K K = Divinity * Conviction * (1 + Seal of Insight + Walk in Light) => K = 1.06 * 1.09 * (1 + 0.05 + 0.15 ) WoG Heal (Holy spec) = K * (2133 + (0.209*Spellpower)) With that you can easily get the heal of WoG: For a Holypala : Heal = (1.06*1.09*(1+0.05+0.15))*(2133 + (0.209*SP)) You can check the conviction buff and all other aura in the formula for better view. You also you can Get The SP var with GetSpellBonusHealing() API. edit: If Wog is Glyphed just multiply by 1.1 => FinalHealForCustomHolyPala = 1.1*Heal Enjoy ! Cheer ! |
Thank you Crispii! That is a thousand times more accurate already.
I believe word of glory also does a percentage based on attackpower too, though, or am I incorrect? |
Yep, it definitely takes a bit from AP, about 19.8%.
Final code here and perfectly accurate! :D Thanks a lot Crispii for your help and the original code! =D Code:
function FracHealthWOG() |
All times are GMT -6. The time now is 09:15 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI