Results 1 to 3 of 3

Thread: Help with action

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

    Help with action

    This action doesnt work!!!Why???

    local spellName = 'exori amp vis'
    local spellName2 = 'exori vis'

    if paround(7, true) == 0 and target.id ~= 0 and target.hppc > 70 then if cancast(spellName) then
    cast(spellName)
    end
    end
    else
    if paround(7, true) == 0 and target.id ~= 0 and target.hppc < 70 then if cancast(spellName2) then
    cast(spellName2)
    end
    end

  2. #2
    Normal User
    Join Date
    Apr 2012
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    try it like this, you can add that on 2 diferent actions, i didnt test it but it should work


    if paround(7) == 0 and target.id ~= 0 and target.hppc > 70 then
    if cancast("exori amp vis") then
    cast("exori amp vis")
    end
    end

    if paround(7) == 0 and target.id ~= 0 and target.hppc < 70 then
    if cancast("exori vis") then
    cast("exori vis")
    end
    end
    Last edited by guigoshivera; 12-12-2012 at 10:54 PM.

  3. #3
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    PHP Code:
    local spellName "exori amp vis"
    local spellName2 "exori vis"

    if paround(7true) == and target.id ~= and target.hppc 70 and cancast(spellNamethen
    cast
    (spellName
    elseif
    paround(7true) == and target.id ~= and target.hppc 70 and cancast(spellName2then
    cast
    (spellName2
    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
  •