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

Necromancer - Combat - Pets - Assist - LOOK #246

Closed Kukako closed 5 years ago

Kukako commented 5 years ago

Haven't found the culprit yet, but when ever I start a fight with one of pets and then assist them, the scripts start to spam LOOK like mad. Sometimes that subsides and spells start to fire normally. Sorry that can't help with this better.

Usually when I start to tank the mobs myself the spells start to fire normally.

Script version: 1/27/2019 NyyLIB011 https://github.com/Nyyrazzilyss/NyyLIB

Kukako commented 5 years ago

This seems to be duplicate issue already on the works. Fix around:

Triggers -> NyyLIB011 -> GroupClass -> Reset tanking list

from

-- Since a room is being looked at, the table of players tanking mobs is reset

-- If last command entered was "l " or scan, return

if string.find(command, "L ") == 1 or command == "SCAN" then
    return
end

groupList:resetTanking()

to

-- Since a room is being looked at, the table of players tanking mobs is reset

-- If last command entered was "l " or scan, return

if string.find(command, "L ") == 1 or command == "SCAN" then
    return
end

groupList:resetTanking()

if prompt:get("tank") ~= "" and not inwho( prompt:get("tank") ) then
    groupList:incTanking( prompt:get("tank") )
end