Signup Now
Results 1 to 2 of 2
  1. #1
    Free User
    Join Date
    Feb 2015
    Posts
    1
    Reputation
    10
    Rep Power
    0

    Cast enchant party(utori mas sio) when magic level is decreased

    Need an action to cast enchant party(utori mas sio) when magic level is decreased

  2. #2
    Free User Dragon Lord's Avatar
    Join Date
    Jun 2014
    Posts
    123
    Reputation
    10
    Rep Power
    20
    One year without writing a single lua code, so tell me if it works or not.


    init start

    local MAGIC_LEVEL = 90
    local SPELL = 'utori mas sio'

    -- DO NOT EDIT BELOW THIS LINE

    local SPELL_INFO = spellinfo(SPELL)

    init end

    auto(100,200)

    if ( ($mlevel < MAGIC_LEVEL) and (SPELL_INFO.cancast) ) then
    cast(SPELL_INFO.words) waitping()
    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
  •