},
attack => [
{
+ anti => 3,
+ count => 8,
range => 8, # leash range 14
- dps => [13.3, undef, undef, 42.6],
+ dps => [26.7, undef, undef, 42.6],
cooldown => 0.5,
},
],
attack => [
{
anti => 1,
- dps => [27.9, 30.2, 32.5, 34.8],
+ dps => [16.7, undef, undef, 20.8], # 20/.6 * 2 /60*25
type => 'projectile',
- cooldown => 0.86,
+ count => 2,
+ cooldown => 60,
+ duration => 25,
+ range => 3*25, # locust speed * duration = theoretical walk limit
},
],
speed => 2.95,
) if $attack->{splash};
$out .= '<td class="val hurt hurtrel">';
- if ($attack->{cooldown}) {
+ if ($attack->{dps}) {
+ $out .= showrange($attack->{dps}->[0], $attack->{dps}->[-1]);
+ }
+ elsif ($attack->{cooldown}) {
if (my $type = $attack->{type}) {
if ($type eq 'explosive') {
$damage /= 2;