attack => [
{
anti => 1,
+ name => "Thor's Hammer",
damage => [30, 33, 36, 39],
dps => [46.9, 51.6, 56.3, 61.0],
cooldown => 1.28,
},
{
anti => 2,
- name => 'Explosive Payload',
+ name => 'Javelin Missiles',
+# name => 'Explosive Payload',
damage => [6 .. 9],
bonus => {
'light air' => [6 .. 9],
},
{
anti => 2,
- name => 'High Impact Payload',
+ name => 'Punisher Cannons',
+# name => 'High Impact Payload',
damage => [24, 26, 28, 30],
dps => [12 .. 15],
cooldown => 2,
)} keys %{ $attack->{bonus} }),
) if $attack->{bonus};
+ $out .= sprintf '<span title="%s">', $attack->{name} if $attack->{name};
$out .= showrange($damage, $maxdamage);
+ $out .= '</span>' if $attack->{name};
$out .= sprintf('<span class="unit-splash" title="%s">%s</span>',
$attack->{splash} eq 'line' ? ('linear', '×') : ('splash', '+')
) if $attack->{splash};