Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- $itemidMIN = 150000;
- $itemidMAX = 150500;
- $host = "localhost";
- $user = "root";
- $pass = "root";
- $worlddb = "arcemu-world";
- mysql_connect($host,$user,$pass);
- @mysql_select_db($worlddb) or die( "Unable to select database");
- $result = mysql_query("SELECT * FROM items where entry >= $itemidMIN and entry <= $itemidMAX ORDER BY CLASS")
- or die(mysql_error());
- while($row = mysql_fetch_array( $result )) {
- $class = $row['class'];
- $subclass = $row['subclass'];
- $name = $row['name1'];
- $quality = $row['quality'];
- $requiredlevel = $row['requiredlevel'];
- $unique = $row['Unique'];
- $armor = $row['armor'];
- $statonetype = $row['stat_type1'];
- $statoneval = $row['stat_value1'];
- $stattwotype = $row['stat_type2'];
- $stattwoval = $row['stat_value2'];
- $statthreetype = $row['stat_type3'];
- $statthreeval = $row['stat_value3'];
- $statfourtype = $row['stat_type4'];
- $statfourval = $row['stat_value4'];
- $statfivetype = $row['stat_type5'];
- $statfiveval = $row['stat_value5'];
- $statsixtype = $row['stat_type6'];
- $statsixval = $row['stat_value6'];
- $statseventype = $row['stat_type7'];
- $statsevenval = $row['stat_value7'];
- $stateighttype = $row['stat_type8'];
- $stateightval = $row['stat_value8'];
- $statninetype = $row['stat_type9'];
- $statnineval = $row['stat_value9'];
- $stattentype = $row['stat_type10'];
- $stattenval = $row['stat_value10'];
- switch ($statonetype){
- case 0:
- $statonetype = (string)$statoneval." MANA<br>";
- break;
- case 1:
- $statonetype = (string)$statoneval." HEALTH<br>";
- break;
- case 2:
- $statonetype = (string)$statoneval." UNKNOWN<br>";
- break;
- case 3:
- $statonetype = (string)$statoneval." AGILITY<br>";
- break;
- case 4:
- $statonetype = (string)$statoneval." STRENGTH<br>";
- break;
- case 5:
- $statonetype = (string)$statoneval." INTELLECT<br>";
- break;
- case 6:
- $statonetype = (string)$statoneval." SPIRIT<br>";
- break;
- case 7:
- $statonetype = (string)$statoneval." STAMINA<br>";
- break;
- case 11:
- $statonetype = (string)$statoneval." WEAPON SKILL RATING<br>";
- break;
- case 12:
- $statonetype = (string)$statoneval." DEFENSE RATING<br>";
- break;
- case 13:
- $statonetype = (string)$statoneval." DODGE RATING<br>";
- break;
- case 14:
- $statonetype = (string)$statoneval." PARRY RATING<br>";
- break;
- case 15:
- $statonetype = (string)$statoneval." SHIELD BLOCK RATING<br>";
- break;
- case 16:
- $statonetype = (string)$statoneval." MELEE HIT RATING<br>";
- break;
- case 17:
- $statonetype = (string)$statoneval." RANGED HIT RATING<br>";
- break;
- case 18:
- $statonetype = (string)$statoneval." SPELL HIT RATING<br>";
- break;
- case 19:
- $statonetype = (string)$statoneval." MELEE CRIT RATING<br>";
- break;
- case 20:
- $statonetype = (string)$statoneval." RANGED CRIT RATING<br>";
- break;
- case 21:
- $statonetype = (string)$statoneval." SPELL CRIT RATING<br>";
- break;
- case 22:
- $statonetype = (string)$statoneval." MELEE HIT AVOIDANCE<br>";
- break;
- case 23:
- $statonetype = (string)$statoneval." RANGED HIT AVOIDANCE<br>";
- break;
- case 24:
- $statonetype = (string)$statoneval." SPELL HIT AVOIDANCE<br>";
- break;
- case 25:
- $statonetype = (string)$statoneval." MELEE CRIT AVOIDANCE<br>";
- break;
- case 26:
- $statonetype = (string)$statoneval." RANGED CRIT AVOIDANCE<br>";
- break;
- case 27:
- $statonetype = (string)$statoneval." SPELL CRIT AVOIDANCE<br>";
- break;
- case 28:
- $statonetype = (string)$statoneval." MELEE HASTE RATING<br>";
- break;
- case 29:
- $statonetype = (string)$statoneval." RANGED HASTE RATING<br>";
- break;
- case 30:
- $statonetype = (string)$statoneval." SPELL HASTE<br>";
- break;
- case 31:
- $statonetype = (string)$statoneval." HIT RATING<br>";
- break;
- case 32:
- $statonetype = (string)$statoneval." CRIT RATING<br>";
- break;
- case 33:
- $statonetype = (string)$statoneval." HIT AVOIDANCE<br>";
- break;
- case 34:
- $statonetype = (string)$statoneval." CRIT AVOIDANCE<br>";
- break;
- case 35:
- $statonetype = (string)$statoneval." RESILIENCE<br>";
- break;
- case 36:
- $statonetype = (string)$statoneval." HASTE RATING<br>";
- break;
- case 37:
- $statonetype = (string)$statoneval." EXPERTISE RATING<br>";
- break;
- case 38:
- $statonetype = (string)$statoneval." ATTACK POWER<br>";
- break;
- case 39:
- $statonetype = (string)$statoneval." RANGED ATTACK POWER<br>";
- break;
- case 40:
- $statonetype = (string)$statoneval." FERAL ATTACK POWER<br>";
- break;
- case 41:
- $statonetype = (string)$statoneval." SPELL HEALING<br>";
- break;
- case 42:
- $statonetype = (string)$statoneval." SPELL DAMAGE<br>";
- break;
- case 43:
- $statonetype = (string)$statoneval." MANA REGEN<br>";
- break;
- case 44:
- $statonetype = (string)$statoneval." ARMOR PENETRATION<br>";
- break;
- case 45:
- $statonetype = (string)$statoneval." SPELL POWER<br>";
- break;
- case 46:
- $statonetype = (string)$statoneval." HEALTH REGEN<br>";
- break;
- case 47:
- $statonetype = (string)$statoneval." SPELL PENETRATION<br>";
- break;
- case 48:
- $statonetype = (string)$statoneval." BLOCK VALUE<br>";
- break;
- }
- switch ($stattwotype){
- case 0:
- $stattwotype = (string)$stattwoval." MANA<br>";
- break;
- case 1:
- $stattwotype = (string)$stattwoval." HEALTH<br>";
- break;
- case 2:
- $stattwotype = (string)$stattwoval." UNKNOWN<br>";
- break;
- case 3:
- $stattwotype = (string)$stattwoval." AGILITY<br>";
- break;
- case 4:
- $stattwotype = (string)$stattwoval." STRENGTH<br>";
- break;
- case 5:
- $stattwotype = (string)$stattwoval." INTELLECT<br>";
- break;
- case 6:
- $stattwotype = (string)$stattwoval." SPIRIT<br>";
- break;
- case 7:
- $stattwotype = (string)$stattwoval." STAMINA<br>";
- break;
- case 11:
- $stattwotype = (string)$stattwoval." WEAPON SKILL RATING<br>";
- break;
- case 12:
- $stattwotype = (string)$stattwoval." DEFENSE RATING<br>";
- break;
- case 13:
- $stattwotype = (string)$stattwoval." DODGE RATING<br>";
- break;
- case 14:
- $stattwotype = (string)$stattwoval." PARRY RATING<br>";
- break;
- case 15:
- $stattwotype = (string)$stattwoval." SHIELD BLOCK RATING<br>";
- break;
- case 16:
- $stattwotype = (string)$stattwoval." MELEE HIT RATING<br>";
- break;
- case 17:
- $stattwotype = (string)$stattwoval." RANGED HIT RATING<br>";
- break;
- case 18:
- $stattwotype = (string)$stattwoval." SPELL HIT RATING<br>";
- break;
- case 19:
- $stattwotype = (string)$stattwoval." MELEE CRIT RATING<br>";
- break;
- case 20:
- $stattwotype = (string)$stattwoval." RANGED CRIT RATING<br>";
- break;
- case 21:
- $stattwotype = (string)$stattwoval." SPELL CRIT RATING<br>";
- break;
- case 22:
- $stattwotype = (string)$stattwoval." MELEE HIT AVOIDANCE<br>";
- break;
- case 23:
- $stattwotype = (string)$stattwoval." RANGED HIT AVOIDANCE<br>";
- break;
- case 24:
- $stattwotype = (string)$stattwoval." SPELL HIT AVOIDANCE<br>";
- break;
- case 25:
- $stattwotype = (string)$stattwoval." MELEE CRIT AVOIDANCE<br>";
- break;
- case 26:
- $stattwotype = (string)$stattwoval." RANGED CRIT AVOIDANCE<br>";
- break;
- case 27:
- $stattwotype = (string)$stattwoval." SPELL CRIT AVOIDANCE<br>";
- break;
- case 28:
- $stattwotype = (string)$stattwoval." MELEE HASTE RATING<br>";
- break;
- case 29:
- $stattwotype = (string)$stattwoval." RANGED HASTE RATING<br>";
- break;
- case 30:
- $stattwotype = (string)$stattwoval." SPELL HASTE<br>";
- break;
- case 31:
- $stattwotype = (string)$stattwoval." HIT RATING<br>";
- break;
- case 32:
- $stattwotype = (string)$stattwoval." CRIT RATING<br>";
- break;
- case 33:
- $stattwotype = (string)$stattwoval." HIT AVOIDANCE<br>";
- break;
- case 34:
- $stattwotype = (string)$stattwoval." CRIT AVOIDANCE<br>";
- break;
- case 35:
- $stattwotype = (string)$stattwoval." RESILIENCE<br>";
- break;
- case 36:
- $stattwotype = (string)$stattwoval." HASTE RATING<br>";
- break;
- case 37:
- $stattwotype = (string)$stattwoval." EXPERTISE RATING<br>";
- break;
- case 38:
- $stattwotype = (string)$stattwoval." ATTACK POWER<br>";
- break;
- case 39:
- $stattwotype = (string)$stattwoval." RANGED ATTACK POWER<br>";
- break;
- case 40:
- $stattwotype = (string)$stattwoval." FERAL ATTACK POWER<br>";
- break;
- case 41:
- $stattwotype = (string)$stattwoval." SPELL HEALING<br>";
- break;
- case 42:
- $stattwotype = (string)$stattwoval." SPELL DAMAGE<br>";
- break;
- case 43:
- $stattwotype = (string)$stattwoval." MANA REGEN<br>";
- break;
- case 44:
- $stattwotype = (string)$stattwoval." ARMOR PENETRATION<br>";
- break;
- case 45:
- $stattwotype = (string)$stattwoval." SPELL POWER<br>";
- break;
- case 46:
- $stattwotype = (string)$stattwoval." HEALTH REGEN<br>";
- break;
- case 47:
- $stattwotype = (string)$stattwoval." SPELL PENETRATION<br>";
- break;
- case 48:
- $stattwotype = (string)$stattwoval." BLOCK VALUE<br>";
- break;
- }
- switch ($statthreetype){
- case 0:
- $statthreetype = (string)$statthreeval." MANA<br>";
- break;
- case 1:
- $statthreetype = (string)$statthreeval." HEALTH<br>";
- break;
- case 2:
- $statthreetype = (string)$statthreeval." UNKNOWN<br>";
- break;
- case 3:
- $statthreetype = (string)$statthreeval." AGILITY<br>";
- break;
- case 4:
- $statthreetype = (string)$statthreeval." STRENGTH<br>";
- break;
- case 5:
- $statthreetype = (string)$statthreeval." INTELLECT<br>";
- break;
- case 6:
- $statthreetype = (string)$statthreeval." SPIRIT<br>";
- break;
- case 7:
- $statthreetype = (string)$statthreeval." STAMINA<br>";
- break;
- case 11:
- $statthreetype = (string)$statthreeval." WEAPON SKILL RATING<br>";
- break;
- case 12:
- $statthreetype = (string)$statthreeval." DEFENSE RATING<br>";
- break;
- case 13:
- $statthreetype = (string)$statthreeval." DODGE RATING<br>";
- break;
- case 14:
- $statthreetype = (string)$statthreeval." PARRY RATING<br>";
- break;
- case 15:
- $statthreetype = (string)$statthreeval." SHIELD BLOCK RATING<br>";
- break;
- case 16:
- $statthreetype = (string)$statthreeval." MELEE HIT RATING<br>";
- break;
- case 17:
- $statthreetype = (string)$statthreeval." RANGED HIT RATING<br>";
- break;
- case 18:
- $statthreetype = (string)$statthreeval." SPELL HIT RATING<br>";
- break;
- case 19:
- $statthreetype = (string)$statthreeval." MELEE CRIT RATING<br>";
- break;
- case 20:
- $statthreetype = (string)$statthreeval." RANGED CRIT RATING<br>";
- break;
- case 21:
- $statthreetype = (string)$statthreeval." SPELL CRIT RATING<br>";
- break;
- case 22:
- $statthreetype = (string)$statthreeval." MELEE HIT AVOIDANCE<br>";
- break;
- case 23:
- $statthreetype = (string)$statthreeval." RANGED HIT AVOIDANCE<br>";
- break;
- case 24:
- $statthreetype = (string)$statthreeval." SPELL HIT AVOIDANCE<br>";
- break;
- case 25:
- $statthreetype = (string)$statthreeval." MELEE CRIT AVOIDANCE<br>";
- break;
- case 26:
- $statthreetype = (string)$statthreeval." RANGED CRIT AVOIDANCE<br>";
- break;
- case 27:
- $statthreetype = (string)$statthreeval." SPELL CRIT AVOIDANCE<br>";
- break;
- case 28:
- $statthreetype = (string)$statthreeval." MELEE HASTE RATING<br>";
- break;
- case 29:
- $statthreetype = (string)$statthreeval." RANGED HASTE RATING<br>";
- break;
- case 30:
- $statthreetype = (string)$statthreeval." SPELL HASTE<br>";
- break;
- case 31:
- $statthreetype = (string)$statthreeval." HIT RATING<br>";
- break;
- case 32:
- $statthreetype = (string)$statthreeval." CRIT RATING<br>";
- break;
- case 33:
- $statthreetype = (string)$statthreeval." HIT AVOIDANCE<br>";
- break;
- case 34:
- $statthreetype = (string)$statthreeval." CRIT AVOIDANCE<br>";
- break;
- case 35:
- $statthreetype = (string)$statthreeval." RESILIENCE<br>";
- break;
- case 36:
- $statthreetype = (string)$statthreeval." HASTE RATING<br>";
- break;
- case 37:
- $statthreetype = (string)$statthreeval." EXPERTISE RATING<br>";
- break;
- case 38:
- $statthreetype = (string)$statthreeval." ATTACK POWER<br>";
- break;
- case 39:
- $statthreetype = (string)$statthreeval." RANGED ATTACK POWER<br>";
- break;
- case 40:
- $statthreetype = (string)$statthreeval." FERAL ATTACK POWER<br>";
- break;
- case 41:
- $statthreetype = (string)$statthreeval." SPELL HEALING<br>";
- break;
- case 42:
- $statthreetype = (string)$statthreeval." SPELL DAMAGE<br>";
- break;
- case 43:
- $statthreetype = (string)$statthreeval." MANA REGEN<br>";
- break;
- case 44:
- $statthreetype = (string)$statthreeval." ARMOR PENETRATION<br>";
- break;
- case 45:
- $statthreetype = (string)$statthreeval." SPELL POWER<br>";
- break;
- case 46:
- $statthreetype = (string)$statthreeval." HEALTH REGEN<br>";
- break;
- case 47:
- $statthreetype = (string)$statthreeval." SPELL PENETRATION<br>";
- break;
- case 48:
- $statthreetype = (string)$statthreeval." BLOCK VALUE<br>";
- break;
- }
- switch ($statfourtype){
- case 0:
- $statfourtype = (string)$statfourval." MANA<br>";
- break;
- case 1:
- $statfourtype = (string)$statfourval." HEALTH<br>";
- break;
- case 2:
- $statfourtype = (string)$statfourval." UNKNOWN<br>";
- break;
- case 3:
- $statfourtype = (string)$statfourval." AGILITY<br>";
- break;
- case 4:
- $statfourtype = (string)$statfourval." STRENGTH<br>";
- break;
- case 5:
- $statfourtype = (string)$statfourval." INTELLECT<br>";
- break;
- case 6:
- $statfourtype = (string)$statfourval." SPIRIT<br>";
- break;
- case 7:
- $statfourtype = (string)$statfourval." STAMINA<br>";
- break;
- case 11:
- $statfourtype = (string)$statfourval." WEAPON SKILL RATING<br>";
- break;
- case 12:
- $statfourtype = (string)$statfourval." DEFENSE RATING<br>";
- break;
- case 13:
- $statfourtype = (string)$statfourval." DODGE RATING<br>";
- break;
- case 14:
- $statfourtype = (string)$statfourval." PARRY RATING<br>";
- break;
- case 15:
- $statfourtype = (string)$statfourval." SHIELD BLOCK RATING<br>";
- break;
- case 16:
- $statfourtype = (string)$statfourval." MELEE HIT RATING<br>";
- break;
- case 17:
- $statfourtype = (string)$statfourval." RANGED HIT RATING<br>";
- break;
- case 18:
- $statfourtype = (string)$statfourval." SPELL HIT RATING<br>";
- break;
- case 19:
- $statfourtype = (string)$statfourval." MELEE CRIT RATING<br>";
- break;
- case 20:
- $statfourtype = (string)$statfourval." RANGED CRIT RATING<br>";
- break;
- case 21:
- $statfourtype = (string)$statfourval." SPELL CRIT RATING<br>";
- break;
- case 22:
- $statfourtype = (string)$statfourval." MELEE HIT AVOIDANCE<br>";
- break;
- case 23:
- $statfourtype = (string)$statfourval." RANGED HIT AVOIDANCE<br>";
- break;
- case 24:
- $statfourtype = (string)$statfourval." SPELL HIT AVOIDANCE<br>";
- break;
- case 25:
- $statfourtype = (string)$statfourval." MELEE CRIT AVOIDANCE<br>";
- break;
- case 26:
- $statfourtype = (string)$statfourval." RANGED CRIT AVOIDANCE<br>";
- break;
- case 27:
- $statfourtype = (string)$statfourval." SPELL CRIT AVOIDANCE<br>";
- break;
- case 28:
- $statfourtype = (string)$statfourval." MELEE HASTE RATING<br>";
- break;
- case 29:
- $statfourtype = (string)$statfourval." RANGED HASTE RATING<br>";
- break;
- case 30:
- $statfourtype = (string)$statfourval." SPELL HASTE<br>";
- break;
- case 31:
- $statfourtype = (string)$statfourval." HIT RATING<br>";
- break;
- case 32:
- $statfourtype = (string)$statfourval." CRIT RATING<br>";
- break;
- case 33:
- $statfourtype = (string)$statfourval." HIT AVOIDANCE<br>";
- break;
- case 34:
- $statfourtype = (string)$statfourval." CRIT AVOIDANCE<br>";
- break;
- case 35:
- $statfourtype = (string)$statfourval." RESILIENCE<br>";
- break;
- case 36:
- $statfourtype = (string)$statfourval." HASTE RATING<br>";
- break;
- case 37:
- $statfourtype = (string)$statfourval." EXPERTISE RATING<br>";
- break;
- case 38:
- $statfourtype = (string)$statfourval." ATTACK POWER<br>";
- break;
- case 39:
- $statfourtype = (string)$statfourval." RANGED ATTACK POWER<br>";
- break;
- case 40:
- $statfourtype = (string)$statfourval." FERAL ATTACK POWER<br>";
- break;
- case 41:
- $statfourtype = (string)$statfourval." SPELL HEALING<br>";
- break;
- case 42:
- $statfourtype = (string)$statfourval." SPELL DAMAGE<br>";
- break;
- case 43:
- $statfourtype = (string)$statfourval." MANA REGEN<br>";
- break;
- case 44:
- $statfourtype = (string)$statfourval." ARMOR PENETRATION<br>";
- break;
- case 45:
- $statfourtype = (string)$statfourval." SPELL POWER<br>";
- break;
- case 46:
- $statfourtype = (string)$statfourval." HEALTH REGEN<br>";
- break;
- case 47:
- $statfourtype = (string)$statfourval." SPELL PENETRATION<br>";
- break;
- case 48:
- $statfourtype = (string)$statfourval." BLOCK VALUE<br>";
- break;
- }
- switch ($statfivetype){
- case 0:
- $statfivetype = (string)$statfiveval." MANA<br>";
- break;
- case 1:
- $statfivetype = (string)$statfiveval." HEALTH<br>";
- break;
- case 2:
- $statfivetype = (string)$statfiveval." UNKNOWN<br>";
- break;
- case 3:
- $statfivetype = (string)$statfiveval." AGILITY<br>";
- break;
- case 4:
- $statfivetype = (string)$statfiveval." STRENGTH<br>";
- break;
- case 5:
- $statfivetype = (string)$statfiveval." INTELLECT<br>";
- break;
- case 6:
- $statfivetype = (string)$statfiveval." SPIRIT<br>";
- break;
- case 7:
- $statfivetype = (string)$statfiveval." STAMINA<br>";
- break;
- case 11:
- $statfivetype = (string)$statfiveval." WEAPON SKILL RATING<br>";
- break;
- case 12:
- $statfivetype = (string)$statfiveval." DEFENSE RATING<br>";
- break;
- case 13:
- $statfivetype = (string)$statfiveval." DODGE RATING<br>";
- break;
- case 14:
- $statfivetype = (string)$statfiveval." PARRY RATING<br>";
- break;
- case 15:
- $statfivetype = (string)$statfiveval." SHIELD BLOCK RATING<br>";
- break;
- case 16:
- $statfivetype = (string)$statfiveval." MELEE HIT RATING<br>";
- break;
- case 17:
- $statfivetype = (string)$statfiveval." RANGED HIT RATING<br>";
- break;
- case 18:
- $statfivetype = (string)$statfiveval." SPELL HIT RATING<br>";
- break;
- case 19:
- $statfivetype = (string)$statfiveval." MELEE CRIT RATING<br>";
- break;
- case 20:
- $statfivetype = (string)$statfiveval." RANGED CRIT RATING<br>";
- break;
- case 21:
- $statfivetype = (string)$statfiveval." SPELL CRIT RATING<br>";
- break;
- case 22:
- $statfivetype = (string)$statfiveval." MELEE HIT AVOIDANCE<br>";
- break;
- case 23:
- $statfivetype = (string)$statfiveval." RANGED HIT AVOIDANCE<br>";
- break;
- case 24:
- $statfivetype = (string)$statfiveval." SPELL HIT AVOIDANCE<br>";
- break;
- case 25:
- $statfivetype = (string)$statfiveval." MELEE CRIT AVOIDANCE<br>";
- break;
- case 26:
- $statfivetype = (string)$statfiveval." RANGED CRIT AVOIDANCE<br>";
- break;
- case 27:
- $statfivetype = (string)$statfiveval." SPELL CRIT AVOIDANCE<br>";
- break;
- case 28:
- $statfivetype = (string)$statfiveval." MELEE HASTE RATING<br>";
- break;
- case 29:
- $statfivetype = (string)$statfiveval." RANGED HASTE RATING<br>";
- break;
- case 30:
- $statfivetype = (string)$statfiveval." SPELL HASTE<br>";
- break;
- case 31:
- $statfivetype = (string)$statfiveval." HIT RATING<br>";
- break;
- case 32:
- $statfivetype = (string)$statfiveval." CRIT RATING<br>";
- break;
- case 33:
- $statfivetype = (string)$statfiveval." HIT AVOIDANCE<br>";
- break;
- case 34:
- $statfivetype = (string)$statfiveval." CRIT AVOIDANCE<br>";
- break;
- case 35:
- $statfivetype = (string)$statfiveval." RESILIENCE<br>";
- break;
- case 36:
- $statfivetype = (string)$statfiveval." HASTE RATING<br>";
- break;
- case 37:
- $statfivetype = (string)$statfiveval." EXPERTISE RATING<br>";
- break;
- case 38:
- $statfivetype = (string)$statfiveval." ATTACK POWER<br>";
- break;
- case 39:
- $statfivetype = (string)$statfiveval." RANGED ATTACK POWER<br>";
- break;
- case 40:
- $statfivetype = (string)$statfiveval." FERAL ATTACK POWER<br>";
- break;
- case 41:
- $statfivetype = (string)$statfiveval." SPELL HEALING<br>";
- break;
- case 42:
- $statfivetype = (string)$statfiveval." SPELL DAMAGE<br>";
- break;
- case 43:
- $statfivetype = (string)$statfiveval." MANA REGEN<br>";
- break;
- case 44:
- $statfivetype = (string)$statfiveval." ARMOR PENETRATION<br>";
- break;
- case 45:
- $statfivetype = (string)$statfiveval." SPELL POWER<br>";
- break;
- case 46:
- $statfivetype = (string)$statfiveval." HEALTH REGEN<br>";
- break;
- case 47:
- $statfivetype = (string)$statfiveval." SPELL PENETRATION<br>";
- break;
- case 48:
- $statfivetype = (string)$statfiveval." BLOCK VALUE<br>";
- break;
- }
- switch ($statsixtype){
- case 0:
- $statsixtype = (string)$statsixval." MANA<br>";
- break;
- case 1:
- $statsixtype = (string)$statsixval." HEALTH<br>";
- break;
- case 2:
- $statsixtype = (string)$statsixval." UNKNOWN<br>";
- break;
- case 3:
- $statsixtype = (string)$statsixval." AGILITY<br>";
- break;
- case 4:
- $statsixtype = (string)$statsixval." STRENGTH<br>";
- break;
- case 5:
- $statsixtype = (string)$statsixval." INTELLECT<br>";
- break;
- case 6:
- $statsixtype = (string)$statsixval." SPIRIT<br>";
- break;
- case 7:
- $statsixtype = (string)$statsixval." STAMINA<br>";
- break;
- case 11:
- $statsixtype = (string)$statsixval." WEAPON SKILL RATING<br>";
- break;
- case 12:
- $statsixtype = (string)$statsixval." DEFENSE RATING<br>";
- break;
- case 13:
- $statsixtype = (string)$statsixval." DODGE RATING<br>";
- break;
- case 14:
- $statsixtype = (string)$statsixval." PARRY RATING<br>";
- break;
- case 15:
- $statsixtype = (string)$statsixval." SHIELD BLOCK RATING<br>";
- break;
- case 16:
- $statsixtype = (string)$statsixval." MELEE HIT RATING<br>";
- break;
- case 17:
- $statsixtype = (string)$statsixval." RANGED HIT RATING<br>";
- break;
- case 18:
- $statsixtype = (string)$statsixval." SPELL HIT RATING<br>";
- break;
- case 19:
- $statsixtype = (string)$statsixval." MELEE CRIT RATING<br>";
- break;
- case 20:
- $statsixtype = (string)$statsixval." RANGED CRIT RATING<br>";
- break;
- case 21:
- $statsixtype = (string)$statsixval." SPELL CRIT RATING<br>";
- break;
- case 22:
- $statsixtype = (string)$statsixval." MELEE HIT AVOIDANCE<br>";
- break;
- case 23:
- $statsixtype = (string)$statsixval." RANGED HIT AVOIDANCE<br>";
- break;
- case 24:
- $statsixtype = (string)$statsixval." SPELL HIT AVOIDANCE<br>";
- break;
- case 25:
- $statsixtype = (string)$statsixval." MELEE CRIT AVOIDANCE<br>";
- break;
- case 26:
- $statsixtype = (string)$statsixval." RANGED CRIT AVOIDANCE<br>";
- break;
- case 27:
- $statsixtype = (string)$statsixval." SPELL CRIT AVOIDANCE<br>";
- break;
- case 28:
- $statsixtype = (string)$statsixval." MELEE HASTE RATING<br>";
- break;
- case 29:
- $statsixtype = (string)$statsixval." RANGED HASTE RATING<br>";
- break;
- case 30:
- $statsixtype = (string)$statsixval." SPELL HASTE<br>";
- break;
- case 31:
- $statsixtype = (string)$statsixval." HIT RATING<br>";
- break;
- case 32:
- $statsixtype = (string)$statsixval." CRIT RATING<br>";
- break;
- case 33:
- $statsixtype = (string)$statsixval." HIT AVOIDANCE<br>";
- break;
- case 34:
- $statsixtype = (string)$statsixval." CRIT AVOIDANCE<br>";
- break;
- case 35:
- $statsixtype = (string)$statsixval." RESILIENCE<br>";
- break;
- case 36:
- $statsixtype = (string)$statsixval." HASTE RATING<br>";
- break;
- case 37:
- $statsixtype = (string)$statsixval." EXPERTISE RATING<br>";
- break;
- case 38:
- $statsixtype = (string)$statsixval." ATTACK POWER<br>";
- break;
- case 39:
- $statsixtype = (string)$statsixval." RANGED ATTACK POWER<br>";
- break;
- case 40:
- $statsixtype = (string)$statsixval." FERAL ATTACK POWER<br>";
- break;
- case 41:
- $statsixtype = (string)$statsixval." SPELL HEALING<br>";
- break;
- case 42:
- $statsixtype = (string)$statsixval." SPELL DAMAGE<br>";
- break;
- case 43:
- $statsixtype = (string)$statsixval." MANA REGEN<br>";
- break;
- case 44:
- $statsixtype = (string)$statsixval." ARMOR PENETRATION<br>";
- break;
- case 45:
- $statsixtype = (string)$statsixval." SPELL POWER<br>";
- break;
- case 46:
- $statsixtype = (string)$statsixval." HEALTH REGEN<br>";
- break;
- case 47:
- $statsixtype = (string)$statsixval." SPELL PENETRATION<br>";
- break;
- case 48:
- $statsixtype = (string)$statsixval." BLOCK VALUE<br>";
- break;
- }
- switch ($statseventype){
- case 0:
- $statseventype = (string)$statsevenval." MANA<br>";
- break;
- case 1:
- $statseventype = (string)$statsevenval." HEALTH<br>";
- break;
- case 2:
- $statseventype = (string)$statsevenval." UNKNOWN<br>";
- break;
- case 3:
- $statseventype = (string)$statsevenval." AGILITY<br>";
- break;
- case 4:
- $statseventype = (string)$statsevenval." STRENGTH<br>";
- break;
- case 5:
- $statseventype = (string)$statsevenval." INTELLECT<br>";
- break;
- case 6:
- $statseventype = (string)$statsevenval." SPIRIT<br>";
- break;
- case 7:
- $statseventype = (string)$statsevenval." STAMINA<br>";
- break;
- case 11:
- $statseventype = (string)$statsevenval." WEAPON SKILL RATING<br>";
- break;
- case 12:
- $statseventype = (string)$statsevenval." DEFENSE RATING<br>";
- break;
- case 13:
- $statseventype = (string)$statsevenval." DODGE RATING<br>";
- break;
- case 14:
- $statseventype = (string)$statsevenval." PARRY RATING<br>";
- break;
- case 15:
- $statseventype = (string)$statsevenval." SHIELD BLOCK RATING<br>";
- break;
- case 16:
- $statseventype = (string)$statsevenval." MELEE HIT RATING<br>";
- break;
- case 17:
- $statseventype = (string)$statsevenval." RANGED HIT RATING<br>";
- break;
- case 18:
- $statseventype = (string)$statsevenval." SPELL HIT RATING<br>";
- break;
- case 19:
- $statseventype = (string)$statsevenval." MELEE CRIT RATING<br>";
- break;
- case 20:
- $statseventype = (string)$statsevenval." RANGED CRIT RATING<br>";
- break;
- case 21:
- $statseventype = (string)$statsevenval." SPELL CRIT RATING<br>";
- break;
- case 22:
- $statseventype = (string)$statsevenval." MELEE HIT AVOIDANCE<br>";
- break;
- case 23:
- $statseventype = (string)$statsevenval." RANGED HIT AVOIDANCE<br>";
- break;
- case 24:
- $statseventype = (string)$statsevenval." SPELL HIT AVOIDANCE<br>";
- break;
- case 25:
- $statseventype = (string)$statsevenval." MELEE CRIT AVOIDANCE<br>";
- break;
- case 26:
- $statseventype = (string)$statsevenval." RANGED CRIT AVOIDANCE<br>";
- break;
- case 27:
- $statseventype = (string)$statsevenval." SPELL CRIT AVOIDANCE<br>";
- break;
- case 28:
- $statseventype = (string)$statsevenval." MELEE HASTE RATING<br>";
- break;
- case 29:
- $statseventype = (string)$statsevenval." RANGED HASTE RATING<br>";
- break;
- case 30:
- $statseventype = (string)$statsevenval." SPELL HASTE<br>";
- break;
- case 31:
- $statseventype = (string)$statsevenval." HIT RATING<br>";
- break;
- case 32:
- $statseventype = (string)$statsevenval." CRIT RATING<br>";
- break;
- case 33:
- $statseventype = (string)$statsevenval." HIT AVOIDANCE<br>";
- break;
- case 34:
- $statseventype = (string)$statsevenval." CRIT AVOIDANCE<br>";
- break;
- case 35:
- $statseventype = (string)$statsevenval." RESILIENCE<br>";
- break;
- case 36:
- $statseventype = (string)$statsevenval." HASTE RATING<br>";
- break;
- case 37:
- $statseventype = (string)$statsevenval." EXPERTISE RATING<br>";
- break;
- case 38:
- $statseventype = (string)$statsevenval." ATTACK POWER<br>";
- break;
- case 39:
- $statseventype = (string)$statsevenval." RANGED ATTACK POWER<br>";
- break;
- case 40:
- $statseventype = (string)$statsevenval." FERAL ATTACK POWER<br>";
- break;
- case 41:
- $statseventype = (string)$statsevenval." SPELL HEALING<br>";
- break;
- case 42:
- $statseventype = (string)$statsevenval." SPELL DAMAGE<br>";
- break;
- case 43:
- $statseventype = (string)$statsevenval." MANA REGEN<br>";
- break;
- case 44:
- $statseventype = (string)$statsevenval." ARMOR PENETRATION<br>";
- break;
- case 45:
- $statseventype = (string)$statsevenval." SPELL POWER<br>";
- break;
- case 46:
- $statseventype = (string)$statsevenval." HEALTH REGEN<br>";
- break;
- case 47:
- $statseventype = (string)$statsevenval." SPELL PENETRATION<br>";
- break;
- case 48:
- $statseventype = (string)$statsevenval." BLOCK VALUE<br>";
- break;
- }
- switch ($stateighttype){
- case 0:
- $stateighttype = (string)$stateightval." MANA<br>";
- break;
- case 1:
- $stateighttype = (string)$stateightval." HEALTH<br>";
- break;
- case 2:
- $stateighttype = (string)$stateightval." UNKNOWN<br>";
- break;
- case 3:
- $stateighttype = (string)$stateightval." AGILITY<br>";
- break;
- case 4:
- $stateighttype = (string)$stateightval." STRENGTH<br>";
- break;
- case 5:
- $stateighttype = (string)$stateightval." INTELLECT<br>";
- break;
- case 6:
- $stateighttype = (string)$stateightval." SPIRIT<br>";
- break;
- case 7:
- $stateighttype = (string)$stateightval." STAMINA<br>";
- break;
- case 11:
- $stateighttype = (string)$stateightval." WEAPON SKILL RATING<br>";
- break;
- case 12:
- $stateighttype = (string)$stateightval." DEFENSE RATING<br>";
- break;
- case 13:
- $stateighttype = (string)$stateightval." DODGE RATING<br>";
- break;
- case 14:
- $stateighttype = (string)$stateightval." PARRY RATING<br>";
- break;
- case 15:
- $stateighttype = (string)$stateightval." SHIELD BLOCK RATING<br>";
- break;
- case 16:
- $stateighttype = (string)$stateightval." MELEE HIT RATING<br>";
- break;
- case 17:
- $stateighttype = (string)$stateightval." RANGED HIT RATING<br>";
- break;
- case 18:
- $stateighttype = (string)$stateightval." SPELL HIT RATING<br>";
- break;
- case 19:
- $stateighttype = (string)$stateightval." MELEE CRIT RATING<br>";
- break;
- case 20:
- $stateighttype = (string)$stateightval." RANGED CRIT RATING<br>";
- break;
- case 21:
- $stateighttype = (string)$stateightval." SPELL CRIT RATING<br>";
- break;
- case 22:
- $stateighttype = (string)$stateightval." MELEE HIT AVOIDANCE<br>";
- break;
- case 23:
- $stateighttype = (string)$stateightval." RANGED HIT AVOIDANCE<br>";
- break;
- case 24:
- $stateighttype = (string)$stateightval." SPELL HIT AVOIDANCE<br>";
- break;
- case 25:
- $stateighttype = (string)$stateightval." MELEE CRIT AVOIDANCE<br>";
- break;
- case 26:
- $stateighttype = (string)$stateightval." RANGED CRIT AVOIDANCE<br>";
- break;
- case 27:
- $stateighttype = (string)$stateightval." SPELL CRIT AVOIDANCE<br>";
- break;
- case 28:
- $stateighttype = (string)$stateightval." MELEE HASTE RATING<br>";
- break;
- case 29:
- $stateighttype = (string)$stateightval." RANGED HASTE RATING<br>";
- break;
- case 30:
- $stateighttype = (string)$stateightval." SPELL HASTE<br>";
- break;
- case 31:
- $stateighttype = (string)$stateightval." HIT RATING<br>";
- break;
- case 32:
- $stateighttype = (string)$stateightval." CRIT RATING<br>";
- break;
- case 33:
- $stateighttype = (string)$stateightval." HIT AVOIDANCE<br>";
- break;
- case 34:
- $stateighttype = (string)$stateightval." CRIT AVOIDANCE<br>";
- break;
- case 35:
- $stateighttype = (string)$stateightval." RESILIENCE<br>";
- break;
- case 36:
- $stateighttype = (string)$stateightval." HASTE RATING<br>";
- break;
- case 37:
- $stateighttype = (string)$stateightval." EXPERTISE RATING<br>";
- break;
- case 38:
- $stateighttype = (string)$stateightval." ATTACK POWER<br>";
- break;
- case 39:
- $stateighttype = (string)$stateightval." RANGED ATTACK POWER<br>";
- break;
- case 40:
- $stateighttype = (string)$stateightval." FERAL ATTACK POWER<br>";
- break;
- case 41:
- $stateighttype = (string)$stateightval." SPELL HEALING<br>";
- break;
- case 42:
- $stateighttype = (string)$stateightval." SPELL DAMAGE<br>";
- break;
- case 43:
- $stateighttype = (string)$stateightval." MANA REGEN<br>";
- break;
- case 44:
- $stateighttype = (string)$stateightval." ARMOR PENETRATION<br>";
- break;
- case 45:
- $stateighttype = (string)$stateightval." SPELL POWER<br>";
- break;
- case 46:
- $stateighttype = (string)$stateightval." HEALTH REGEN<br>";
- break;
- case 47:
- $stateighttype = (string)$stateightval." SPELL PENETRATION<br>";
- break;
- case 48:
- $stateighttype = (string)$stateightval." BLOCK VALUE<br>";
- break;
- }
- switch ($statninetype){
- case 0:
- $statninetype = (string)$statnineval." MANA<br>";
- break;
- case 1:
- $statninetype = (string)$statnineval." HEALTH<br>";
- break;
- case 2:
- $statninetype = (string)$statnineval." UNKNOWN<br>";
- break;
- case 3:
- $statninetype = (string)$statnineval." AGILITY<br>";
- break;
- case 4:
- $statninetype = (string)$statnineval." STRENGTH<br>";
- break;
- case 5:
- $statninetype = (string)$statnineval." INTELLECT<br>";
- break;
- case 6:
- $statninetype = (string)$statnineval." SPIRIT<br>";
- break;
- case 7:
- $statninetype = (string)$statnineval." STAMINA<br>";
- break;
- case 11:
- $statninetype = (string)$statnineval." WEAPON SKILL RATING<br>";
- break;
- case 12:
- $statninetype = (string)$statnineval." DEFENSE RATING<br>";
- break;
- case 13:
- $statninetype = (string)$statnineval." DODGE RATING<br>";
- break;
- case 14:
- $statninetype = (string)$statnineval." PARRY RATING<br>";
- break;
- case 15:
- $statninetype = (string)$statnineval." SHIELD BLOCK RATING<br>";
- break;
- case 16:
- $statninetype = (string)$statnineval." MELEE HIT RATING<br>";
- break;
- case 17:
- $statninetype = (string)$statnineval." RANGED HIT RATING<br>";
- break;
- case 18:
- $statninetype = (string)$statnineval." SPELL HIT RATING<br>";
- break;
- case 19:
- $statninetype = (string)$statnineval." MELEE CRIT RATING<br>";
- break;
- case 20:
- $statninetype = (string)$statnineval." RANGED CRIT RATING<br>";
- break;
- case 21:
- $statninetype = (string)$statnineval." SPELL CRIT RATING<br>";
- break;
- case 22:
- $statninetype = (string)$statnineval." MELEE HIT AVOIDANCE<br>";
- break;
- case 23:
- $statninetype = (string)$statnineval." RANGED HIT AVOIDANCE<br>";
- break;
- case 24:
- $statninetype = (string)$statnineval." SPELL HIT AVOIDANCE<br>";
- break;
- case 25:
- $statninetype = (string)$statnineval." MELEE CRIT AVOIDANCE<br>";
- break;
- case 26:
- $statninetype = (string)$statnineval." RANGED CRIT AVOIDANCE<br>";
- break;
- case 27:
- $statninetype = (string)$statnineval." SPELL CRIT AVOIDANCE<br>";
- break;
- case 28:
- $statninetype = (string)$statnineval." MELEE HASTE RATING<br>";
- break;
- case 29:
- $statninetype = (string)$statnineval." RANGED HASTE RATING<br>";
- break;
- case 30:
- $statninetype = (string)$statnineval." SPELL HASTE<br>";
- break;
- case 31:
- $statninetype = (string)$statnineval." HIT RATING<br>";
- break;
- case 32:
- $statninetype = (string)$statnineval." CRIT RATING<br>";
- break;
- case 33:
- $statninetype = (string)$statnineval." HIT AVOIDANCE<br>";
- break;
- case 34:
- $statninetype = (string)$statnineval." CRIT AVOIDANCE<br>";
- break;
- case 35:
- $statninetype = (string)$statnineval." RESILIENCE<br>";
- break;
- case 36:
- $statninetype = (string)$statnineval." HASTE RATING<br>";
- break;
- case 37:
- $statninetype = (string)$statnineval." EXPERTISE RATING<br>";
- break;
- case 38:
- $statninetype = (string)$statnineval." ATTACK POWER<br>";
- break;
- case 39:
- $statninetype = (string)$statnineval." RANGED ATTACK POWER<br>";
- break;
- case 40:
- $statninetype = (string)$statnineval." FERAL ATTACK POWER<br>";
- break;
- case 41:
- $statninetype = (string)$statnineval." SPELL HEALING<br>";
- break;
- case 42:
- $statninetype = (string)$statnineval." SPELL DAMAGE<br>";
- break;
- case 43:
- $statninetype = (string)$statnineval." MANA REGEN<br>";
- break;
- case 44:
- $statninetype = (string)$statnineval." ARMOR PENETRATION<br>";
- break;
- case 45:
- $statninetype = (string)$statnineval." SPELL POWER<br>";
- break;
- case 46:
- $statninetype = (string)$statnineval." HEALTH REGEN<br>";
- break;
- case 47:
- $statninetype = (string)$statnineval." SPELL PENETRATION<br>";
- break;
- case 48:
- $statninetype = (string)$statnineval." BLOCK VALUE<br>";
- break;
- }
- switch ($stattentype){
- case 0:
- $stattentype = (string)$stattenval." MANA<br>";
- break;
- case 1:
- $stattentype = (string)$stattenval." HEALTH<br>";
- break;
- case 2:
- $stattentype = (string)$stattenval." UNKNOWN<br>";
- break;
- case 3:
- $stattentype = (string)$stattenval." AGILITY<br>";
- break;
- case 4:
- $stattentype = (string)$stattenval." STRENGTH<br>";
- break;
- case 5:
- $stattentype = (string)$stattenval." INTELLECT<br>";
- break;
- case 6:
- $stattentype = (string)$stattenval." SPIRIT<br>";
- break;
- case 7:
- $stattentype = (string)$stattenval." STAMINA<br>";
- break;
- case 11:
- $stattentype = (string)$stattenval." WEAPON SKILL RATING<br>";
- break;
- case 12:
- $stattentype = (string)$stattenval." DEFENSE RATING<br>";
- break;
- case 13:
- $stattentype = (string)$stattenval." DODGE RATING<br>";
- break;
- case 14:
- $stattentype = (string)$stattenval." PARRY RATING<br>";
- break;
- case 15:
- $stattentype = (string)$stattenval." SHIELD BLOCK RATING<br>";
- break;
- case 16:
- $stattentype = (string)$stattenval." MELEE HIT RATING<br>";
- break;
- case 17:
- $stattentype = (string)$stattenval." RANGED HIT RATING<br>";
- break;
- case 18:
- $stattentype = (string)$stattenval." SPELL HIT RATING<br>";
- break;
- case 19:
- $stattentype = (string)$stattenval." MELEE CRIT RATING<br>";
- break;
- case 20:
- $stattentype = (string)$stattenval." RANGED CRIT RATING<br>";
- break;
- case 21:
- $stattentype = (string)$stattenval." SPELL CRIT RATING<br>";
- break;
- case 22:
- $stattentype = (string)$stattenval." MELEE HIT AVOIDANCE<br>";
- break;
- case 23:
- $stattentype = (string)$stattenval." RANGED HIT AVOIDANCE<br>";
- break;
- case 24:
- $stattentype = (string)$stattenval." SPELL HIT AVOIDANCE<br>";
- break;
- case 25:
- $stattentype = (string)$stattenval." MELEE CRIT AVOIDANCE<br>";
- break;
- case 26:
- $stattentype = (string)$stattenval." RANGED CRIT AVOIDANCE<br>";
- break;
- case 27:
- $stattentype = (string)$stattenval." SPELL CRIT AVOIDANCE<br>";
- break;
- case 28:
- $stattentype = (string)$stattenval." MELEE HASTE RATING<br>";
- break;
- case 29:
- $stattentype = (string)$stattenval." RANGED HASTE RATING<br>";
- break;
- case 30:
- $stattentype = (string)$stattenval." SPELL HASTE<br>";
- break;
- case 31:
- $stattentype = (string)$stattenval." HIT RATING<br>";
- break;
- case 32:
- $stattentype = (string)$stattenval." CRIT RATING<br>";
- break;
- case 33:
- $stattentype = (string)$stattenval." HIT AVOIDANCE<br>";
- break;
- case 34:
- $stattentype = (string)$stattenval." CRIT AVOIDANCE<br>";
- break;
- case 35:
- $stattentype = (string)$stattenval." RESILIENCE<br>";
- break;
- case 36:
- $stattentype = (string)$stattenval." HASTE RATING<br>";
- break;
- case 37:
- $stattentype = (string)$stattenval." EXPERTISE RATING<br>";
- break;
- case 38:
- $stattentype = (string)$stattenval." ATTACK POWER<br>";
- break;
- case 39:
- $stattentype = (string)$stattenval." RANGED ATTACK POWER<br>";
- break;
- case 40:
- $stattentype = (string)$stattenval." FERAL ATTACK POWER<br>";
- break;
- case 41:
- $stattentype = (string)$stattenval." SPELL HEALING<br>";
- break;
- case 42:
- $stattentype = (string)$stattenval." SPELL DAMAGE<br>";
- break;
- case 43:
- $stattentype = (string)$stattenval." MANA REGEN<br>";
- break;
- case 44:
- $stattentype = (string)$stattenval." ARMOR PENETRATION<br>";
- break;
- case 45:
- $stattentype = (string)$stattenval." SPELL POWER<br>";
- break;
- case 46:
- $stattentype = (string)$stattenval." HEALTH REGEN<br>";
- break;
- case 47:
- $stattentype = (string)$stattenval." SPELL PENETRATION<br>";
- break;
- case 48:
- $stattentype = (string)$stattenval." BLOCK VALUE<br>";
- break;
- }
- switch($class){
- case 0:
- $class = "CONSUMABLE";
- break;
- case 1:
- $class = "CONTAINER";
- break;
- case 2:
- $class = "WEAPON";
- $mindmg = $row['dmg_min1'];
- $maxdmg = $row['dmg_max1'];
- $damage = "$mindmg - $maxdmg DAMAGE<br>";
- $speed = $row['delay'];
- $speed = "SPEED: ".(string)$speed."<br>";
- $dps = (((double)$row['dmg_min1'] + (double)$row['dmg_max1']) / 2) / ((double)$row['delay'] / 1000);
- $dps = (string)$dps." DPS<br>";
- switch($subclass){
- case 0:
- $subclass = "ONE-HANDED AXE";
- break;
- case 1:
- $subclass = "TWO-HANDED AXE";
- break;
- case 2:
- $subclass = "BOW";
- break;
- case 3:
- $subclass = "GUN";
- break;
- case 4:
- $subclass = "ONE-HANDED MACE";
- break;
- case 5:
- $subclass = "TWO-HANDED MACE";
- break;
- case 6:
- $subclass = "POLEARM";
- break;
- case 7:
- $subclass = "ONE-HANDED SWORD";
- break;
- case 8:
- $subclass = "TWO-HANDED SWORD";
- break;
- case 10:
- $subclass = "STAFF";
- break;
- case 13:
- $subclass = "FIST WEAPON";
- break;
- case 14:
- $subclass = "MISC WEAPON";
- break;
- case 15:
- $subclass = "DAGGER";
- break;
- case 16:
- $subclass = "THROWN<br>";
- break;
- case 18:
- $subclass = "CROSSBOW";
- break;
- case 19:
- $subclass = "WAND";
- break;
- case 20:
- $subclass = "FISHING POLE";
- break;
- }
- break;
- case 3:
- $class = "JEWLERY";
- $subclass = "JEWLERY";
- break;
- case 4:
- $class = "ARMOR";
- switch($subclass){
- case 0:
- $subclass = "JEWLERY";
- break;
- case 1:
- $subclass = "CLOTH";
- break;
- case 2:
- $subclass = "LEATHER";
- break;
- case 3:
- $subclass = "MAIL";
- break;
- case 4:
- $subclass = "PLATE";
- break;
- case 6:
- $subclass = "SHIELD";
- break;
- }
- break;
- case 5:
- $class = "REAGENT";
- break;
- case 6:
- $class = "PROJECTILE";
- switch($subclass){
- case 2:
- $subclass = "ARROW";
- break;
- case 3:
- $subclass = "BULLET";
- break;
- }
- break;
- case 7:
- $class = "TRADEGOODS";
- break;
- case 8:
- $class = "GENERIC";
- break;
- case 9:
- $class = "RECIPE";
- break;
- case 10:
- $class = "MONEY";
- break;
- case 11:
- $class = "QUIVER";
- break;
- case 12:
- $class = "QUEST";
- break;
- case 13:
- $class = "KEY";
- break;
- case 14:
- $class = "PERMANENT";
- break;
- case 15:
- $class = "MISCELLANEOUS";
- break;
- case 16:
- $class = "GLYPH";
- break;
- }
- switch($quality){
- case 0:
- $quality = "#696969";
- break;
- case 1:
- $quality = "#FFFFFF";
- break;
- case 2:
- $quality = "#00FF00";
- break;
- case 3:
- $quality = "#0000FF";
- break;
- case 4:
- $quality = "#7D26CD";
- break;
- case 5:
- $quality = "#DD7500";
- break;
- case 6:
- $quality = "#E3CF57";
- break;
- case 7:
- $quality = "#E3CF57";
- break;
- }
- if($statoneval == 0)
- {
- $statonetype = "";
- }
- if($stattwoval == 0)
- {
- $stattwotype = "";
- }
- if($statthreeval == 0)
- {
- $statthreetype = "";
- }
- if($statfourval == 0)
- {
- $statfourtype = "";
- }
- if($statfiveval == 0)
- {
- $statfivetype = "";
- }
- if($statsixval == 0)
- {
- $statsixtype = "";
- }
- if($statsevenval == 0)
- {
- $statseventype = "";
- }
- if($stateightval == 0)
- {
- $stateighttype = "";
- }
- if($statnineval == 0)
- {
- $statninetype = "";
- }
- if($stattenval == 0)
- {
- $stattentype = "";
- }
- if($armor == 0)
- {
- $armor = "";
- }
- else
- {
- $armor = (string)$armor . " ARMOR";
- }
- echo "<div align= 'left'>";
- echo "<font color=\"$quality\"><b>$name</b></font><br>SUBCLASS - $subclass<br>Requires Level $requiredlevel<br><b>STATS</b><br>$statonetype $stattwotype $statthreetype $statfourtype $statfivetype $statsixtype $statseventype $stateighttype $statninetype $stattentype ";
- echo "$armor";
- echo "$damage";
- echo "$speed";
- echo "$dps";
- echo"<br><br><br>";
- echo "</div>";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment