X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=PA.pm;h=afc5b05861801cfec845aeb7060d4027f26c2368;hb=ccb4338b25220a94114da1bdf5d5d0345c885b06;hp=43e8e45c74ff5bf9cc0653d366485cfd6a03ded6;hpb=474115c110e67e05dd2cf15dd7745570d9bc7bb7;p=NDIRC.git diff --git a/PA.pm b/PA.pm index 43e8e45..afc5b05 100644 --- a/PA.pm +++ b/PA.pm @@ -38,7 +38,7 @@ sub checkPlanet { $x = $1; $y = $2; $z = $3; - }elsif ((officer() || ia()) && defined $msg){ + }elsif ((officer() || ia() || intel()) && defined $msg){ $nick = $msg; }else{ $ND::server->command("notice $ND::nick usage .p X:Y:Z".(officer() || ia() ? ' or .p nick' : '')); @@ -54,7 +54,7 @@ sub checkPlanet { $planet->{$_} = valuecolor(1,$planet->{$_}); } my $ally = ""; - if (officer() || ia() || dc()){ + if (officer() || ia() || dc() | intel()){ $ally = "Alliance=$planet->{alliance} ($planet->{relationship}), Nick=$planet->{nick} ($planet->{planet_status}), Channel: $planet->{channel}, Hostile Count: $planet->{hit_us},"; } $ND::server->command("notice $ND::nick $planet->{coords} $planet->{ruler} OF $planet->{planet},$ally Race=$planet->{race}, Score=$planet->{score} ($planet->{scorerank}), Size=$planet->{size} ($planet->{sizerank}), Value=$planet->{value} ($planet->{valuerank}), XP=$planet->{xp} ($planet->{xprank})"); @@ -113,7 +113,7 @@ sub shipEff { if ($s){ if (defined $value){ $amount = int(($value*100/$s->{cost})); - $feud = '(FEUD: '.prettyValue(int($amount/0.85)).') '; + $feud = '(FEUD: '.prettyValue(int($amount/0.86)).') '; } $value = prettyValue(($amount*$s->{cost}/100)); my $name = shipColor($s->{name},$s->{type});