Thread Tools Display Modes
01-15-11, 05:16 AM   #1
unlimit
Lookin' Good
 
unlimit's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 484
Archive this thread (double post up in the feature request forum :O)

Archive this thread (double post up in the feature request forum :O)
__________________


kúdan: im playing pantheon
JRCapablanca: no youre not
** Pantheon has been Banned. **

Last edited by unlimit : 01-15-11 at 08:26 PM.
  Reply With Quote
01-15-11, 05:32 PM   #2
unlimit
Lookin' Good
 
unlimit's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 484
Answered my question regarding hand of light:

Code:
function FracHealthWOG()
  local hpa = 2678
  local hol = GetSpellInfo(76672)
  local pta
  if UnitAura(uid, hol) then
	pta = 3;
  else
	pta = UnitPower(uid,9);
  end
  local a = (UnitHealth(uid)+(hpa*pta));
  local b = UnitHealthMax(uid);
  if(b<1) then return 0; end
  a=a/b;
  if a<0 then
    return 0;
  elseif a>1 then
    return 1;
  else
    return a;
  end
end
wog = FracHealthWOG();
__________________


kúdan: im playing pantheon
JRCapablanca: no youre not
** Pantheon has been Banned. **
  Reply With Quote
01-15-11, 08:13 PM   #3
unlimit
Lookin' Good
 
unlimit's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 484
Ignore this; was moved from a different forum :O
__________________


kúdan: im playing pantheon
JRCapablanca: no youre not
** Pantheon has been Banned. **
  Reply With Quote

WoWInterface » Featured Projects » OpenRDX » OpenRDX Community » OpenRDX: Community Chat » Predicted Health on Abilities not yet used / cast.


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off