From 58cd26fe6a04a80ab0fadceca785199a9a766608 Mon Sep 17 00:00:00 2001 From: McBen Date: Tue, 14 May 2024 08:25:17 +0200 Subject: [PATCH] plugin player level guess: add machina to SystemPlayer list (closes #731) --- core/code/player_names.js | 3 ++- plugins/player-level-guess.js | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/core/code/player_names.js b/core/code/player_names.js index ab1944dee..95b0f2129 100644 --- a/core/code/player_names.js +++ b/core/code/player_names.js @@ -12,11 +12,12 @@ * @param {string} name - The player name to check. * @returns {boolean} Returns `true` if the player name is a system account, otherwise `false`. */ -window.isSystemPlayer = function(name) { +window.isSystemPlayer = function (name) { switch (name) { case '__ADA__': case '__JARVIS__': + case '__MACHINA__': return true; default: diff --git a/plugins/player-level-guess.js b/plugins/player-level-guess.js index e9ae627a2..37c39b59d 100644 --- a/plugins/player-level-guess.js +++ b/plugins/player-level-guess.js @@ -1,13 +1,17 @@ // @author breunigs // @name Player level guess // @category Info -// @version 0.5.9 +// @version 0.5.10 // @description Try to determine player levels from the data available in the current view. /* global IITC -- eslint */ /* exported setup, changelog --eslint */ var changelog = [ + { + version: '0.5.10', + changes: ['Exclude Machina'], + }, { version: '0.5.9', changes: ['IITC.toolbox API is used to create plugin buttons'],