Results 1 to 5 of 5

Thread: Reflection HpRatio fails

  1. #1
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,851
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default Reflection HpRatio fails

    pascal Code:
    var Me: TMe;
     
     Me:= GetMe;
     writeln('HP: '+inttostr(Me.HPRatio));

    This often says that my HP is 0%, or that its just wrong. I had HP around 90%, and it said its 63% :S What's wrong?! I don't want to waste anymore precious lobsters!
    Last edited by marpis; 04-01-2009 at 10:26 AM.

  2. #2
    Join Date
    Mar 2007
    Posts
    3,042
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    Are you sure your health bar is up when you're calling that function? If it's not, perhaps you should try the skill levels hooks instead.
    :-)

  3. #3
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,851
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Ehh, does reflection take it from the healthbar? i tought the HP is gotten from MM... that explains alot...

  4. #4
    Join Date
    Jul 2008
    Location
    Canada
    Posts
    1,612
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I'm pretty sure it's from the health bar.

    You know SCAR tags work~

  5. #5
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,851
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Ye but pascal highlight makes me look like an awesome leet super hacker.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •