Results 1 to 3 of 3

Thread: Need 'equip stealth ring if... orc berserker, demon skeleton, monk... on screen'

  1. #1
    iBot User
    Join Date
    Jul 2012
    Posts
    108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Need 'equip stealth ring if... orc berserker, demon skeleton, monk... on screen'

    Need 'equip stealth ring if... orc berserker, demon skeleton, monk... on screen'

    and unequip if those creatures are not on screen

  2. #2
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    Monk can see invisible but...
    PHP Code:
    local MONSTERS = {"Monk","Demon Skeleton","Orc Berserker"}


    if (
    maround(7falseunpack(MONSTERS)) > 0then
        
    if (ring == 0then
           moveitems
    ("energy ring","ring",1)
        
    end
    else
        if (
    ring == 3088then
           moveitems
    (3088,"ring","all",1)
        
    end
    end 

  3. #3
    iBot User
    Join Date
    Jul 2012
    Posts
    108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by soder View Post
    Monk can see invisible but...
    PHP Code:
    local MONSTERS = {"Monk","Demon Skeleton","Orc Berserker"}


    if (
    maround(7falseunpack(MONSTERS)) > 0then
        
    if (ring == 0then
           moveitems
    ("energy ring","ring",1)
        
    end
    else
        if (
    ring == 3088then
           moveitems
    (3088,"ring","all",1)
        
    end
    end 
    Thanks =P, i know zerker and demon skele can't, i havent checked monk yet...

Posting Permissions

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