Results 1 to 5 of 5

Thread: change legs when creature have 10~ hp

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

    change legs when creature have 10~ hp

    Hello! I need action to change legs when creature (mutated tiger, mutated bat) have less than 10% hp
    normal legs: Zaoan legs id 10387
    legs to change: grasshopper legs id 14087
    Thanks for help

  2. #2
    Normal User
    Join Date
    Sep 2012
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Most retarded action ever :P

  3. #3
    Banned
    Join Date
    May 2012
    Posts
    1,081
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    127
    Rep Power
    0
    Quote Originally Posted by kulkosso View Post
    Hello! I need action to change legs when creature (mutated tiger, mutated bat) have less than 10% hp
    normal legs: Zaoan legs id 10387
    legs to change: grasshopper legs id 14087
    Thanks for help
    Here my friend

    PHP Code:
    if (target.name == "Mutated Tiger" or target.name == "Mutated Bat") and (target.hppc <= 10then
        moveitems
    ("grasshopper legs""all""legs"1
    else
        
    moveitems("zaoan legs""all""legs"1
    end 

  4. #4
    Normal User
    Join Date
    Jan 2013
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Quote Originally Posted by Lure Avros View Post
    Here my friend

    PHP Code:
    if (target.name == "Mutated Tiger" or target.name == "Mutated Bat") and (target.hppc <= 10then
        moveitems
    ("grasshopper legs""all""legs"1
    else
        
    moveitems("zaoan legs""all""legs"1
    end 
    Works ! Thank you very much !

  5. #5
    Premium User Norkk's Avatar
    Join Date
    Jan 2013
    Location
    BH - MG - Brazil
    Posts
    1,167
    Mentioned
    78 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    207 Post(s)
    Reputation
    135
    Rep Power
    7
    You could use grasshopper always, instead this, i think it's kind 'children' script, but nvm,..

Posting Permissions

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