Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Haste if 2 stampor

  1. #1
    Normal User
    Join Date
    Jul 2012
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Haste if 2 stampor

    I need an action that makes my character cast strong haste, and that is when there are 2 or more stampors

    Thaaanks

  2. #2
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    Code:
    if (maround(0, "Stampor") >= 2) and not (hasted) and (cancast("utani gran hur")) then
    cast("utani gran hur")
    end

  3. #3
    Normal User
    Join Date
    Jul 2012
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    doesn't work :S

  4. #4
    Normal User Akerr's Avatar
    Join Date
    Sep 2012
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Do You get errors in the debug?

  5. #5
    Normal User
    Join Date
    Jul 2012
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    nope, i didnt...

  6. #6
    Normal User Akerr's Avatar
    Join Date
    Sep 2012
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Have you got the debug turned on? Please do turn it on and tell.

  7. #7
    Banned
    Join Date
    May 2012
    Posts
    680
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    24
    Rep Power
    0
    Check this, same thing just encasulated in () in a way that atleast seem to make more sense.

    PHP Code:
    If(maround(7"stampor") >= and hasted == falsethen
    cast
    ("utani gran hur")
    end 

  8. #8
    Normal User
    Join Date
    Jul 2012
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    [string "chunk"]:1: unexpected symbol near 'then'

  9. #9
    Normal User Akerr's Avatar
    Join Date
    Sep 2012
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Code:
    if (maround(7, "stampor") >= 2) and (mp > 100) and not hasted then
    cast('utani gran hur')
    end

  10. #10
    Normal User
    Join Date
    Jul 2012
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by Akerr View Post
    Code:
    if (maround(7, "stampor") >= 2) and (mp > 100) and not hasted then
    cast('utani gran hur')
    end
    That worked! Thanks alot

Posting Permissions

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