projects:archevo:capturetheflag
CaptureTheFlag
CaptureTheFlag is a combat handler. CaptureTheFlag works by comparing the number of similar bits in an attacker's “guess” register (Register 3) to the defender's “logo” register (Register 2). More similar bits means more energy taken from the defender. However, if the number of similar bits is less than 4, the attacker takes a penalty.
No. similar bits | Attacker energy change | Defender energy change |
---|---|---|
0 | -16 | 0 |
1 | -8 | 0 |
2 | -4 | 0 |
3 | -2 | 0 |
4 | -1 | 0 |
5 | +2 | -2 |
6 | +4 | -4 |
7 | +8 | -8 |
8 | +16 | -16 |
If the defender is null, the attacker get -16.
projects/archevo/capturetheflag.txt · Last modified: 2021/04/21 00:37 by Owen Mellema