Results 1 to 2 of 2

Thread: Stop use spells when player on screen (without heal spell)

  1. #1
    Normal User
    Join Date
    Feb 2013
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    Stop use spells when player on screen (without heal spell)

    If somebody on screen stop use spell exori etc (sorcerer). I tried use safe stike but others players got me pk.

  2. #2
    iBot User Jnspsy's Avatar
    Join Date
    Oct 2012
    Location
    Campinas - SP
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    10
    Rep Power
    5

    tenta essa

    If I have one that has the bug Life Under 30% player and if he's not Magic Attacks;]

    Only the one Edited No Listademonstro and the monster that attacked, and spell1 2 moves and magic to his vocation

    PHP Code:
    local listademonstros = {'Lizard High Guard','Lizard Legionnaire','Lizard Dragon Priest'}
    local vidadomonstro 30 -- porcentagempercent
    local magias 
    = {spell1 'Exori Frigo',spell2 'Exori Gran Frigo'}


    for 
    k,v in pairs(listademonstros) do
          if 
    target.hppc <= vidadomonstro then
           setsettings
    ('Settings\\Targeting\\Monsters\\'..listademonstros[k]..'\\ListSettings\\Setting0\\ListSpell\\Spell0''No Action')
           
    setsettings('Settings\\Targeting\\Monsters\\'..listademonstros[k]..'\\ListSettings\\Setting0\\ListSpell\\Spell1''No Action')
          elseif 
    target.hppc vidadomonstro then
           setsettings
    ('Settings\\Targeting\\Monsters\\'..listademonstros[k]..'\\ListSettings\\Setting0\\ListSpell\\Spell0'magias.spell1)
           
    setsettings('Settings\\Targeting\\Monsters\\'..listademonstros[k]..'\\ListSettings\\Setting0\\ListSpell\\Spell1'magias.spell2)
          
    end
    end 
    By Nosekim
    Sorry My English, Translated by Google
    "O MUNDO É LOkO A VIDA É F..., MAS TAMOS AE NA LUTA, PORQUE NÃO VO ABAIXAR A CABEÇA PARA NENHUM FILHO DA P..."

    http://www.tibiaibot.com/forum/image.php?type=sigpic&userid=68818&dateline=136202  4877

Posting Permissions

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