What's the formula for Block?

There are two different ways to increase Block, that I know of, at least:
- Gyms give 4 (6 after upgrade) block per building.
- Trainers increase block by 20% (25% after the one upgrade I've found)
Gyms are pretty straightfoward. 4/6 per building, per trimp.
The trouble comes when you start adding in trainers; my calculations aren't matching, so it's hard to figure out which option is more efficient for me at any particular point.
For example, I currently have 15 gyms, 17 trainers, and 7 trimps fighting. My (extremely straightforward math) says I should have:
15*6*(17*.25) = 382 block per trimp. Multiply that by 7, and I get 2677.5. But...I actually have 3307 Block. What am I doing wrong?
Best Answer
The formula without Heirlooms is:
trainer_percentage = 100*(0.2 + 0.05*traintacular)
block_per_gym = 6*(1.04 + gymystic*0.01)^gyms
block = trimps*(shield_base*shield_lvl + gyms*block_per_gym)*(1 + trainers*trainer_percentage/100)
Example
Let's say I have 5298 trimps: trimps = 5298
;
My shield is level 3 and has a base block of 6.09e4: shield_lvl = 3
and shield_base = 6.09e4
;
I have 107 gyms which give 9571 block each: gyms = 109
and block_per_gym = 9571
;
And I have 170 trainers giving +55% block each: trainers = 174
and trainer_percentage = 55
;
Then my total block is given by:
block = trimps*(shield_base*shield_lvl + gyms*block_per_gym)*(1 + trainers*trainer_percentage/100)
block = 5298*(6.09e4*3 + 109*9571)*(1 + 174*55/100)
Which gives 6.28069e+11.
Pictures about "What's the formula for Block?"



How is block calculated?
Calculate the area of a block by multiplying its height and width. Divide your wall area by the block area. The result is the total amount of blocks you need.What is the formula for the volume of a block?
The volume of a block, prism, or cylinder is easily calculated by multiplying the area of the base by the height/altitude of the object.How do you calculate blocks per square meter?
So the first stage is just to measure the height and length (including any piers) of the wall in metres, multiply them together to give the area in square metres, and then multiply this by 60.How do you calculate mortar for block work?
Multiply the area of the wall by 0.02 -- the industry standard factor for calculating mortar volumes for block walls -- if the wall is constructed from double open-ended bond beam blocks. The result is the volume of mortar required, expressed in cubic yards.Rnbstylerz \u0026 AREES - WHAT
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Max Fischer, Max Fischer, Max Fischer, Max Fischer