Error when deselecting a target 1.14 SOM
lvangh opened this issue ยท 3 comments
The equip on target code is the default
-- $EVENTS PLAYER_TARGET_CHANGED
-- $DESC Equips the outfit when your target changes to the specified name
-- $SETTING targetName = {type="string", label="Target name"}
-- Equip if it's the specified target
if UnitName("target"):lower() == setting.targetName:lower() then
equip = true
end