Nyyrazzilyss / NyyLIB

Mudlet client script for Torilmud
http://www.torilmud.com/phpBB3/viewtopic.php?f=4&t=27194
GNU General Public License v2.0
7 stars 4 forks source link

Enhancement: Rescuetype for Non-Tanks (Ranger/Hex) #282

Open saerian opened 4 years ago

saerian commented 4 years ago

Adding an additional option under rescuetype to rescue only casters. Setting recuetype to basic now will also rescue other rangers/hexes, but its probably more beneficial as a ranger/hex if we could narrow that rescue list down to only casters.

i982 commented 4 years ago

this is already baked in:) however hex was not added to it as they did exist when it was written so until next update you can do the following. rangers dont rescue rangers as is. BUT making the following change will add hex to no rescue list as well. so rangers and hexblades will NOT rescue rangers or hexblades:) this however assumes you have autorescue on as shown in issue 283.:)

as with in the screenshot:

    -- if ranger don't rescue rangers

    if checkMask("ran") and checkMask("ran", torescue) then
        return
    end

change ^ to:

    -- if ranger don't rescue rangers or hexblades

    if checkMask("ran, hex") and checkMask("ran, hex", torescue) then
        return
    end

hex rng rescue wont rescue hex rng