Results 1 to 2 of 2

Thread: Ajuda com Action

  1. #1
    iBot User nneto's Avatar
    Join Date
    Aug 2013
    Posts
    48
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    9 Post(s)
    Reputation
    12
    Rep Power
    4

    Ajuda com Action

    Ola, pode me ajuda a arruma essa Action...

    Quero checar se o personagem tem nivel suficiente para enfrentar os monstros do proximo nivel, caso negativo ele continua cašando no mesmo andar.

    a Action que elaborei esta basicona assim:

    Lua Code:
    if level() >= 80 then
    	gotolabel('To2ndHunt2')
    else
    	gotolabel('FimHunt2')
    end


    mas ele num fala assim no Debug:
    Code:
    Cavebot ChecarParaDescer : [string "if level() ( ) >= 80 then ..."]:1: attempt to call a number value
    eu num sei usar essa variavel "level" nem as de skill... alguem pode me dar um help???

  2. #2
    iBot User nneto's Avatar
    Join Date
    Aug 2013
    Posts
    48
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    9 Post(s)
    Reputation
    12
    Rep Power
    4
    Achei pessoal...

    to fazendo errado...

    Ú assim:
    Lua Code:
    if level >= 80 then
    	gotolabel('To2ndHunt2')
    else
    	gotolabel('FimHunt2')
    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
  •