Results 1 to 4 of 4

Thread: anti heal monster

  1. #1
    Banned
    Join Date
    Jul 2012
    Posts
    205
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    0

    anti heal monster

    what do you guys think would be the best way to anti heal monster?

  2. #2
    Banned
    Join Date
    May 2012
    Posts
    1,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    127
    Rep Power
    0
    A hotkey that if attacking the same monster for x seconds would be great.

  3. #3
    Normal User
    Join Date
    May 2012
    Posts
    152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    7
    Rep Power
    0
    Ropi~~ I'll be very happy if u change it to "Iff attac monster 10 sec then go to label X.

  4. #4
    Normal User
    Join Date
    Sep 2012
    Posts
    169
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    5
    Quote Originally Posted by Ropiderz View Post
    Try it, anyway I didn't make a clear hotkey because you didn't said what action it must do, attacking target with rune, something like that, it'll only play alarm if it's stuck more than 10 seconds ant the same target.

    Code:
    local MAX_TIME = 10000 -- milliseconds
    local TARGET_ID, TIME_MS = target.id, timems
    if (target.id == TARGET_ID and timems - TIMEMS >= MAX_TIME) then
        -- action ?
        playsound("alarm.wav")
    elseif (target.id ~= TARGET_ID) then
        TARGET_ID = target.id
        TIME_MS = timems
    end
    I tryed like this
    PHP Code:
    local MAX_TIME 1000 -- milliseconds
    local TARGET_ID
    TIME_MS target.idtimems
    if (target.id == TARGET_ID and timems TIMEMS >= MAX_TIMEthen
        playsound
    ("alarm.wav")
    elseif (
    target.id ~= TARGET_IDthen
        TARGET_ID 
    target.id
        TIME_MS 
    timems
    end 
    But dont work .. I puted it in hotkey and enable it .. Maybe I have to chose a 'mainkey' or 'combokey' ???

Posting Permissions

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