As I have found no topic for MobHealth3 so far, I just start a new one.
I have noticed two things:
1) A localization is missing. I noticed this in line 175 and 369 --> (creatureType == "Beast" or creatureType == "Demon")
2) I think the event "UNIT_NAME_UPDATE" should be registered. Sometimes a mob transforms into another one and changes its name, confusing MobHealth3. I think it is enough to register the event and add these lines:
function MobHealth3:UNIT_NAME_UPDATE()
self:PLAYER_TARGET_CHANGED()
end
I have noticed two things:
1) A localization is missing. I noticed this in line 175 and 369 --> (creatureType == "Beast" or creatureType == "Demon")
2) I think the event "UNIT_NAME_UPDATE" should be registered. Sometimes a mob transforms into another one and changes its name, confusing MobHealth3. I think it is enough to register the event and add these lines:
function MobHealth3:UNIT_NAME_UPDATE()
self:PLAYER_TARGET_CHANGED()
end