Skip to content

Commit

Permalink
Merge pull request #732 from McBen/player_level_guess
Browse files Browse the repository at this point in the history
plugin player level guess: add machina to SystemPlayer list
  • Loading branch information
modos189 authored May 15, 2024
2 parents 7acd5f1 + 58cd26f commit f6e9917
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 f6e9917

Please sign in to comment.