From Inselkampf
(Difference between revisions)
|
|
Line 1: |
Line 1: |
- | == Archer Efficiency ==
| |
| | | |
- | The figures for efficiency of Bow upgrades use the following math. Feel free to correct me if I screwed up somehow.
| |
- |
| |
- | N = Number of troops where cost of additional troops and cost of upgrading intersect;
| |
- | P1 = attack+defense before upgrade;
| |
- | P2 = attack+defense after upgrade;
| |
- | Ucost = upgrade cost;
| |
- | Tcost = troop cost
| |
- |
| |
- | *P1 * (N + Ucost/Tcost) = P2 * N
| |
- | *(P1 * N) + (P1 * Ucost/Tcost) = P2 * N
| |
- | *P1 * Ucost/Tcost = (P2 * N) - (P1 * N)
| |
- | *P1 * Ucost/Tcost = N(P2 - P1) // Because of the way we're using P2 and P1, we know that: P2 - P1 = 1
| |
- | *Thus for archers: P1 * Ucost/100 = N
| |
- |
| |
- | I specifically didn't floor or round (Ucost/100) because it seemed silly to ignore partially completed archers when they'll be completed within an hour. --[[User:Headphones|Headphones]] 23:16, 6 October 2007 (EDT)
| |
- |
| |
- | * Please sign your posts with four tildes--[[User:DCJoeDog|DCJoeDog]] 20:52, 6 October 2007 (EDT)
| |
Current revision as of 23:10, 9 October 2007