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

Update "visible fighting" and "checkmask" to not rescue Hex voidwalker spec in addition to warriors #341

Open byzanthia opened 2 months ago

byzanthia commented 2 months ago

I'm getting feedback when I tank, that I shouldn't rescue hexes who are voidwalker spec.

I think this is the part of the trigger that skips rescues for warriors?

-- autorescue code

if charData:get("rescuetype") ~= "off" then
  if groupList:ingroup(torescue) then
    if checkMask("warrior", torescue) and charData:get("rescuetype") == "basic" then
      return
    end

Shev recently updated the who command with a "sub" argument:


< |ss +|sk +|ua +|ros +|sod +|cv +|cc +|wu +|nop +|ub +|ut +|hd +|dsd +|iw +|vip +| >     
who sub
 Listing of the Staff
-=-=-=-=-=-=-=-=-=-=-
[ FORGER CODER  ] Shevarash -The Black Archer, Vengeful Hunter of Drow

There are 1 visible staff member(s) on.

 Listing of the Mortals!
-=-=-=-=-=-=-=-=-=-=-=-=-
[50 Wild Sor] Dwiblio Fuzzybottom (Halfling) (RP) (@Diel)
[50      Psi] Ixxizimiz  (Illithid) (AFK) (@Gehadron)
[50      Cle] Mizes - Fuzzybottom of the Valkurian Blades (Yuan-Ti) (@Enth)
[50 Fey  Hex] Innolleviel  (Moon Elf) (@Innova)
[50      Enc] Fokle Fuzzybottom (Halfling) (RP) (@Hibbidy)
[50      Bar] Kegor  (Human) (@Kegor)
[50      Psi] Nyyrazzilyss - Head Jailer of the Valkurian Blades (Illithid) (AFK) (@Nyyrazzilyss)
[50      Ran] Dubmuf  (Shield Dwarf) (@Rouse)
[50      War] Pirole  (Halfling) (@Hamwich)
[50      Ran] Turilenil  (Moon Elf) (@Hatan)
[50      Blk] Danaz  (Drow Elf) (@Tafi)
[50 Fey  Hex] Jazar  (Barbarian) (@Jasix)
[50      War] Cherzra  (Troll) (@Cherzra)
[50 Hell Hex] Teyamrin  (Moon Elf) (@Lykria)
[50 Void Hex] Orinil  (Moon Elf) (@Toraza)
[50      Ran] Sylvana  (Half-Elf) (@Salvana)
[ 1      Bar] Katumi  (Half-Elf) (@Helper)
[50      Psi] Ynndchiarhlizz - The Nexus (Illithid) (@Krimic)

Any chance you can update the checkmask trigger and this rescue trigger to not basic rescue warriors AND void hexcallers?