Results 1 to 2 of 2

Thread: Uma ajudinha simples ai :D

  1. #1
    Normal User
    Join Date
    May 2014
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    13
    Rep Power
    3

    Uma ajudinha simples ai :D

    local Creatures = {"Medusa", "Serpent Spawn"}
    local QtdExori = 2

    if maround(7, unpack(Creatures)) >= QtdExori
    then
    setsettings("Settings\\Targeting\\Monsters\\Medusa\\ListSetting s\\um\\Stance" Keep Away")
    setsettings("Settings\\Targeting\\Monsters\\Medusa\\ListSetting s\\um\\Distance\\"3")
    else
    setsettings("Settings\\Targeting\\Monsters\\Medusa\\ListSetting s\\um\\Stance\\Approach")
    setsettings("Settings\\Targeting\\Monsters\\Medusa\\ListSetting s\\um\\Distance\\"0")
    end

    nao concigo mudar como faz ?

  2. #2

    Join Date
    Feb 2013
    Posts
    68
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    5 Post(s)
    Reputation
    22
    Rep Power
    4
    Lua Code:
    local Creatures = {"Medusa", "Serpent Spawn"}
    local QtdExori = 2 
     
    if maround(7, unpack(Creatures)) >= QtdExori then 
        setsettings("Settings\\Targeting\\Monsters\\Medusa\\ListSetting s\\um\\Stance", "Keep Away")
        setsettings("Settings\\Targeting\\Monsters\\Medusa\\ListSetting s\\um\\Distance", "3")
    else
        setsettings("Settings\\Targeting\\Monsters\\Medusa\\ListSetting s\\um\\Stance", "Approach")
        setsettings("Settings\\Targeting\\Monsters\\Medusa\\ListSetting s\\um\\Distance", "0")
    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
  •