Results 1 to 2 of 2

Thread: Switch to stars/shield if x monsters on screen

  1. #1
    Normal User
    Join Date
    May 2012
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    15
    Rep Power
    5

    Switch to stars/shield if x monsters on screen

    Is it possible to make an action to switch to shield/stars from a crossbow if more than 2 deepling guards are attacking me?

  2. #2
    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
    Yes... yes it is

    I would do the following...

    Create a refiller action to refill your ammo, called "Ammo" then run this action

    PHP Code:
    local shieldToUse == "Mastermind shield"
    local oneHanderAmmo == "Assassin Star"
    local twoHander == "Crosbow"
    local twoHanderAmmo == "Power Bolt"

    if maround(7false"Deepling Guard") > and shield ~= itemid(shieldToUse then
    setsettings
    ("Settings\\Refiller\\Rules\\Ammo\\ItemRefiller"itemid(oneHanderAmmo))
    moveitems(shieldToUse"all""shield"1)
    else
    setsettings("Settings\\Refiller\\Rules\\Ammo\\ItemRefiller"itemid(twoHanderAmmo))
    moveitems(twoHander"all""weapon"1)
    end 
    I didnt test it.

    Should work, since you dont need to take off both shield and weapon to equip a 2 hander now, it just does it for you, so this will swap your shield and crossbow, the refiller action will equip the stars or bolts depending on whats around you
    Last edited by pink_panther; 05-29-2013 at 12:10 AM.

Posting Permissions

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