Signup Now
Results 1 to 4 of 4

Thread: Smart Haster

  1. #1
    Free User godorluis's Avatar
    Join Date
    Jan 2014
    Posts
    39
    Reputation
    11
    Rep Power
    0

    Smart Haster

    About:

    -Well, this is a simple "Smart" Utani Hur caster, which basically allows you to:

    • Choose min Mana and Health percent to cast Spell
    • Choose what spell you want to cast
    • Choose if you want to cast spell on Protection Zone
    • After a designed standtime, bot will not cast spell
    • Choose if you want to have Anti-Paralyze, and what spell you want to use


    I have to say this is my first persistent hotckey, so you might find a little bug. I hope it to be useful for the community


    -- Smart Auto Utani Hur Caster V1.0 by Godorluis

    init start
    local spell = "Utani gran hur"
    local minMPPC = 60 -- It will not cast spell if mana percent is lower than the value
    local minHPPC = 70 -- It will not cast spell if health percent is lower than the value
    local paralyze = true -- Consider Paralyze?
    local paralyze_spell = "Exura" -- Spell to cast if paralyzed
    local consider_PZ = true -- Will not cast spell on PZ
    local stand_time = 25000 -- Will not cast spell if stand time is higher than 25 seconds
    init end

    -- Do not touch below unless you know what you are doing!

    auto(100)--Important checker!

    --Anti-Paralyze
    if paralyze == true then
    if ($hppc >= minHPPC) and ($mppc >= minMPPC) and $paralyzed then
    auto(100)
    cast(paralyze_spell)
    wait(300,500)
    end
    end
    -- Normal Caster

    if consider_PZ == true then
    if ($standtime <= stand_time) and (($hppc >= minHPPC) and ($mppc >= minMPPC)) and (not $pzone) and (not $hasted) then
    auto(100)
    cast(spell)
    wait(300,500)
    end
    elseif consider_PZ == false then
    if ($standtime <= stand_time) and (($hppc >= minHPPC) and ($mppc >= minMPPC)) and (not $hasted) then
    auto(100)
    cast(spell)
    wait(300,500)
    end
    end


    Code:
    Code:
    V1.0 - Initial Release
    Last edited by godorluis; 01-06-2014 at 02:58 PM.

  2. #2
    Banned
    Join Date
    Aug 2014
    Posts
    315
    Reputation
    18
    Rep Power
    0
    I will try this and tell you what i think

  3. #3
    Banned
    Join Date
    Aug 2014
    Posts
    315
    Reputation
    18
    Rep Power
    0
    Ok is a good persistent and i take for do other persistent for heal whit exura - exura gran and exura vita because all the time i used scripts for heal never the healer

  4. #4
    Free User
    Join Date
    Oct 2015
    Posts
    45
    Reputation
    15
    Rep Power
    0
    Quote Originally Posted by godorluis View Post
    About:

    -Well, this is a simple "Smart" Utani Hur caster, which basically allows you to:

    • Choose min Mana and Health percent to cast Spell
    • Choose what spell you want to cast
    • Choose if you want to cast spell on Protection Zone
    • After a designed standtime, bot will not cast spell
    • Choose if you want to have Anti-Paralyze, and what spell you want to use


    I have to say this is my first persistent hotckey, so you might find a little bug. I hope it to be useful for the community


    -- Smart Auto Utani Hur Caster V1.0 by Godorluis

    init start
    local spell = "Utani gran hur"
    local minMPPC = 60 -- It will not cast spell if mana percent is lower than the value
    local minHPPC = 70 -- It will not cast spell if health percent is lower than the value
    local paralyze = true -- Consider Paralyze?
    local paralyze_spell = "Exura" -- Spell to cast if paralyzed
    local consider_PZ = true -- Will not cast spell on PZ
    local stand_time = 25000 -- Will not cast spell if stand time is higher than 25 seconds
    init end

    -- Do not touch below unless you know what you are doing!

    auto(100)--Important checker!

    --Anti-Paralyze
    if paralyze == true then
    if ($hppc >= minHPPC) and ($mppc >= minMPPC) and $paralyzed then
    auto(100)
    cast(paralyze_spell)
    wait(300,500)
    end
    end
    -- Normal Caster

    if consider_PZ == true then
    if ($standtime <= stand_time) and (($hppc >= minHPPC) and ($mppc >= minMPPC)) and (not $pzone) and (not $hasted) then
    auto(100)
    cast(spell)
    wait(300,500)
    end
    elseif consider_PZ == false then
    if ($standtime <= stand_time) and (($hppc >= minHPPC) and ($mppc >= minMPPC)) and (not $hasted) then
    auto(100)
    cast(spell)
    wait(300,500)
    end
    end


    Code:
    Code:
    V1.0 - Initial Release
    Awesome work!
    Can you please make me a Lua when for instance a creature has lower than 10% HP - then my character casts a spell like exori frigo to finish creatures off, so I don't waste SD's on thoose 60HP leftovers >_<

 

 

Posting Permissions

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