Results 1 to 6 of 6

Thread: Check if curse damage > X then cure curse

  1. #1
    Normal User
    Join Date
    Jul 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Check if curse damage > X then cure curse

    AS topic says how can I check what damage the CURSE does to me and if its above X then cure it?

    Can it look for like the row "21:12 You lose 40 hitpoints." in the server log or something and then cure it if above 40 or so?

    cheers
    nox

  2. #2
    Banned
    Join Date
    May 2012
    Posts
    680
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    24
    Rep Power
    0
    The problem is, that each time you take damage > x while cursed, the bot will spam exana mort and leave you unable to heal, not sure if that's worth it.

  3. #3
    Banned
    Join Date
    May 2012
    Posts
    1,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    127
    Rep Power
    0
    ^ You can add maround()

  4. #4
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    or do

    if cursed and maround(1) == 0 and getmessages...

  5. #5
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    Quote Originally Posted by pink_panther View Post
    or do

    if cursed and maround(1) == 0 and getmessages...
    That's what bug said

  6. #6
    Banned
    Join Date
    May 2012
    Posts
    680
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    24
    Rep Power
    0
    I suppose, might wanna add paround() to if you're on a pvp world.

Posting Permissions

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