User:Nefastu/Damage
From Guild Wars 2 Wiki
Jump to navigationJump to search
Description[edit]
This template calculates damage with the given parameters and outputs as a {{Skill fact}}.
Parameters[edit]
- weapon
- Required. Defaults to sword. (default value should be changed to detect weapon type via
{{#show:{{PAGENAME}}|?Is for weapon}}
with proper bundle/conjure/kit/transform/... handling.) - coefficient
- Required.
- strikes
- Optional. If more than 1 hit, damage calculation will round each hit and sum all hits (like in-game).
- alt
- Optional. Displays alternate text instead of Damage.
Examples[edit]
{{skill icon|Rending Claws}} : {{User:Nefastu/Damage|weapon=axe|coefficient=0.88|strikes=2}}
- Damage (2x): 322 (0.88)?
{{skill icon|Blurred Frenzy}} : {{User:Nefastu/Damage|weapon=sword|coefficient=4.8|strikes=8}}
- Damage (8x): 1,760 (4.8)?
{{skill icon|Flame Trap}} : {{User:Nefastu/Damage|weapon=utility|coefficient=0.3|alt=Damage per pulse}}
- Damage per pulse: 80 (0.3)?