Changeset 142 for minimanager/scripts/get_lib.php
- Timestamp:
- Nov 23, 2007, 11:29:33 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
minimanager/scripts/get_lib.php
r19 r142 369 369 switch ($dmg_type) { 370 370 case 0: // Physical 371 $tooltip .= "$min_dmg_value - $max_dmg_value {$lang_item['damage']}<br />(". round(((($min_dmg_value+$max_dmg_value)/2)/($item[52]/1000)),2)." DPS) {$lang_item['speed']} : ".(($item[52])/1000)."<br />";371 $tooltip .= "$min_dmg_value - $max_dmg_value {$lang_item['damage']}<br />(".($item[52] ? round(((($min_dmg_value+$max_dmg_value)/2)/($item[52]/1000)),2): $min_dmg_value)." DPS) {$lang_item['speed']} : ".(($item[52])/1000)."<br />"; 372 372 break; 373 373 case 1: // Holy … … 639 639 preg_match("~(Icon.create\('(.*?)')~", $temp, $temp); 640 640 if (!isset($temp[2])) return "img/INV/INV_blank_32.gif"; 641 641 $temp[2] = strtolower($temp[2]); 642 642 643 //get the icon itself 643 644 $fp = @fsockopen($proxy, $port, $errno, $errstr, 0.4);
Note:
See TracChangeset
for help on using the changeset viewer.