- Timestamp:
- 02/20/07 13:12:00 (15 years ago)
- Location:
- dev/common
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
dev/common/class.kill.php
r181 r189 166 166 function getVictimShipValueIndicator() 167 167 { 168 $value = $this->getVictimShipValue(); 168 // value is now raw 169 $value = $this->getVictimShipValue()/1000000; 169 170 170 171 if ($value >= 0 && $value <= 1) 171 $color = "gray";172 $color = 'gray'; 172 173 elseif ($value > 1 && $value <= 15) 173 $color = "blue";174 $color = 'blue'; 174 175 elseif ($value > 15 && $value <= 25) 175 $color = "green";176 $color = 'green'; 176 177 elseif ($value > 25 && $value <= 40) 177 $color = "yellow";178 $color = 'yellow'; 178 179 elseif ($value > 40 && $value <= 80) 179 $color = "red";180 $color = 'red'; 180 181 elseif ($value > 80 && $value <= 250) 181 $color = "orange";182 elseif ($value > 250 && $value <= 7000)183 $color = "purple";184 185 return IMG_URL. "/ships/ship-".$color.".gif";182 $color = 'orange'; 183 elseif ($value > 250) 184 $color = 'purple'; 185 186 return IMG_URL.'/ships/ship-'.$color.'.gif'; 186 187 } 187 188 -
dev/common/class.killlist.php
r188 r189 257 257 $this->realkillcounter_++; 258 258 259 global $config; 260 if ($config->getConfig('ship_values')) 259 if (config::get('ship_values')) 261 260 { 262 261 if ($row['shp_value'])