Battlefield Sea+Town
![]() ![]() |
nice plugin, but -the correct Sea-Battle-Size is always 5.
|
![]() ![]() |
Sorry, I did not catch your first sentence.
|
![]() ![]() |
the first issue: the Sea-battle has always 5 slots front line, 5 slots mortar/catapults and 1 slot submarine independent of the current city size. second: hmm, I am pretty sure that it did show only 3 slots, but I can not reproduce it. I did hit the correct city, I attacked several times and only after the last upgrade I noticed that the preview displayed some units in reserve.
|
![]() ![]() |
Ok. It appears you are right regarding sea-battle field size. I do not use fleet (and looks like almost nobody uses it), therefore couldn't be noticed about mismatch in number of slots. |
![]() ![]() |
I am sorry but I was right. It is a IkaTools - bug.
var targetLevel = IkaTools.getVal("ikariamArmyHelper.targetCityLevel." + targetId);
if (typeof(targetLevel) == 'object') {
targetLevel = 1;
}
to reproduce the bug, jump via a link to the town to attack (from an old pillage report). When you attack without changing the selection, the town level is said to be 1. |
![]() ![]() |
As I understand, the additional condition is you never attacked (clicked to this city on an island) before. Otherwise the level of target city would be recorded. The script stores target level on click event. Perhaps it is needed to change the algorithm to scan whole island and save target levels for all cities on it. Actually I presume the situation when target level is not defined (i.e. going to pillage page using direct links provided by other scripts, etc.). But which level to use in this case? |
![]() ![]() |
I use several computers -> ergo on some of them your script did not store the town size.
|


