Results 1 to 3 of 3

Thread: Need Action

  1. #1
    iBot User
    Join Date
    Apr 2012
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Need Action

    Do you know how to make an action if 3+ slimes attack, use strong weapon, else if only 2 attack, use weak weapon? This would be good for knights and Paladins instead they get moved.

  2. #2
    Normal User
    Join Date
    May 2012
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    try this

    PHP Code:
    if maround(1,false,'slime') > 2 then
    moveitems
    ('royal axe''orange backpack''weapon'1)
    elseif
    maround(1,false,'slime') < 3 then
    moveitems
    ('steel axe''orange backpack''weapon'1)
    end 

  3. #3
    iBot User
    Join Date
    Apr 2012
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Works perfect. thank you!

Posting Permissions

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