Results 1 to 4 of 4

Thread: Exit x quantia de HP?

  1. #1
    Normal User jNo The Best's Avatar
    Join Date
    Jun 2012
    Posts
    161
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    9 Post(s)
    Reputation
    10
    Rep Power
    5

    Exit x quantia de HP?

    Tem alguma action que vai da EXIT no char, quando ele chegar 8 HP, e não se tiver! Como assim? Todas action assim que eu achei, quando chega na X quantia, ela exita o tibia normal, porém... se fechar a bp também exita... esse é o maior problema, quando char vai reabrir as bp no refill, a action ja pega e exita o tibia e isso é ruim.

  2. #2
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    817
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    345 Post(s)
    Reputation
    462
    Rep Power
    10
    Lua Code:
     
    if hp <= 8
    then
        closeclient()
    end


    ------------------------------------Latest Releases:------------------------------------
    Vocations:
    Darashia Lions Rock
    Oramond Seacrest Serpents X1

    For a better iBot!

    (◣_◢)

  3. #3
    Normal User jNo The Best's Avatar
    Join Date
    Jun 2012
    Posts
    161
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    9 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by blakw View Post
    Lua Code:
     
    if hp <= 8
    then
        closeclient()
    end
    Dessa forma ja funciona com todos HP? Ou precisa muda a sigla....?

    if shp <= 8
    then
    closeclient()
    end

  4. #4
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    817
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    345 Post(s)
    Reputation
    462
    Rep Power
    10
    Quote Originally Posted by jNo The Best View Post
    Dessa forma ja funciona com todos HP? Ou precisa muda a sigla....?
    Quando voce referiu HP estava se referindo a Health Points ou Health Potion?

    Se for Health Points use:
    Lua Code:
     
    if hp <= 8
    then
        closeclient()
    end


    Se for Health Potions use:
    Lua Code:
     
    if itemcount("health potion") <= 8
    then
        closeclient()
    end


    ------------------------------------Latest Releases:------------------------------------
    Vocations:
    Darashia Lions Rock
    Oramond Seacrest Serpents X1

    For a better iBot!

    (◣_◢)

Posting Permissions

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