So, what is this good for? It will calculate the extra performance that jungle drums and/or monkey fort will give to a particular tower,
and try to translate that into numbers, using the original towers' cost-effectiveness as a base. If you build a tower that costs you $ 5000 and you see i.e. 1200 in the pop cost/value 2/1 column,
this means that to get the same performance without boosting the village, you would have to spend $ 1200 on another similar tower.
That of course isn't gameplay-feasible because you cannot really build $ 1200 worth of a $ 5000 tower - but it will give you a rough idea of how beneficial the upgrade is.
Why so complicated page? Because jungle drums do not give exactly 15% increase. There's rounding involved and for faster-firing towers the increase may be significantly higher. And because towers that fire multiple projectiles can benefit from monkey fort more than others.
Limitations - towers with multiple attacks. Treating all attacks separately would mean that each row would be significantly longer and I'm a lazy guy, so I decided to instead normalize the attacks somehow - given that anyway not all of them will score. So, how it's done:
For towers with multiple attacks at different speeds, I will normalize the numbers against one of the attacks. I.e. if the tower attacks with PP3 every 10 frames and with PP10 every 20 frames, the second attack can be divided into two 10-frame attacks with PP5 - so the total result would be PP8 @ 10 frames.
Also, for most towers, the theoretical numbers have to be adjusted for realism. I.e. a 3/0 tack shooter placed in an U-bend will at best hit with 13-15 spikes depending on how tight the bend is. Some attacks will reach their maximum PP only in ideal conditions and I have to make some guess at what is a realistic value. And that's why all those fields are editable - if you don't like my guesses, fill your own numbers in.
Note that there are two buttons - one loads the defaults for the selected tower (and calculates with them), another calculates with the manually modified data.
The two checkboxes are used to mark whether the tower is discounted (placed under the village, on by default after load) and favoured by the terrain (off after load).
What are the most important numbers? The last set. These will tell you how much money's worth of performace will the village boosts add to the tower, or in simplified form, you'd have to spend this much on more of similar tower to get the same performance.
Example: Judging when to upgrade a village to 2/1, with optimally placed 3/0 tack shooter - the value of 2/1 village more than doubles the tack shooter's performance (double damage AND higher speed) - it's worth spending about 1700 in more tacks. So, if you have a village with 1 tack shooter underneath it, it is still cheaper to add another tack (about 1250 with village discount), but once you have two, it is better to then upgrade the village to 2/1 - the cost of 2900 is lower than performance boost for the two tacks (worth about 3400).