1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Poison?

Discussion in 'Client & Site Suggestions' started by NastyNate, May 19, 2015.

  1. NastyNate

    Joined:
    Jul 29, 2014
    Messages:
    61
    Likes Received:
    22
    I try to looked for API but couldn't find but I was wondering of a check if Health poison method can be added :)
     
  2. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,938
    Likes Received:
    1,266
    @Cloud seems like a reasonable request imho.
    --- Double Post Merged, May 20, 2015, Original Post Date: May 20, 2015 ---
    @NastyNate, in the meantime I'm sure you can come up with a clever solution. There's a good chance that data is stored in a varp. Worst case scenario you can always use the interface.
     
  3. NastyNate

    Joined:
    Jul 29, 2014
    Messages:
    61
    Likes Received:
    22
  4. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    I'm not really sure where I'd include this at in the API.
     
  5. NastyNate

    Joined:
    Jul 29, 2014
    Messages:
    61
    Likes Received:
    22
    @Cloud

    Players.getlocal().getCurrentHealth.(Posion method)

    if (Posion method) true then click Anti-poison

    Also prob add getcurrenthealth to Players.getlocal

    instead of having Health as a separate class

    Then again im lazy as fuck so I don't know if you want to take my advice.

    ........
     
  6. Salvation

    Salvation First Bot Author

    Joined:
    Aug 7, 2013
    Messages:
    262
    Likes Received:
    68
    Actor.isPoisoned

    Of course you (currently) have no way to tell, so it would always return false unless the actor is the local player and the local player is poisoned. You could monitor hitsplats to update an Actor's (other than the local player) status, but that can always be done later.
     
  7. dog_

    Joined:
    Nov 3, 2013
    Messages:
    277
    Likes Received:
    95
    In Oldschool I used varp[102] to determine whether or not the local player is poisoned. The value is greater than 0 when poisoned, and 0 or below when not poisoned (Goes negative when you drink anti-poison). Probably something similar for RS3.
     
  8. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    If someone can get the complimentary values for RS3 I will add this to the API. Potentially the Health class.
     
    Qosmiof2 likes this.

Share This Page

Loading...