From 9f9b257e85338f42cf3b56562a3d592a2a8f1b31 Mon Sep 17 00:00:00 2001 From: Philipp Schaefer Date: Tue, 23 Jul 2013 10:03:05 +0200 Subject: [PATCH 1/2] - removed marker label from userLocation gmaps url since gmaps can't cope with it anymore - bumped version number...it has to be bumped due to some bug fixes and I don't like v0.4.9.1...so from now on we are on v0.5+ --- mobile/AndroidManifest.xml | 4 ++-- mobile/plugins/user-location.user.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mobile/AndroidManifest.xml b/mobile/AndroidManifest.xml index 54e0e1d7..1986ce01 100644 --- a/mobile/AndroidManifest.xml +++ b/mobile/AndroidManifest.xml @@ -1,8 +1,8 @@ + android:versionCode="31" + android:versionName="0.5.0"> Date: Tue, 23 Jul 2013 16:07:59 +0200 Subject: [PATCH 2/2] Add "!" to old shields Show old shields on portals with exclamation mark. The old series of shields had mitigation values of 6, 8 and 10 (now it's 10, 20 and 30). --- plugins/portals-list.user.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/portals-list.user.js b/plugins/portals-list.user.js index fc8bdd2a..b5e90d8c 100644 --- a/plugins/portals-list.user.js +++ b/plugins/portals-list.user.js @@ -137,6 +137,11 @@ window.plugin.portalslist.getPortals = function() { if (modShortName === '') { mods[ind] = ['', '', '']; } else { + if ((modShortName === 'S') && + ((mod.rarity=='COMMON' && mod.stats.MITIGATION == 6) || + (mod.rarity=='RARE' && mod.stats.MITIGATION == 8) || + (mod.rarity=='VERY_RARE' && mod.stats.MITIGATION == 10))) + modShortName=modShortName+'!'; mods[ind] = [mod.rarity, getPlayerName(mod.installingUser), modShortName, mod.displayName]; } }else { mods[ind] = ['', '', '']; }