Results 1 to 2 of 2

Thread: [Adjust] Action to exit immediately when "0" spear

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

    [Adjust] Action to exit immediately when "0" spear

    I would like to know how to adjust this action, for when you get with "2" royal spear in his hand, after he buys more royal spear (when staying with more than "2" royal spear in hand) re-enable the targeting.

    if weaponamount == 2 then
    settargeting("no")
    end
    Last edited by marcolp; 02-28-2014 at 01:03 PM.

  2. #2
    Focus Group Targets's Avatar
    Join Date
    Nov 2013
    Location
    PoA - Brazil
    Posts
    456
    Mentioned
    18 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    48 Post(s)
    Reputation
    109
    Rep Power
    5
    Lua Code:
     
    if(weaponamount > 2) then
        settargeting('yes')
    else
        settargeting('no')
    end



Posting Permissions

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