Technical specifications and information

Raw data about the various terrains, units and mathematics behind Weewar.com. Use is to refine your strategies or to better understand the inner workings of Weewar.com.

How battles are calculated

If a unit attacks another unit the outcome is determined by the following:

Gang up bonus

If a unit is attacked multiple times during the same turn attackers receive an additional bonus (B) as follows:

The math

p = 0.05 * (((A + Ta) - (D + Td))+B) + 0.5

if p < 0 set p to 0

if p > 1 set p to 1

For each sub unit of the attacker six random numbers (r) between 0 and 1 are generated. For each r < p a hit is counted. The total number of hits divided by 6 is the number of sub units the opponent loses during the attack.

Attacker and defender then switch roles and the process starts over. Please note: Losses will only be removed when the battle is over. They will not affect the calcualtions of the current attack.

Terrains

Can be captured Effect on attack (Ta) Effect on defense (Td) Movement cost Generates income
Airfield soft: 2
hard: 0
air: 3
speedboat: 0
amphibic: 0
sub: -2
boat: 0
soft: 2
hard: -1
air: 3
speedboat: 0
amphibic: -1
sub: -1
boat: -1
soft: 3
hard: 2
air: 3
speedboat: 99
amphibic: 3
sub: 99
boat: 99
Base soft: 2
hard: 0
air: 0
speedboat: 0
amphibic: 0
sub: 0
boat: 0
soft: 2
hard: -1
air: 0
speedboat: 0
amphibic: 0
sub: 0
boat: 0
soft: 3
hard: 2
air: 3
speedboat: 99
amphibic: 3
sub: 99
boat: 99
100%
Desert soft: -1
hard: 0
air: 0
speedboat: 0
amphibic: 0
sub: 0
boat: 0
soft: -1
hard: 0
air: 0
speedboat: 0
amphibic: 0
sub: 0
boat: 0
soft: 5
hard: 4
air: 3
speedboat: 99
amphibic: 3
sub: 99
boat: 99
Harbor soft: 2
hard: 0
air: 0
speedboat: 0
amphibic: 0
sub: -2
boat: 0
soft: 2
hard: -1
air: 0
speedboat: 0
amphibic: -1
sub: -1
boat: -1
soft: 3
hard: 2
air: 3
speedboat: 3
amphibic: 3
sub: 3
boat: 3
Mountains soft: 2
hard: -10
air: 0
speedboat: 0
amphibic: 0
sub: 0
boat: 0
soft: 4
hard: -10
air: 0
speedboat: 0
amphibic: 0
sub: 0
boat: 0
soft: 6
hard: 99
air: 3
speedboat: 99
amphibic: 99
sub: 99
boat: 99
Plains soft: 0
hard: 0
air: 0
speedboat: 0
amphibic: 0
sub: 0
boat: 0
soft: 0
hard: 0
air: 0
speedboat: 0
amphibic: 0
sub: 0
boat: 0
soft: 3
hard: 3
air: 3
speedboat: 99
amphibic: 3
sub: 99
boat: 99
Repair patch soft: 0
hard: 0
air: 0
speedboat: 0
amphibic: 0
sub: 0
boat: 0
soft: -6
hard: -6
air: 0
speedboat: 0
amphibic: 0
sub: 0
boat: 0
soft: 3
hard: 3
air: 3
speedboat: 99
amphibic: 3
sub: 99
boat: 99
Swamp soft: -1
hard: -1
air: 0
speedboat: 0
amphibic: 0
sub: 0
boat: 0
soft: -2
hard: -2
air: 0
speedboat: 0
amphibic: 0
sub: 0
boat: 0
soft: 6
hard: 6
air: 3
speedboat: 99
amphibic: 3
sub: 99
boat: 99
Water soft: -10
hard: -10
air: 0
speedboat: 0
amphibic: 0
sub: 0
boat: 0
soft: -10
hard: -10
air: 0
speedboat: 0
amphibic: 0
sub: 0
boat: 0
soft: 99
hard: 99
air: 3
speedboat: 3
amphibic: 3
sub: 3
boat: 3
Woods soft: 2
hard: 0
air: 0
speedboat: 0
amphibic: 0
sub: 0
boat: 0
soft: 3
hard: -3
air: 0
speedboat: 0
amphibic: 0
sub: 0
boat: 0
soft: 4
hard: 6
air: 3
speedboat: 99
amphibic: 99
sub: 99
boat: 99

Units

Attack strength (A) Defense strength (D) Mobility Attack Range
Anti Aircraft (HARD) soft: 8
hard: 3
air: 9
speedboat: 3
amphibic: 3
sub: 0
boat: 3
4 9 1 - 3
Assault Artillery (HARD) soft: 8
hard: 6
air: 6
speedboat: 6
amphibic: 6
sub: 0
boat: 6
6 12 1 - 2
Battleship (BOAT) soft: 10
hard: 14
air: 6
speedboat: 14
amphibic: 14
sub: 4
boat: 14
14 6 1 - 4
Berserker (HARD) soft: 14
hard: 16
air: 0
speedboat: 14
amphibic: 14
sub: 0
boat: 14
14 6 1 - 1
Bomber (AIR) soft: 14
hard: 14
air: 0
speedboat: 14
amphibic: 14
sub: 0
boat: 14
10 18,6 1 - 1
D.F.A. (HARD) soft: 16
hard: 14
air: 0
speedboat: 14
amphibic: 14
sub: 0
boat: 14
4 6 2 - 5
Destroyer (BOAT) soft: 10
hard: 10
air: 12
speedboat: 12
amphibic: 12
sub: 16
boat: 10
12 12 1 - 3
Heavy Artillery (HARD) soft: 12
hard: 10
air: 0
speedboat: 10
amphibic: 10
sub: 0
boat: 10
4 6 3 - 4
Heavy Tank (HARD) soft: 10
hard: 12
air: 0
speedboat: 10
amphibic: 10
sub: 0
boat: 10
14 7 1 - 1
Heavy Trooper (SOFT) soft: 6
hard: 8
air: 6
speedboat: 8
amphibic: 8
sub: 0
boat: 8
6 (2 when capturing) 6 1 - 1
Helicopter (AIR) soft: 16
hard: 10
air: 6
speedboat: 12
amphibic: 12
sub: 0
boat: 8
10 15,3 1 - 1
Hovercraft (AMPHIBIC) soft: 10
hard: 6
air: 0
speedboat: 8
amphibic: 10
sub: 0
boat: 6
8 12 1 - 1
Jetfighter (AIR) soft: 6
hard: 8
air: 16
speedboat: 6
amphibic: 6
sub: 0
boat: 6
12 18,6 1 - 1
Light Artillery (HARD) soft: 10
hard: 4
air: 0
speedboat: 4
amphibic: 4
sub: 0
boat: 4
3 9 2 - 3
Raider (HARD) soft: 10
hard: 4
air: 4
speedboat: 4
amphibic: 8
sub: 0
boat: 4
8 12 1 - 1
Speedboat (SPEEDBOAT) soft: 8
hard: 6
air: 6
speedboat: 10
amphibic: 16
sub: 0
boat: 6
6 12 1 - 1
Submarine (SUB) soft: 0
hard: 0
air: 0
speedboat: 0
amphibic: 0
sub: 10
boat: 16
10 9 1 - 2
Tank (HARD) soft: 10
hard: 7
air: 0
speedboat: 7
amphibic: 7
sub: 0
boat: 7
10 9 1 - 1
Trooper (SOFT) soft: 6
hard: 3
air: 0
speedboat: 3
amphibic: 3
sub: 0
boat: 3
6 (2 when capturing) 9 1 - 1