Signup Now
Results 1 to 4 of 4
  1. #1
    Free User
    Join Date
    Oct 2014
    Posts
    13
    Reputation
    10
    Rep Power
    0

    ´[Help] Persistance attack

    I know i can configure the this without a persistance, but i just need to know if is possible to do something like that


    auto(1000)

    if monsterattacking = "Minotaur" and cancast("exori flam") then
    cast("exori flam")
    end



    what can i put in "monsterattacking" ?
    Last edited by yalaher; 10-17-2014 at 11:47 PM.

  2. #2
    Moderator Dehan's Avatar
    Join Date
    Dec 2013
    Posts
    1,404
    Reputation
    315
    Rep Power
    26
    @yalaher use $attacked.name instead

    Level Latest Scripts by Dehan
    250+
    [EK & ED & MS & RP] [Navigation] Prison -1
    200+
    [EK & ED & MS] [Navigation] Asura Palace
    200+
    [EK & ED] [Navigation] Lower Roshamuul Softcore

  3. #3
    Free User
    Join Date
    Oct 2014
    Posts
    13
    Reputation
    10
    Rep Power
    0
    @Dehan Thx for help

    if $attacked.id ~= 0 and $attacked.isshootable and cancast('exori ico') then
    cast('exori ico')
    end

    i looked this at doc, but " id ~= 0 " means what?
    Last edited by yalaher; 10-18-2014 at 01:30 AM.

  4. #4
    Moderator Dehan's Avatar
    Join Date
    Dec 2013
    Posts
    1,404
    Reputation
    315
    Rep Power
    26
    @yalaher

    ~= means Different

    Level Latest Scripts by Dehan
    250+
    [EK & ED & MS & RP] [Navigation] Prison -1
    200+
    [EK & ED & MS] [Navigation] Asura Palace
    200+
    [EK & ED] [Navigation] Lower Roshamuul Softcore

 

 

Posting Permissions

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