18 Commits

Author SHA1 Message Date
Jon Atkins
54997ac9bc add portal hack counts/cooldown time, and mitigation values, to the portal details panel 2013-09-19 00:51:28 +01:00
Jon Atkins
a9c9d5ff41 utility functions to
- get mods from portal details, filtered by type and sorted by strength
- get mitigation values
TODO: convert existing plugins to use these new functions
2013-09-18 07:45:30 +01:00
Jon Atkins
81d0cb0ed8 create function to get portal image URL from details - and perform any necessary default URL replacement and https conversion 2013-08-27 18:16:02 +01:00
Jon Atkins
40cd3044f0 change to how the 4th link amp combines to calculate portal range - it appears the 3rd + 4th are both 1/4, to give a total of 3 times the range with rare link amps 2013-07-06 19:36:26 +01:00
Jon Atkins
c552742def add link amp mod range calculation to portal range
(it involves some guessing, as only 'rare' ones have been seen so far)
alternative to #392
part of #374
2013-06-26 21:53:02 +01:00
Jon Atkins
895671d860 the ada refactor/java virus can mean a player owns resonators of a higher level than himself. make sure we don't end up with negative values in this case
fix #322
2013-05-27 01:56:26 +01:00
vita10gy
135d4b893d Move potentialPortalLevel to main for common usage 2013-04-12 22:53:30 -05:00
Fragger
302ab34ad3 Add missing return data from getAttackApGain for Compute AP statistics plugin 2013-03-15 04:48:49 -07:00
billybennett
1dfeb791b0 Friendly/Enemy AP gain
Should merge now.
2013-03-11 05:39:08 -04:00
Kevin
f3606d6f0f Fix neutral portals have broken random details 2013-03-02 22:54:30 -08:00
Shawn Clark
51a4dabfc9 nits - object field whitespace 2013-02-19 23:17:19 -08:00
Shawn Clark
f2bdcb9fc9 Fixing nits 2013-02-19 23:15:46 -08:00
Shawn Clark
ba0ff06771 Refactored getDestroyAP
- Split the calculations into getAttackApGain. Allows for other
functions to get the AP data.
- Renamed to getAttackApGainText as it isn't just destroying it is also
capturing. Originally the method only calculated the destroy values.
2013-02-19 20:41:04 -08:00
Pavol Babincak
904be9b5b1 Display current energy for whole portal 2013-02-09 17:42:01 +01:00
Stefan Breunig
5f42c6a2d0 fix portal range being larger zero even if resos are missing 2013-02-05 16:06:57 +01:00
Stefan Breunig
e61eeab2bd well fix it right 2013-02-05 14:26:57 +01:00
Stefan Breunig
b0d5695b44 fix portal level calc for low level portals 2013-02-05 14:24:49 +01:00
Stefan Breunig
a07ee0cc3d so others may contribute 2013-02-01 13:11:14 +01:00