Card Attribute Calculation
This page explains how the attack, defense, and looting values of game cards are calculated.
Basic Formula
The attributes of a card depend on a combination of several factors: its power, level, and the number of troops (warriors, wizards, and serfs). The strength is modified by the card's ability.
The formula used to calculate points at each level is:
BasePoints(N) = BP * (0.01 + IPA) * ((N * (N + 1)) / 2) + N * (BP + (PW / 100) * BP)
Where:
- BP = Base Points according to rarity
- IPA = 0 for Base cards, 0.1 for Extended cards
- N = Current level
- PW = Power of the card
- (N * (N + 1)) / 2 = Gauss's sum for the first N natural numbers
Cumulative Skill Modifier
The game uses a cumulative system to apply the skill modifier. Instead of applying the modifier only to the final value, it is applied at each level and this effect accumulates, creating a compound impact.
The formula to calculate the value of an attribute with a skill modifier is:
ModifiedAttribute(1) = BasePoints(1) * (1 + SkillMod)
For N > 1:
ModifiedAttribute(N) = ModifiedAttribute(N-1) + [BasePoints(N) - BasePoints(N-1)] * (1 + SkillMod)
Where SkillMod is the modifier value according to type:
- Slight: +1% (0.01)
- Moderate: +5% (0.05)
- Strong: +10% (0.1)
This cumulative effect explains why an initial 1% modifier can result in a 5% difference at higher levels.
Base Points by Rarity
The base points depend on the card's rarity:
Rarity | Base Points |
---|---|
Common | 100 |
Rare | 200 |
Ultra-Rare | 400 |
Legendary | 800 |
Skill Modifier Codes
Depending on the skill code, the modifier increases only one of the attributes:
Type | Increase | Code | Affected Attribute |
---|---|---|---|
Slight | +1% | 1, 4, 7 | Attack (1), Defense (4), Looting (7) |
Moderate | +5% | 2, 5, 8 | Attack (2), Defense (5), Looting (8) |
Strong | +10% | 3, 6, 9 | Attack (3), Defense (6), Looting (9) |
- Codes 1-3: Increase Attack (warriors)
- Codes 4-6: Increase Defense (wizards)
- Codes 7-9: Increase Looting (serfs)
Example: Base Card Level 50
For a Common Base card with a +1% defense modifier (code 4):
- Base points: 6,525
- Modified defense: 6,851 (approximately +5% due to cumulative effect)
Example: Extended Card Level 70
For a Common Extended card with a +1% defense modifier (code 4):
- Base points: 34,685
- Modified defense: 36,419 (approximately +5% due to cumulative effect)
Maximum Levels by Rarity and State
The number of levels a card can improve depends on its rarity and evolution state:
Rarity | Base | Extended |
---|---|---|
Common | 1-50 | 1-70 |
Rare | 1-80 | 1-100 |
Ultra-Rare | 1-90 | 1-120 |
Legendary | 1-110 | 1-180 |