Template:Damage calculation
From Guild Wars 2 Wiki
Jump to navigationJump to search
Description[edit]
This template calculates damage with the given parameters. Used by {{Skill fact}}.
Usage[edit]
damage = (weapon strength * power * coefficient) / armor
Parameters[edit]
- weapon
- Required. Defaults to sword.
- coefficient
- Required.
- strikes
- Optional. If more than 1 hit, damage calculation will round each hit and sum all hits (like in-game).
- level
- Optional. Defaults to exotic.
- weapon strength
- Optional. Defaults to the weapon strength defined by the weapon.
- power
- Optional. Defaults to 1000.
- armor
- Optional. Defaults to 2597.
Examples[edit]
{{skill icon|Rending Claws}}
: {{Damage calculation|weapon=axe|coefficient=0.88|strikes=2}}
- 322
{{skill icon|Blurred Frenzy}}
: {{Damage calculation|weapon=sword|coefficient=4.8|strikes=8}}
- 1,760
{{skill icon|Flame Trap}}
: {{Damage calculation|weapon=utility|coefficient=0.3}}
- 80
Weapon types[edit]
| Weapon type | Weapon strength midpoint | |||
|---|---|---|---|---|
| Unequipped | PvP | Exotic (default) | Ascended | |
| axe dagger mace pistol scepter |
690 | 922.5 | 952.5 | 1000 |
| spear trident harpoon gun aquatic short bow shortbow sword (default) |
690.5 | 922.5 | 952.5 | 1000 |
| focus | 621.5 | 830 | 857.5 | 900 |
| shield torch |
621 | 830.5 | 857.5 | 900 |
| warhorn | 621 | 830.5 | 857 | 900 |
| greatsword | 759 | 1014.5 | 1047.5 | 1100 |
| hammer staff |
759.5 | 1015 | 1048 | 1100 |
| longbow | 725 | 968.5 | 1000 | 1050 |
| rifle | 793.5 | 1061 | 1095.5 | 1150 |
| no weapon unequipped trait trait skill utility |
690.5 | 690.5 | 690.5 | 690.5 |
| kit conjure tome bundle |
690.5 | 922.5 | 922.5 | 922.5 |
| transform | 690.5 | 1015.0 | 772.5 | 772.5 |
Others[edit]
| Type | Weapon strength midpoint |
|---|---|
| pet | 2877.5 |
| phantasm high | 2877.0 |
| pet wyvern phantasm medium |
2615.5 |
| phantasm low | 2553.5 |