Results 1 to 8 of 8

Thread: Need a code for healing.

  1. #1
    Normal User Teuto's Avatar
    Join Date
    Sep 2012
    Location
    USA
    Posts
    54
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    17
    Rep Power
    5

    Need a code for healing.

    Looking for a code to heal a single creature, that I will be targeting with a Ultimate healing rune. around 50% health. Anyone?

  2. #2
    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
    PHP Code:
    if target.id ~= and target.hppc <= 50 then
    useitemontarget
    ("ultimate healing rune"target.id)  
    end 

  3. #3
    Normal User Teuto's Avatar
    Join Date
    Sep 2012
    Location
    USA
    Posts
    54
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    17
    Rep Power
    5
    Maybe Im doing something wrong, cause that doesnt work for me either. :/

  4. #4
    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
    What the code is saying:

    if your targeting a monster (red box) and the targeted monster is less than or equal to 50 then
    it will use ultimate healing rune on the target


    You should have the UH on target (tibia hotkeys)

  5. #5
    Normal User
    Join Date
    Oct 2012
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by BUgWT View Post
    PHP Code:
    if target.id ~= and target.hppc <= 50 then
    useitemontarget
    ("ultimate healing rune"target.id)  
    end 
    You for got a "0".

    Quote Originally Posted by BUgWT View Post
    PHP Code:
    if target.id ~= and target.hppc <= 50 then
    useitemontarget
    ("ultimate healing rune"target.id)  
    end 
    Should work now

  6. #6
    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
    True. forgot the 0. I'm really tired;(

    PHP Code:
    if target.id ~= and target.hppc <= 50 then
    useitemontarget
    ("ultimate healing rune"target.id)  
    end 

  7. #7
    Normal User Teuto's Avatar
    Join Date
    Sep 2012
    Location
    USA
    Posts
    54
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    17
    Rep Power
    5
    i'll try soon as I get home, thanks guys

  8. #8
    Normal User Teuto's Avatar
    Join Date
    Sep 2012
    Location
    USA
    Posts
    54
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    17
    Rep Power
    5
    Works awesome, thanks!

Posting Permissions

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