Merge pull request #176 from Bonbons/master

Add Succubus
d247: Add Succubus by Jigoku
Army adder & removed monster data

Monster
Major rewrite of monster code to simplify and increase reading from web
pages for necessary data instead of using monster.info. Hopefully, this
will enable CAAP to handle new monsters without requiring a new code
push.

Army
Add army add field to add iOS codes. Messy lists are handled. Codes are
erased as they are tried.
Remove Fill Army function for FB, since I believe this is no longer
possible

GB
Improved GB status bar updates
Improve end of battle capture for Festival/10v10 battles
Improve focus for GB. If a target has been decided after review, it will
hit that target at least once before doing another review

Other
Change error messages in some files to give err.stack instead of just
error, for better line number reporting
Fix demi codes reading in battle
Fix for hyper logons not working
Small changes to Option Menu

Removed "Version Info" from top of Option Menu.  Already at bottom.
Removed "Unlock Menu" option from Option Menu.  Not functional or
required anymore.
Removed "Left - Right offset (px)" option from Option Menu.  Not
functional or required anymore.
Removed "Up - Down offset (px)" option from Option Menu.  Not functional
or required anymore.
Removed "Hide Sidebar Adverts" option from Option Menu.  Not functional
or required anymore.
Removed "Hide FB Iframe Adverts" option from Option Menu.  Not
functional or required anymore.
Removed "Hide FB Chat' option from Option Menu.  Not functional and I
don't have a clue how to fix it.
Changed "Option Menu" layout to cover white border.
Fixed some editing errors from previous pull request #169
As I am not a really good programmer, if anyone notice something wrong
with the modification I have made, please let me know.  I'm willing to
learn more about this.
Merge pull request #177 from TheCoolDude/master

Small changes to Option Menu
Revision to previous push.

Re-insert "Version Info" to top of Option menu and removed it from
bottom.
Merge pull request #178 from TheCoolDude/master

Revision to previous push.
d248
Multi-part monsters

Monster
Change monster part selection to automatically target weakest minion,
then target weakest remaining part. Caap will now follow the crowd, and
not break "headless" kills by attacking the arms when everyone else is
attacking the heads.
Change determination of what levels of monster attack buttons (10 stam,
20 stam, etc.) from based off static monsterInfo table to read
dynamically from the monster page itself
Correct estimation of life remaining for multi-part monsters to read
life of all parts and give weighted average
Add ability to read decimal places in monster attack order box, such as
:max0.5m

Other
Add Conquest collect menus and functionality to collect conquest when
points exceed a user set threshold
Implement new system for activating item archives and collecting
conquest resources and crystals based on the buttons at the top of every
page
Remove "Collect now" buttons for conquest items, since the user could
push those buttons at the top of the page
Remove timer messages for the same since the time is already listed at
the top of every page
Fix automatic updating of general menu list names without refresh for
Level Up and GB generals by changing names of config variables for Guild
Monster General and GB generals. Those generals will need to be reset
manually.
Add a check of generals page if setting a general from loadout, but
general data still not read
Minor fixes
GB based on Index

Guild Battle
Move  battle status checks to index page
Fix GB not recognizing end of battle and still reviewing towers
Added stamina values to start GB, so CAAP will start a 10v10 even if it
only has 10 stamina

Monster
Streamline general multiplier (Maalvus, etc.) to read off general stats
Improve xp carry over when leveling up. Caap will look for biggest hit
possible with remaining stats, then do power hits or single hits if
possible up to that point, and then the big hit.
Fix siege to show correct phase for old style layout, such as LoM
Ragnarok or Genesis
Replaced some attr.nodeValue commands with attr.value, since nodeValue
deprecated
Fixed merge conflicts
Merge pull request #179 from Artifice/master

Monster Update
d249
Monster stamina tracking

Monster
Implement stamina/energy use tracking per monster. This can be seen on
the title for damage on the dashboard
Also enabled new monster target string modifier :sta, which can be used
to set a limit on how much stamina will be used on a monster, such as
:sta1k to limit stamina use to 1000 stamina
Change config changes for the monster target setting to reselect target,
instead of deleting all monster data to rescan, which would delete
stamina/energy history
Fix for double 's after player name in Festival monsters
Fix monster stamina/energy targeting to address case when no levels
available

Guild Battle
Fix festival battles getting missed because timer reset just before
battle
Fix some errors in GB automatic starting by time -- not sure this works
again yet
Add a priority to GB tower review, so it is not continually interrupted
by Festival or 10v10
Reduce unnecessary GB idle general changes, such as when collecting

Other
Reduce Battle log messages at error level 2
Merge pull request #180 from Artifice/master

Monster stamina tracking
d250
Merge pull request #7 from magowiz/master

up