]> ruin.nu Git - ndwebbie.git/blobdiff - ND/Web/Pages/Raids.pm
color code for bash limit
[ndwebbie.git] / ND / Web / Pages / Raids.pm
index eddd7c8935e7de626374bf4b606d12d98321470d..cb2a7ed0d06639215b6ea0d24f046e8ebbbbc3ef 100644 (file)
@@ -251,6 +251,8 @@ sub render_body {
                                if ($planet->{x} == $target->{x}){
                                        $target{style} = 'incluster';
                                }
+                               $target{ScoreBash} = 'bash' if ($target->{score}/$planet->{score} < 0.4);
+                               $target{ValueBash} = 'bash' if ($target->{value}/$planet->{value} < 0.4);
                        }
 
                        my @roids;