Update 'RestoolsBBWatchReloaded.js'
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// ==UserScript==
|
||||
// @name IITC plugin: ResTools BB Watch Reloaded
|
||||
// @namespace https://git.martinvylet.cz/vykend/ResTools-BB-Watch-Reloaded
|
||||
// @version 0.6.1
|
||||
// @version 0.7
|
||||
// @description Scan window for BBs on ornamented portals, then check results
|
||||
// @author vikend
|
||||
// @icon
|
||||
@@ -121,14 +121,14 @@ function wrapper(plugin_info)
|
||||
{
|
||||
let ornaments = portal.options.data.ornaments;
|
||||
|
||||
if (ornaments.indexOf("ap1") != -1 || ornaments.indexOf("peBN_RES_WINNER") != -1 || ornaments.indexOf("peBN_ENL_WINNER") != -1)
|
||||
if (ornaments.indexOf("ap1") != -1 || ornaments.indexOf("ap1_v") != -1 || ornaments.indexOf("peBN_RES_WINNER-60") != -1 || ornaments.indexOf("peBN_ENL_WINNER-60") != -1)
|
||||
{
|
||||
let portalUpload = {
|
||||
Guid: portal.options.guid,
|
||||
IsOrnamented: (ornaments.indexOf("ap1") != -1),
|
||||
IsOrnamented: (ornaments.indexOf("ap1") != -1 || ornaments.indexOf("ap1_v") != -1),
|
||||
IsVolatile: (ornaments.indexOf("ap1_v") != -1),
|
||||
IsWinnerRes: (ornaments.indexOf("peBN_RES_WINNER") != -1),
|
||||
IsWinnerEnl: (ornaments.indexOf("peBN_ENL_WINNER") != -1),
|
||||
IsWinnerRes: (ornaments.indexOf("peBN_RES_WINNER-60") != -1),
|
||||
IsWinnerEnl: (ornaments.indexOf("peBN_ENL_WINNER-60") != -1),
|
||||
IsBeaconActive: (ornaments.indexOf("peBB_BATTLE_RARE") != -1),
|
||||
Beacons: ornaments.join(','),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user