Skip to content

Commit

Permalink
plugin player level guess: add machina to SystemPlayer list (closes #731
Browse files Browse the repository at this point in the history
)
  • Loading branch information
McBen committed May 14, 2024
1 parent 60b3b14 commit 58cd26f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion core/code/player_names.js
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 5 additions & 1 deletion plugins/player-level-guess.js
Original file line number Diff line number Diff line change
@@ -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'],
Expand Down

0 comments on commit 58cd26f

Please sign in to comment.