Changeset 142 for minimanager/item.php
- Timestamp:
- Nov 23, 2007, 11:29:33 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
minimanager/item.php
r19 r142 16 16 } 17 17 18 function output_status_options($stat_type_offset){ 19 global $lang_item, $output; 20 21 $stat_type = array( 0 => "", 1 => "", 3 => "", 4 => "", 5 => "", 6 => "", 7 => "",12 => "", 22 13 => "",14 => "",15 => "",16 => "",17 => "",18 => "",19 => "",20 => "",21 => "",22 => "", 23 23 => "",24 => "",25 => "",26 => "",27 => "",28 => "",29 => "",30 => "",31 => "",32 => "", 24 33 => "",34 => "",35 => "",36 => ""); 25 if (!$stat_type_offset) $stat_type_offset = 0; 26 $stat_type[$stat_type_offset] = " selected=\"selected\" "; 27 28 $output .= "<option value=\"0\" {$stat_type[0]}>0: {$lang_item['mana']}</option> 29 <option value=\"1\" {$stat_type[1]}>1: {$lang_item['health']}</option> 30 <option value=\"3\" {$stat_type[3]}>3: {$lang_item['agility']}</option> 31 <option value=\"4\" {$stat_type[4]}>4: {$lang_item['strength']}</option> 32 <option value=\"5\" {$stat_type[5]}>5: {$lang_item['intellect']}</option> 33 <option value=\"6\" {$stat_type[6]}>6: {$lang_item['spirit']}</option> 34 <option value=\"7\" {$stat_type[7]}>7: {$lang_item['stamina']}</option> 35 <option value=\"12\" {$stat_type[12]}>12: {$lang_item['DEFENCE_RATING']}</option> 36 <option value=\"13\" {$stat_type[13]}>13: {$lang_item['DODGE_RATING']}</option> 37 <option value=\"14\" {$stat_type[14]}>14: {$lang_item['PARRY_RATING']}</option> 38 <option value=\"15\" {$stat_type[15]}>15: {$lang_item['SHIELD_BLOCK_RATING']}</option> 39 <option value=\"16\" {$stat_type[16]}>16: {$lang_item['MELEE_HIT_RATING']}</option> 40 <option value=\"17\" {$stat_type[17]}>17: {$lang_item['RANGED_HIT_RATING']}</option> 41 <option value=\"18\" {$stat_type[18]}>18: {$lang_item['SPELL_HIT_RATING']}</option> 42 <option value=\"19\" {$stat_type[19]}>19: {$lang_item['MELEE_CS_RATING']}</option> 43 <option value=\"20\" {$stat_type[20]}>20: {$lang_item['RANGED_CS_RATING']}</option> 44 <option value=\"21\" {$stat_type[21]}>21: {$lang_item['SPELL_CS_RATING']}</option> 45 <option value=\"22\" {$stat_type[22]}>22: {$lang_item['MELEE_HA_RATING']}</option> 46 <option value=\"23\" {$stat_type[23]}>23: {$lang_item['RANGED_HA_RATING']}</option> 47 <option value=\"24\" {$stat_type[24]}>24: {$lang_item['SPELL_HA_RATING']}</option> 48 <option value=\"25\" {$stat_type[25]}>25: {$lang_item['MELEE_CA_RATING']}</option> 49 <option value=\"26\" {$stat_type[26]}>26: {$lang_item['RANGED_CA_RATING']}</option> 50 <option value=\"27\" {$stat_type[27]}>27: {$lang_item['SPELL_CA_RATING']}</option> 51 <option value=\"28\" {$stat_type[28]}>28: {$lang_item['MELEE_HASTE_RATING']}</option> 52 <option value=\"29\" {$stat_type[29]}>29: {$lang_item['RANGED_HASTE_RATING']}</option> 53 <option value=\"30\" {$stat_type[30]}>30: {$lang_item['SPELL_HASTE_RATING']}</option> 54 <option value=\"31\" {$stat_type[31]}>31: {$lang_item['HIT_RATING']}</option> 55 <option value=\"32\" {$stat_type[32]}>32: {$lang_item['CS_RATING']}</option> 56 <option value=\"33\" {$stat_type[33]}>33: {$lang_item['HA_RATING']}</option> 57 <option value=\"34\" {$stat_type[34]}>34: {$lang_item['CA_RATING']}</option> 58 <option value=\"35\" {$stat_type[35]}>35: {$lang_item['RESILIENCE_RATING']}</option> 59 <option value=\"36\" {$stat_type[36]}>36: {$lang_item['HASTE_RATING']}</option>"; 60 61 return; 62 } 63 64 function output_dmgtype_options($dmg_type_offset){ 65 global $lang_item, $output; 66 67 $dmg_type = array( 0 => "", 1 => "", 2 => "", 3 => "", 4 => "", 5 => "", 6 => ""); 68 if (!$dmg_type_offset) $dmg_type_offset = 0; 69 $dmg_type[$dmg_type_offset] = " selected=\"selected\" "; 70 71 $output .= "<option value=\"0\" {$dmg_type[0]}>0: {$lang_item['physical_dmg']}</option> 72 <option value=\"1\" {$dmg_type[1]}>1: {$lang_item['holy_dmg']}</option> 73 <option value=\"2\" {$dmg_type[2]}>2: {$lang_item['fire_dmg']}</option> 74 <option value=\"3\" {$dmg_type[3]}>3: {$lang_item['nature_dmg']}</option> 75 <option value=\"4\" {$dmg_type[4]}>4: {$lang_item['frost_dmg']}</option> 76 <option value=\"5\" {$dmg_type[5]}>5: {$lang_item['shadow_dmg']}</option> 77 <option value=\"6\" {$dmg_type[6]}>6: {$lang_item['arcane_dmg']}</option>"; 78 79 return; 80 } 81 18 82 //######################################################################################################################## 19 83 // PRINT ITEM SEARCH FORM … … 30 94 31 95 $output .= "<center> 32 <fieldset style=\"width: 760px;\">96 <fieldset class=\"full_frame\"> 33 97 <legend>{$lang_item_edit['search_item']}</legend><br /> 34 98 <form action=\"item.php?action=do_search&error=2\" method=\"post\" name=\"form\"> … … 509 573 <tr class=\"large_bold\"><td colspan=\"8\" class=\"hidden\" align=\"left\">{$lang_item_edit['container']}:</td></tr> 510 574 <tr> 575 <td>".makeinfocell($lang_item_edit['max_count'],$lang_item_edit['max_count_desc'])."</td> 576 <td><input type=\"text\" name=\"maxcount\" size=\"8\" maxlength=\"5\" value=\"0\" /></td> 577 578 <td>".makeinfocell($lang_item_edit['stackable'],$lang_item_edit['stackable_desc'])."</td> 579 <td><input type=\"text\" name=\"stackable\" size=\"8\" maxlength=\"5\" value=\"1\" /></td> 580 511 581 <td>".makeinfocell($lang_item_edit['bag_family'],$lang_item_edit['bag_family_desc'])."</td> 512 <td colspan=\"3\"><select name=\"BagFamily\">582 <td><select name=\"BagFamily\"> 513 583 <option value=\"0\">0 - {$lang_item['none']}</option> 514 584 <option value=\"1\">1 - {$lang_item['arrows']}</option> … … 523 593 </select></td> 524 594 <td>".makeinfocell($lang_item_edit['bag_slots'],$lang_item_edit['bag_slots_desc'])."</td> 525 <td colspan=\"3\"><input type=\"text\" name=\"ContainerSlots\" size=\"10\" maxlength=\"3\" value=\"0\" /></td>595 <td><input type=\"text\" name=\"ContainerSlots\" size=\"6\" maxlength=\"3\" value=\"0\" /></td> 526 596 </tr> 527 597 <tr> … … 557 627 </tr> 558 628 629 <tr class=\"large_bold\"><td colspan=\"8\" class=\"hidden\" align=\"left\">{$lang_item_edit['RandomProperty']}:</td></tr> 630 <tr> 631 <td colspan=\"2\">".makeinfocell($lang_item_edit['RandomProperty'],$lang_item_edit['RandomProperty_desc'])."</td> 632 <td colspan=\"2\"><input type=\"text\" name=\"RandomProperty\" size=\"8\" maxlength=\"30\" value=\"0\" /></td> 633 634 <td colspan=\"2\">".makeinfocell($lang_item_edit['RandomSuffix'],$lang_item_edit['RandomSuffix_desc'])."</td> 635 <td colspan=\"2\"><input type=\"text\" name=\"RandomSuffix\" size=\"8\" maxlength=\"10\" value=\"0\" /></td> 636 </tr> 637 638 559 639 <tr class=\"large_bold\"><td colspan=\"8\" class=\"hidden\" align=\"left\">{$lang_item_edit['other']}:</td></tr> 560 640 <tr> 561 <td>".makeinfocell($lang_item_edit['max_count'],$lang_item_edit['max_count_desc'])."</td> 562 <td><input type=\"text\" name=\"maxcount\" size=\"6\" maxlength=\"5\" value=\"0\" /></td> 563 564 <td>".makeinfocell($lang_item_edit['stackable'],$lang_item_edit['stackable_desc'])."</td> 565 <td><input type=\"text\" name=\"stackable\" size=\"6\" maxlength=\"5\" value=\"1\" /></td> 641 642 <td>".makeinfocell($lang_item_edit['area'],$lang_item_edit['area_desc'])."</td> 643 <td><input type=\"text\" name=\"area\" size=\"8\" maxlength=\"10\" value=\"0\" /></td> 644 645 <td>".makeinfocell($lang_item_edit['map'],$lang_item_edit['map_desc'])."</td> 646 <td><input type=\"text\" name=\"Map\" size=\"8\" maxlength=\"10\" value=\"0\" /></td> 566 647 567 648 <td>".makeinfocell($lang_item_edit['page_text'],$lang_item_edit['page_text_desc'])."</td> … … 571 652 <td><input type=\"text\" name=\"unk0\" size=\"8\" maxlength=\"10\" value=\"-1\" /></td> 572 653 </tr> 573 <tr> 574 575 <td>".makeinfocell($lang_item_edit['lang_id'],$lang_item_edit['lang_id_desc'])."</td> 654 655 <tr> 656 <td colspan=\"2\">".makeinfocell($lang_item_edit['disenchant_id'],$lang_item_edit['disenchant_id_desc'])."</td> 657 <td><input type=\"text\" name=\"DisenchantID\" size=\"10\" maxlength=\"10\" value=\"0\" /></td> 658 659 <td colspan=\"2\">".makeinfocell($lang_item_edit['req_skill_disenchant'],$lang_item_edit['req_skill_disenchant_desc'])."</td> 660 <td><input type=\"text\" name=\"RequiredDisenchantSkill\" size=\"10\" maxlength=\"10\" value=\"-1\" /></td> 661 662 <td>".makeinfocell($lang_item_edit['lock_id'],$lang_item_edit['lock_id_desc'])."</td> 663 <td><input type=\"text\" name=\"lockid\" size=\"8\" maxlength=\"30\" value=\"0\" /></td> 664 </tr> 665 <tr> 666 <td>".makeinfocell($lang_item_edit['lang_id'],$lang_item_edit['lang_id_desc'])."</td> 576 667 <td colspan=\"2\"><select name=\"LanguageID\"> 577 668 <option value=\"0\">0 - {$lang_item_edit['other']}</option> … … 602 693 </select></td> 603 694 604 <td>".makeinfocell($lang_item_edit['lock_id'],$lang_item_edit['lock_id_desc'])."</td>605 <td><input type=\"text\" name=\"lockid\" size=\"8\" maxlength=\"30\" value=\"0\" /></td>606 </tr>607 608 <tr>609 <td colspan=\"2\">".makeinfocell($lang_item_edit['disenchant_id'],$lang_item_edit['disenchant_id_desc'])."</td>610 <td><input type=\"text\" name=\"DisenchantID\" size=\"10\" maxlength=\"10\" value=\"0\" /></td>611 612 <td colspan=\"2\">".makeinfocell($lang_item_edit['req_skill_disenchant'],$lang_item_edit['req_skill_disenchant_desc'])."</td>613 <td><input type=\"text\" name=\"RequiredDisenchantSkill\" size=\"10\" maxlength=\"10\" value=\"-1\" /></td>614 615 695 <td>".makeinfocell($lang_item_edit['totem_category'],$lang_item_edit['totem_category_desc'])."</td> 616 696 <td><input type=\"text\" name=\"TotemCategory\" size=\"8\" maxlength=\"10\" value=\"0\" /></td> 617 </tr> 618 619 <tr> 620 <td>".makeinfocell($lang_item_edit['area'],$lang_item_edit['area_desc'])."</td> 621 <td><input type=\"text\" name=\"area\" size=\"8\" maxlength=\"10\" value=\"0\" /></td> 622 623 <td>".makeinfocell($lang_item_edit['map'],$lang_item_edit['map_desc'])."</td> 624 <td><input type=\"text\" name=\"Map\" size=\"8\" maxlength=\"10\" value=\"0\" /></td> 625 626 <td>".makeinfocell($lang_item_edit['RandomProperty'],$lang_item_edit['RandomProperty_desc'])."</td> 627 <td><input type=\"text\" name=\"RandomProperty\" size=\"8\" maxlength=\"30\" value=\"0\" /></td> 628 629 <td>".makeinfocell($lang_item_edit['RandomSuffix'],$lang_item_edit['RandomSuffix_desc'])."</td> 630 <td ><input type=\"text\" name=\"RandomSuffix\" size=\"8\" maxlength=\"10\" value=\"0\" /></td> 631 </tr> 697 </tr> 632 698 633 699 </table><br /><br /> … … 639 705 <tr> 640 706 <td>".makeinfocell($lang_item_edit['stat_type']." 1",$lang_item_edit['stat_type_desc'])."</td> 641 <td><select name=\"stat_type1\"> 642 <option value=\"0\">0: {$lang_item['mana']}</option> 643 <option value=\"1\">1: {$lang_item['health']}</option> 644 <option value=\"3\">3: {$lang_item['agility']}</option> 645 <option value=\"4\">4: {$lang_item['strength']}</option> 646 <option value=\"5\">5: {$lang_item['intellect']}</option> 647 <option value=\"6\">6: {$lang_item['spirit']}</option> 648 <option value=\"7\">7: {$lang_item['stamina']}</option> 649 <option value=\"12\">12: {$lang_item['DEFENCE_RATING']}</option> 650 <option value=\"13\">13: {$lang_item['DODGE_RATING']}</option> 651 <option value=\"14\">14: {$lang_item['PARRY_RATING']}</option> 652 <option value=\"15\">15: {$lang_item['SHIELD_BLOCK_RATING']}</option> 653 <option value=\"16\">16: {$lang_item['MELEE_HIT_RATING']}</option> 654 <option value=\"17\">17: {$lang_item['RANGED_HIT_RATING']}</option> 655 <option value=\"18\">18: {$lang_item['SPELL_HIT_RATING']}</option> 656 <option value=\"19\">19: {$lang_item['MELEE_CS_RATING']}</option> 657 <option value=\"20\">20: {$lang_item['RANGED_CS_RATING']}</option> 658 <option value=\"21\">21: {$lang_item['SPELL_CS_RATING']}</option> 659 <option value=\"22\">22: {$lang_item['MELEE_HA_RATING']}</option> 660 <option value=\"23\">23: {$lang_item['RANGED_HA_RATING']}</option> 661 <option value=\"24\">24: {$lang_item['SPELL_HA_RATING']}</option> 662 <option value=\"25\">25: {$lang_item['MELEE_CA_RATING']}</option> 663 <option value=\"26\">26: {$lang_item['RANGED_CA_RATING']}</option> 664 <option value=\"27\">27: {$lang_item['SPELL_CA_RATING']}</option> 665 <option value=\"28\">28: {$lang_item['MELEE_HASTE_RATING']}</option> 666 <option value=\"29\">29: {$lang_item['RANGED_HASTE_RATING']}</option> 667 <option value=\"30\">30: {$lang_item['SPELL_HASTE_RATING']}</option> 668 <option value=\"31\">31: {$lang_item['HIT_RATING']}</option> 669 <option value=\"32\">32: {$lang_item['CS_RATING']}</option> 670 <option value=\"33\">33: {$lang_item['HA_RATING']}</option> 671 <option value=\"34\">34: {$lang_item['CA_RATING']}</option> 672 <option value=\"35\">35: {$lang_item['RESILIENCE_RATING']}</option> 673 <option value=\"36\">36: {$lang_item['HASTE_RATING']}</option> 674 </select></td> 707 <td><select name=\"stat_type1\">"; 708 output_status_options(NULL); 709 $output .= "</select></td> 675 710 676 711 <td><input type=\"text\" name=\"stat_value1\" size=\"10\" maxlength=\"6\" value=\"0\" /></td> 677 712 678 713 <td>".makeinfocell($lang_item_edit['stat_type']." 2",$lang_item_edit['stat_type_desc'])."</td> 679 <td><select name=\"stat_type2\"> 680 <option value=\"0\">0: {$lang_item['mana']}</option> 681 <option value=\"1\">1: {$lang_item['health']}</option> 682 <option value=\"3\">3: {$lang_item['agility']}</option> 683 <option value=\"4\">4: {$lang_item['strength']}</option> 684 <option value=\"5\">5: {$lang_item['intellect']}</option> 685 <option value=\"6\">6: {$lang_item['spirit']}</option> 686 <option value=\"7\">7: {$lang_item['stamina']}</option> 687 <option value=\"12\">12: {$lang_item['DEFENCE_RATING']}</option> 688 <option value=\"13\">13: {$lang_item['DODGE_RATING']}</option> 689 <option value=\"14\">14: {$lang_item['PARRY_RATING']}</option> 690 <option value=\"15\">15: {$lang_item['SHIELD_BLOCK_RATING']}</option> 691 <option value=\"16\">16: {$lang_item['MELEE_HIT_RATING']}</option> 692 <option value=\"17\">17: {$lang_item['RANGED_HIT_RATING']}</option> 693 <option value=\"18\">18: {$lang_item['SPELL_HIT_RATING']}</option> 694 <option value=\"19\">19: {$lang_item['MELEE_CS_RATING']}</option> 695 <option value=\"20\">20: {$lang_item['RANGED_CS_RATING']}</option> 696 <option value=\"21\">21: {$lang_item['SPELL_CS_RATING']}</option> 697 <option value=\"22\">22: {$lang_item['MELEE_HA_RATING']}</option> 698 <option value=\"23\">23: {$lang_item['RANGED_HA_RATING']}</option> 699 <option value=\"24\">24: {$lang_item['SPELL_HA_RATING']}</option> 700 <option value=\"25\">25: {$lang_item['MELEE_CA_RATING']}</option> 701 <option value=\"26\">26: {$lang_item['RANGED_CA_RATING']}</option> 702 <option value=\"27\">27: {$lang_item['SPELL_CA_RATING']}</option> 703 <option value=\"28\">28: {$lang_item['MELEE_HASTE_RATING']}</option> 704 <option value=\"29\">29: {$lang_item['RANGED_HASTE_RATING']}</option> 705 <option value=\"30\">30: {$lang_item['SPELL_HASTE_RATING']}</option> 706 <option value=\"31\">31: {$lang_item['HIT_RATING']}</option> 707 <option value=\"32\">32: {$lang_item['CS_RATING']}</option> 708 <option value=\"33\">33: {$lang_item['HA_RATING']}</option> 709 <option value=\"34\">34: {$lang_item['CA_RATING']}</option> 710 <option value=\"35\">35: {$lang_item['RESILIENCE_RATING']}</option> 711 <option value=\"36\">36: {$lang_item['HASTE_RATING']}</option> 712 </select></td> 714 <td><select name=\"stat_type2\">"; 715 output_status_options(NULL); 716 $output .= "</select></td> 713 717 714 718 <td><input type=\"text\" name=\"stat_value2\" size=\"10\" maxlength=\"6\" value=\"0\" /></td> … … 716 720 <tr> 717 721 <td>".makeinfocell($lang_item_edit['stat_type']." 3",$lang_item_edit['stat_type_desc'])."</td> 718 <td><select name=\"stat_type3\"> 719 <option value=\"0\">0: {$lang_item['mana']}</option> 720 <option value=\"1\">1: {$lang_item['health']}</option> 721 <option value=\"3\">3: {$lang_item['agility']}</option> 722 <option value=\"4\">4: {$lang_item['strength']}</option> 723 <option value=\"5\">5: {$lang_item['intellect']}</option> 724 <option value=\"6\">6: {$lang_item['spirit']}</option> 725 <option value=\"7\">7: {$lang_item['stamina']}</option> 726 <option value=\"12\">12: {$lang_item['DEFENCE_RATING']}</option> 727 <option value=\"13\">13: {$lang_item['DODGE_RATING']}</option> 728 <option value=\"14\">14: {$lang_item['PARRY_RATING']}</option> 729 <option value=\"15\">15: {$lang_item['SHIELD_BLOCK_RATING']}</option> 730 <option value=\"16\">16: {$lang_item['MELEE_HIT_RATING']}</option> 731 <option value=\"17\">17: {$lang_item['RANGED_HIT_RATING']}</option> 732 <option value=\"18\">18: {$lang_item['SPELL_HIT_RATING']}</option> 733 <option value=\"19\">19: {$lang_item['MELEE_CS_RATING']}</option> 734 <option value=\"20\">20: {$lang_item['RANGED_CS_RATING']}</option> 735 <option value=\"21\">21: {$lang_item['SPELL_CS_RATING']}</option> 736 <option value=\"22\">22: {$lang_item['MELEE_HA_RATING']}</option> 737 <option value=\"23\">23: {$lang_item['RANGED_HA_RATING']}</option> 738 <option value=\"24\">24: {$lang_item['SPELL_HA_RATING']}</option> 739 <option value=\"25\">25: {$lang_item['MELEE_CA_RATING']}</option> 740 <option value=\"26\">26: {$lang_item['RANGED_CA_RATING']}</option> 741 <option value=\"27\">27: {$lang_item['SPELL_CA_RATING']}</option> 742 <option value=\"28\">28: {$lang_item['MELEE_HASTE_RATING']}</option> 743 <option value=\"29\">29: {$lang_item['RANGED_HASTE_RATING']}</option> 744 <option value=\"30\">30: {$lang_item['SPELL_HASTE_RATING']}</option> 745 <option value=\"31\">31: {$lang_item['HIT_RATING']}</option> 746 <option value=\"32\">32: {$lang_item['CS_RATING']}</option> 747 <option value=\"33\">33: {$lang_item['HA_RATING']}</option> 748 <option value=\"34\">34: {$lang_item['CA_RATING']}</option> 749 <option value=\"35\">35: {$lang_item['RESILIENCE_RATING']}</option> 750 <option value=\"36\">36: {$lang_item['HASTE_RATING']}</option> 751 </select></td> 722 <td><select name=\"stat_type3\">"; 723 output_status_options(NULL); 724 $output .= "</select></td> 752 725 753 726 <td><input type=\"text\" name=\"stat_value3\" size=\"10\" maxlength=\"6\" value=\"0\" /></td> 754 727 755 728 <td>".makeinfocell($lang_item_edit['stat_type']." 4",$lang_item_edit['stat_type_desc'])."</td> 756 <td><select name=\"stat_type4\"> 757 <option value=\"0\">0: {$lang_item['mana']}</option> 758 <option value=\"1\">1: {$lang_item['health']}</option> 759 <option value=\"3\">3: {$lang_item['agility']}</option> 760 <option value=\"4\">4: {$lang_item['strength']}</option> 761 <option value=\"5\">5: {$lang_item['intellect']}</option> 762 <option value=\"6\">6: {$lang_item['spirit']}</option> 763 <option value=\"7\">7: {$lang_item['stamina']}</option> 764 <option value=\"12\">12: {$lang_item['DEFENCE_RATING']}</option> 765 <option value=\"13\">13: {$lang_item['DODGE_RATING']}</option> 766 <option value=\"14\">14: {$lang_item['PARRY_RATING']}</option> 767 <option value=\"15\">15: {$lang_item['SHIELD_BLOCK_RATING']}</option> 768 <option value=\"16\">16: {$lang_item['MELEE_HIT_RATING']}</option> 769 <option value=\"17\">17: {$lang_item['RANGED_HIT_RATING']}</option> 770 <option value=\"18\">18: {$lang_item['SPELL_HIT_RATING']}</option> 771 <option value=\"19\">19: {$lang_item['MELEE_CS_RATING']}</option> 772 <option value=\"20\">20: {$lang_item['RANGED_CS_RATING']}</option> 773 <option value=\"21\">21: {$lang_item['SPELL_CS_RATING']}</option> 774 <option value=\"22\">22: {$lang_item['MELEE_HA_RATING']}</option> 775 <option value=\"23\">23: {$lang_item['RANGED_HA_RATING']}</option> 776 <option value=\"24\">24: {$lang_item['SPELL_HA_RATING']}</option> 777 <option value=\"25\">25: {$lang_item['MELEE_CA_RATING']}</option> 778 <option value=\"26\">26: {$lang_item['RANGED_CA_RATING']}</option> 779 <option value=\"27\">27: {$lang_item['SPELL_CA_RATING']}</option> 780 <option value=\"28\">28: {$lang_item['MELEE_HASTE_RATING']}</option> 781 <option value=\"29\">29: {$lang_item['RANGED_HASTE_RATING']}</option> 782 <option value=\"30\">30: {$lang_item['SPELL_HASTE_RATING']}</option> 783 <option value=\"31\">31: {$lang_item['HIT_RATING']}</option> 784 <option value=\"32\">32: {$lang_item['CS_RATING']}</option> 785 <option value=\"33\">33: {$lang_item['HA_RATING']}</option> 786 <option value=\"34\">34: {$lang_item['CA_RATING']}</option> 787 <option value=\"35\">35: {$lang_item['RESILIENCE_RATING']}</option> 788 <option value=\"36\">36: {$lang_item['HASTE_RATING']}</option> 789 </select></td> 729 <td><select name=\"stat_type4\">"; 730 output_status_options(NULL); 731 $output .= "</select></td> 790 732 791 733 <td><input type=\"text\" name=\"stat_value4\" size=\"10\" maxlength=\"6\" value=\"0\" /></td> … … 793 735 <tr> 794 736 <td>".makeinfocell($lang_item_edit['stat_type']." 5",$lang_item_edit['stat_type_desc'])."</td> 795 <td><select name=\"stat_type5\"> 796 <option value=\"0\">0: {$lang_item['mana']}</option> 797 <option value=\"1\">1: {$lang_item['health']}</option> 798 <option value=\"3\">3: {$lang_item['agility']}</option> 799 <option value=\"4\">4: {$lang_item['strength']}</option> 800 <option value=\"5\">5: {$lang_item['intellect']}</option> 801 <option value=\"6\">6: {$lang_item['spirit']}</option> 802 <option value=\"7\">7: {$lang_item['stamina']}</option> 803 <option value=\"12\">12: {$lang_item['DEFENCE_RATING']}</option> 804 <option value=\"13\">13: {$lang_item['DODGE_RATING']}</option> 805 <option value=\"14\">14: {$lang_item['PARRY_RATING']}</option> 806 <option value=\"15\">15: {$lang_item['SHIELD_BLOCK_RATING']}</option> 807 <option value=\"16\">16: {$lang_item['MELEE_HIT_RATING']}</option> 808 <option value=\"17\">17: {$lang_item['RANGED_HIT_RATING']}</option> 809 <option value=\"18\">18: {$lang_item['SPELL_HIT_RATING']}</option> 810 <option value=\"19\">19: {$lang_item['MELEE_CS_RATING']}</option> 811 <option value=\"20\">20: {$lang_item['RANGED_CS_RATING']}</option> 812 <option value=\"21\">21: {$lang_item['SPELL_CS_RATING']}</option> 813 <option value=\"22\">22: {$lang_item['MELEE_HA_RATING']}</option> 814 <option value=\"23\">23: {$lang_item['RANGED_HA_RATING']}</option> 815 <option value=\"24\">24: {$lang_item['SPELL_HA_RATING']}</option> 816 <option value=\"25\">25: {$lang_item['MELEE_CA_RATING']}</option> 817 <option value=\"26\">26: {$lang_item['RANGED_CA_RATING']}</option> 818 <option value=\"27\">27: {$lang_item['SPELL_CA_RATING']}</option> 819 <option value=\"28\">28: {$lang_item['MELEE_HASTE_RATING']}</option> 820 <option value=\"29\">29: {$lang_item['RANGED_HASTE_RATING']}</option> 821 <option value=\"30\">30: {$lang_item['SPELL_HASTE_RATING']}</option> 822 <option value=\"31\">31: {$lang_item['HIT_RATING']}</option> 823 <option value=\"32\">32: {$lang_item['CS_RATING']}</option> 824 <option value=\"33\">33: {$lang_item['HA_RATING']}</option> 825 <option value=\"34\">34: {$lang_item['CA_RATING']}</option> 826 <option value=\"35\">35: {$lang_item['RESILIENCE_RATING']}</option> 827 <option value=\"36\">36: {$lang_item['HASTE_RATING']}</option> 828 </select></td> 737 <td><select name=\"stat_type5\">"; 738 output_status_options(NULL); 739 $output .= "</select></td> 829 740 830 741 <td><input type=\"text\" name=\"stat_value5\" size=\"10\" maxlength=\"6\" value=\"0\" /></td> 831 742 832 743 <td>".makeinfocell($lang_item_edit['stat_type']." 6",$lang_item_edit['stat_type_desc'])."</td> 833 <td><select name=\"stat_type6\"> 834 <option value=\"0\">0: {$lang_item['mana']}</option> 835 <option value=\"1\">1: {$lang_item['health']}</option> 836 <option value=\"3\">3: {$lang_item['agility']}</option> 837 <option value=\"4\">4: {$lang_item['strength']}</option> 838 <option value=\"5\">5: {$lang_item['intellect']}</option> 839 <option value=\"6\">6: {$lang_item['spirit']}</option> 840 <option value=\"7\">7: {$lang_item['stamina']}</option> 841 <option value=\"12\">12: {$lang_item['DEFENCE_RATING']}</option> 842 <option value=\"13\">13: {$lang_item['DODGE_RATING']}</option> 843 <option value=\"14\">14: {$lang_item['PARRY_RATING']}</option> 844 <option value=\"15\">15: {$lang_item['SHIELD_BLOCK_RATING']}</option> 845 <option value=\"16\">16: {$lang_item['MELEE_HIT_RATING']}</option> 846 <option value=\"17\">17: {$lang_item['RANGED_HIT_RATING']}</option> 847 <option value=\"18\">18: {$lang_item['SPELL_HIT_RATING']}</option> 848 <option value=\"19\">19: {$lang_item['MELEE_CS_RATING']}</option> 849 <option value=\"20\">20: {$lang_item['RANGED_CS_RATING']}</option> 850 <option value=\"21\">21: {$lang_item['SPELL_CS_RATING']}</option> 851 <option value=\"22\">22: {$lang_item['MELEE_HA_RATING']}</option> 852 <option value=\"23\">23: {$lang_item['RANGED_HA_RATING']}</option> 853 <option value=\"24\">24: {$lang_item['SPELL_HA_RATING']}</option> 854 <option value=\"25\">25: {$lang_item['MELEE_CA_RATING']}</option> 855 <option value=\"26\">26: {$lang_item['RANGED_CA_RATING']}</option> 856 <option value=\"27\">27: {$lang_item['SPELL_CA_RATING']}</option> 857 <option value=\"28\">28: {$lang_item['MELEE_HASTE_RATING']}</option> 858 <option value=\"29\">29: {$lang_item['RANGED_HASTE_RATING']}</option> 859 <option value=\"30\">30: {$lang_item['SPELL_HASTE_RATING']}</option> 860 <option value=\"31\">31: {$lang_item['HIT_RATING']}</option> 861 <option value=\"32\">32: {$lang_item['CS_RATING']}</option> 862 <option value=\"33\">33: {$lang_item['HA_RATING']}</option> 863 <option value=\"34\">34: {$lang_item['CA_RATING']}</option> 864 <option value=\"35\">35: {$lang_item['RESILIENCE_RATING']}</option> 865 <option value=\"36\">36: {$lang_item['HASTE_RATING']}</option> 866 </select></td> 744 <td><select name=\"stat_type6\">"; 745 output_status_options(NULL); 746 $output .= "</select></td> 867 747 868 748 <td><input type=\"text\" name=\"stat_value6\" size=\"10\" maxlength=\"6\" value=\"0\" /></td> … … 870 750 <tr> 871 751 <td>".makeinfocell($lang_item_edit['stat_type']." 7",$lang_item_edit['stat_type_desc'])."</td> 872 <td><select name=\"stat_type7\"> 873 <option value=\"0\">0: {$lang_item['mana']}</option> 874 <option value=\"1\">1: {$lang_item['health']}</option> 875 <option value=\"3\">3: {$lang_item['agility']}</option> 876 <option value=\"4\">4: {$lang_item['strength']}</option> 877 <option value=\"5\">5: {$lang_item['intellect']}</option> 878 <option value=\"6\">6: {$lang_item['spirit']}</option> 879 <option value=\"7\">7: {$lang_item['stamina']}</option> 880 <option value=\"12\">12: {$lang_item['DEFENCE_RATING']}</option> 881 <option value=\"13\">13: {$lang_item['DODGE_RATING']}</option> 882 <option value=\"14\">14: {$lang_item['PARRY_RATING']}</option> 883 <option value=\"15\">15: {$lang_item['SHIELD_BLOCK_RATING']}</option> 884 <option value=\"16\">16: {$lang_item['MELEE_HIT_RATING']}</option> 885 <option value=\"17\">17: {$lang_item['RANGED_HIT_RATING']}</option> 886 <option value=\"18\">18: {$lang_item['SPELL_HIT_RATING']}</option> 887 <option value=\"19\">19: {$lang_item['MELEE_CS_RATING']}</option> 888 <option value=\"20\">20: {$lang_item['RANGED_CS_RATING']}</option> 889 <option value=\"21\">21: {$lang_item['SPELL_CS_RATING']}</option> 890 <option value=\"22\">22: {$lang_item['MELEE_HA_RATING']}</option> 891 <option value=\"23\">23: {$lang_item['RANGED_HA_RATING']}</option> 892 <option value=\"24\">24: {$lang_item['SPELL_HA_RATING']}</option> 893 <option value=\"25\">25: {$lang_item['MELEE_CA_RATING']}</option> 894 <option value=\"26\">26: {$lang_item['RANGED_CA_RATING']}</option> 895 <option value=\"27\">27: {$lang_item['SPELL_CA_RATING']}</option> 896 <option value=\"28\">28: {$lang_item['MELEE_HASTE_RATING']}</option> 897 <option value=\"29\">29: {$lang_item['RANGED_HASTE_RATING']}</option> 898 <option value=\"30\">30: {$lang_item['SPELL_HASTE_RATING']}</option> 899 <option value=\"31\">31: {$lang_item['HIT_RATING']}</option> 900 <option value=\"32\">32: {$lang_item['CS_RATING']}</option> 901 <option value=\"33\">33: {$lang_item['HA_RATING']}</option> 902 <option value=\"34\">34: {$lang_item['CA_RATING']}</option> 903 <option value=\"35\">35: {$lang_item['RESILIENCE_RATING']}</option> 904 <option value=\"36\">36: {$lang_item['HASTE_RATING']}</option> 905 </select></td> 752 <td><select name=\"stat_type7\">"; 753 output_status_options(NULL); 754 $output .= "</select></td> 906 755 907 756 <td><input type=\"text\" name=\"stat_value7\" size=\"10\" maxlength=\"6\" value=\"0\" /></td> 908 757 909 758 <td>".makeinfocell($lang_item_edit['stat_type']." 8",$lang_item_edit['stat_type_desc'])."</td> 910 <td><select name=\"stat_type8\"> 911 <option value=\"0\">0: {$lang_item['mana']}</option> 912 <option value=\"1\">1: {$lang_item['health']}</option> 913 <option value=\"3\">3: {$lang_item['agility']}</option> 914 <option value=\"4\">4: {$lang_item['strength']}</option> 915 <option value=\"5\">5: {$lang_item['intellect']}</option> 916 <option value=\"6\">6: {$lang_item['spirit']}</option> 917 <option value=\"7\">7: {$lang_item['stamina']}</option> 918 <option value=\"12\">12: {$lang_item['DEFENCE_RATING']}</option> 919 <option value=\"13\">13: {$lang_item['DODGE_RATING']}</option> 920 <option value=\"14\">14: {$lang_item['PARRY_RATING']}</option> 921 <option value=\"15\">15: {$lang_item['SHIELD_BLOCK_RATING']}</option> 922 <option value=\"16\">16: {$lang_item['MELEE_HIT_RATING']}</option> 923 <option value=\"17\">17: {$lang_item['RANGED_HIT_RATING']}</option> 924 <option value=\"18\">18: {$lang_item['SPELL_HIT_RATING']}</option> 925 <option value=\"19\">19: {$lang_item['MELEE_CS_RATING']}</option> 926 <option value=\"20\">20: {$lang_item['RANGED_CS_RATING']}</option> 927 <option value=\"21\">21: {$lang_item['SPELL_CS_RATING']}</option> 928 <option value=\"22\">22: {$lang_item['MELEE_HA_RATING']}</option> 929 <option value=\"23\">23: {$lang_item['RANGED_HA_RATING']}</option> 930 <option value=\"24\">24: {$lang_item['SPELL_HA_RATING']}</option> 931 <option value=\"25\">25: {$lang_item['MELEE_CA_RATING']}</option> 932 <option value=\"26\">26: {$lang_item['RANGED_CA_RATING']}</option> 933 <option value=\"27\">27: {$lang_item['SPELL_CA_RATING']}</option> 934 <option value=\"28\">28: {$lang_item['MELEE_HASTE_RATING']}</option> 935 <option value=\"29\">29: {$lang_item['RANGED_HASTE_RATING']}</option> 936 <option value=\"30\">30: {$lang_item['SPELL_HASTE_RATING']}</option> 937 <option value=\"31\">31: {$lang_item['HIT_RATING']}</option> 938 <option value=\"32\">32: {$lang_item['CS_RATING']}</option> 939 <option value=\"33\">33: {$lang_item['HA_RATING']}</option> 940 <option value=\"34\">34: {$lang_item['CA_RATING']}</option> 941 <option value=\"35\">35: {$lang_item['RESILIENCE_RATING']}</option> 942 <option value=\"36\">36: {$lang_item['HASTE_RATING']}</option> 943 </select></td> 759 <td><select name=\"stat_type8\">"; 760 output_status_options(NULL); 761 $output .= "</select></td> 944 762 945 763 <td><input type=\"text\" name=\"stat_value8\" size=\"10\" maxlength=\"6\" value=\"0\" /></td> … … 948 766 <tr> 949 767 <td>".makeinfocell($lang_item_edit['stat_type']." 9",$lang_item_edit['stat_type_desc'])."</td> 950 <td><select name=\"stat_type9\"> 951 <option value=\"0\">0: {$lang_item['mana']}</option> 952 <option value=\"1\">1: {$lang_item['health']}</option> 953 <option value=\"3\">3: {$lang_item['agility']}</option> 954 <option value=\"4\">4: {$lang_item['strength']}</option> 955 <option value=\"5\">5: {$lang_item['intellect']}</option> 956 <option value=\"6\">6: {$lang_item['spirit']}</option> 957 <option value=\"7\">7: {$lang_item['stamina']}</option> 958 <option value=\"12\">12: {$lang_item['DEFENCE_RATING']}</option> 959 <option value=\"13\">13: {$lang_item['DODGE_RATING']}</option> 960 <option value=\"14\">14: {$lang_item['PARRY_RATING']}</option> 961 <option value=\"15\">15: {$lang_item['SHIELD_BLOCK_RATING']}</option> 962 <option value=\"16\">16: {$lang_item['MELEE_HIT_RATING']}</option> 963 <option value=\"17\">17: {$lang_item['RANGED_HIT_RATING']}</option> 964 <option value=\"18\">18: {$lang_item['SPELL_HIT_RATING']}</option> 965 <option value=\"19\">19: {$lang_item['MELEE_CS_RATING']}</option> 966 <option value=\"20\">20: {$lang_item['RANGED_CS_RATING']}</option> 967 <option value=\"21\">21: {$lang_item['SPELL_CS_RATING']}</option> 968 <option value=\"22\">22: {$lang_item['MELEE_HA_RATING']}</option> 969 <option value=\"23\">23: {$lang_item['RANGED_HA_RATING']}</option> 970 <option value=\"24\">24: {$lang_item['SPELL_HA_RATING']}</option> 971 <option value=\"25\">25: {$lang_item['MELEE_CA_RATING']}</option> 972 <option value=\"26\">26: {$lang_item['RANGED_CA_RATING']}</option> 973 <option value=\"27\">27: {$lang_item['SPELL_CA_RATING']}</option> 974 <option value=\"28\">28: {$lang_item['MELEE_HASTE_RATING']}</option> 975 <option value=\"29\">29: {$lang_item['RANGED_HASTE_RATING']}</option> 976 <option value=\"30\">30: {$lang_item['SPELL_HASTE_RATING']}</option> 977 <option value=\"31\">31: {$lang_item['HIT_RATING']}</option> 978 <option value=\"32\">32: {$lang_item['CS_RATING']}</option> 979 <option value=\"33\">33: {$lang_item['HA_RATING']}</option> 980 <option value=\"34\">34: {$lang_item['CA_RATING']}</option> 981 <option value=\"35\">35: {$lang_item['RESILIENCE_RATING']}</option> 982 <option value=\"36\">36: {$lang_item['HASTE_RATING']}</option> 983 </select></td> 768 <td><select name=\"stat_type9\">"; 769 output_status_options(NULL); 770 $output .= "</select></td> 984 771 985 772 <td><input type=\"text\" name=\"stat_value9\" size=\"10\" maxlength=\"6\" value=\"0\" /></td> 986 773 987 774 <td>".makeinfocell($lang_item_edit['stat_type']." 10",$lang_item_edit['stat_type_desc'])."</td> 988 <td><select name=\"stat_type10\"> 989 <option value=\"0\">0: {$lang_item['mana']}</option> 990 <option value=\"1\">1: {$lang_item['health']}</option> 991 <option value=\"3\">3: {$lang_item['agility']}</option> 992 <option value=\"4\">4: {$lang_item['strength']}</option> 993 <option value=\"5\">5: {$lang_item['intellect']}</option> 994 <option value=\"6\">6: {$lang_item['spirit']}</option> 995 <option value=\"7\">7: {$lang_item['stamina']}</option> 996 <option value=\"12\">12: {$lang_item['DEFENCE_RATING']}</option> 997 <option value=\"13\">13: {$lang_item['DODGE_RATING']}</option> 998 <option value=\"14\">14: {$lang_item['PARRY_RATING']}</option> 999 <option value=\"15\">15: {$lang_item['SHIELD_BLOCK_RATING']}</option> 1000 <option value=\"16\">16: {$lang_item['MELEE_HIT_RATING']}</option> 1001 <option value=\"17\">17: {$lang_item['RANGED_HIT_RATING']}</option> 1002 <option value=\"18\">18: {$lang_item['SPELL_HIT_RATING']}</option> 1003 <option value=\"19\">19: {$lang_item['MELEE_CS_RATING']}</option> 1004 <option value=\"20\">20: {$lang_item['RANGED_CS_RATING']}</option> 1005 <option value=\"21\">21: {$lang_item['SPELL_CS_RATING']}</option> 1006 <option value=\"22\">22: {$lang_item['MELEE_HA_RATING']}</option> 1007 <option value=\"23\">23: {$lang_item['RANGED_HA_RATING']}</option> 1008 <option value=\"24\">24: {$lang_item['SPELL_HA_RATING']}</option> 1009 <option value=\"25\">25: {$lang_item['MELEE_CA_RATING']}</option> 1010 <option value=\"26\">26: {$lang_item['RANGED_CA_RATING']}</option> 1011 <option value=\"27\">27: {$lang_item['SPELL_CA_RATING']}</option> 1012 <option value=\"28\">28: {$lang_item['MELEE_HASTE_RATING']}</option> 1013 <option value=\"29\">29: {$lang_item['RANGED_HASTE_RATING']}</option> 1014 <option value=\"30\">30: {$lang_item['SPELL_HASTE_RATING']}</option> 1015 <option value=\"31\">31: {$lang_item['HIT_RATING']}</option> 1016 <option value=\"32\">32: {$lang_item['CS_RATING']}</option> 1017 <option value=\"33\">33: {$lang_item['HA_RATING']}</option> 1018 <option value=\"34\">34: {$lang_item['CA_RATING']}</option> 1019 <option value=\"35\">35: {$lang_item['RESILIENCE_RATING']}</option> 1020 <option value=\"36\">36: {$lang_item['HASTE_RATING']}</option> 1021 </select></td> 775 <td><select name=\"stat_type10\">"; 776 output_status_options(NULL); 777 $output .= "</select></td> 1022 778 1023 779 <td><input type=\"text\" name=\"stat_value10\" size=\"10\" maxlength=\"6\" value=\"0\" /></td> … … 1083 839 <tr> 1084 840 <td>".makeinfocell($lang_item_edit['damage_type']." 1",$lang_item_edit['damage_type_desc'])."</td> 1085 <td colspan=\"2\"><select name=\"dmg_type1\"> 1086 <option value=\"0\">0: {$lang_item['physical_dmg']}</option> 1087 <option value=\"1\">1: {$lang_item['holy_dmg']}</option> 1088 <option value=\"2\">2: {$lang_item['fire_dmg']}</option> 1089 <option value=\"3\">3: {$lang_item['nature_dmg']}</option> 1090 <option value=\"4\">4: {$lang_item['frost_dmg']}</option> 1091 <option value=\"5\">5: {$lang_item['shadow_dmg']}</option> 1092 <option value=\"6\">6: {$lang_item['arcane_dmg']}</option> 1093 </select></td> 841 <td colspan=\"2\"><select name=\"dmg_type1\">"; 842 output_dmgtype_options(NULL); 843 $output .= "</select></td> 1094 844 1095 845 <td>".makeinfocell($lang_item_edit['dmg_min_max'],$lang_item_edit['dmg_min_max_desc'])."</td> … … 1099 849 <tr> 1100 850 <td>".makeinfocell($lang_item_edit['damage_type']." 2",$lang_item_edit['damage_type_desc'])."</td> 1101 <td colspan=\"2\"><select name=\"dmg_type2\"> 1102 <option value=\"0\">0: {$lang_item['physical_dmg']}</option> 1103 <option value=\"1\">1: {$lang_item['holy_dmg']}</option> 1104 <option value=\"2\">2: {$lang_item['fire_dmg']}</option> 1105 <option value=\"3\">3: {$lang_item['nature_dmg']}</option> 1106 <option value=\"4\">4: {$lang_item['frost_dmg']}</option> 1107 <option value=\"5\">5: {$lang_item['shadow_dmg']}</option> 1108 <option value=\"6\">6: {$lang_item['arcane_dmg']}</option> 1109 </select></td> 851 <td colspan=\"2\"><select name=\"dmg_type2\">"; 852 output_dmgtype_options(NULL); 853 $output .= "</select></td> 1110 854 1111 855 <td>".makeinfocell($lang_item_edit['dmg_min_max'],$lang_item_edit['dmg_min_max_desc'])."</td> … … 1115 859 <tr> 1116 860 <td>".makeinfocell($lang_item_edit['damage_type']." 3",$lang_item_edit['damage_type_desc'])."</td> 1117 <td colspan=\"2\"><select name=\"dmg_type3\"> 1118 <option value=\"0\">0: {$lang_item['physical_dmg']}</option> 1119 <option value=\"1\">1: {$lang_item['holy_dmg']}</option> 1120 <option value=\"2\">2: {$lang_item['fire_dmg']}</option> 1121 <option value=\"3\">3: {$lang_item['nature_dmg']}</option> 1122 <option value=\"4\">4: {$lang_item['frost_dmg']}</option> 1123 <option value=\"5\">5: {$lang_item['shadow_dmg']}</option> 1124 <option value=\"6\">6: {$lang_item['arcane_dmg']}</option> 1125 </select></td> 861 <td colspan=\"2\"><select name=\"dmg_type3\">"; 862 output_dmgtype_options(NULL); 863 $output .= "</select></td> 1126 864 1127 865 <td>".makeinfocell($lang_item_edit['dmg_min_max'],$lang_item_edit['dmg_min_max_desc'])."</td> … … 1131 869 <tr> 1132 870 <td>".makeinfocell($lang_item_edit['damage_type']." 4",$lang_item_edit['damage_type_desc'])."</td> 1133 <td colspan=\"2\"><select name=\"dmg_type4\"> 1134 <option value=\"0\">0: {$lang_item['physical_dmg']}</option> 1135 <option value=\"1\">1: {$lang_item['holy_dmg']}</option> 1136 <option value=\"2\">2: {$lang_item['fire_dmg']}</option> 1137 <option value=\"3\">3: {$lang_item['nature_dmg']}</option> 1138 <option value=\"4\">4: {$lang_item['frost_dmg']}</option> 1139 <option value=\"5\">5: {$lang_item['shadow_dmg']}</option> 1140 <option value=\"6\">6: {$lang_item['arcane_dmg']}</option> 1141 </select></td> 871 <td colspan=\"2\"><select name=\"dmg_type4\">"; 872 output_dmgtype_options(NULL); 873 $output .= "</select></td> 1142 874 1143 875 <td>".makeinfocell($lang_item_edit['dmg_min_max'],$lang_item_edit['dmg_min_max_desc'])."</td> … … 1147 879 <tr> 1148 880 <td>".makeinfocell($lang_item_edit['damage_type']." 5",$lang_item_edit['damage_type_desc'])."</td> 1149 <td colspan=\"2\"><select name=\"dmg_type5\"> 1150 <option value=\"0\">0: {$lang_item['physical_dmg']}</option> 1151 <option value=\"1\">1: {$lang_item['holy_dmg']}</option> 1152 <option value=\"2\">2: {$lang_item['fire_dmg']}</option> 1153 <option value=\"3\">3: {$lang_item['nature_dmg']}</option> 1154 <option value=\"4\">4: {$lang_item['frost_dmg']}</option> 1155 <option value=\"5\">5: {$lang_item['shadow_dmg']}</option> 1156 <option value=\"6\">6: {$lang_item['arcane_dmg']}</option> 1157 </select></td> 881 <td colspan=\"2\"><select name=\"dmg_type5\">"; 882 output_dmgtype_options(NULL); 883 $output .= "</select></td> 1158 884 1159 885 <td>".makeinfocell($lang_item_edit['dmg_min_max'],$lang_item_edit['dmg_min_max_desc'])."</td> … … 1167 893 <br /><br /><table class=\"lined\" style=\"width: 720px;\"> 1168 894 <tr> 1169 <td>".makeinfocell($lang_item_edit['spell_id']." 1",$lang_item_edit['spell_id_desc'])."</td> 1170 <td><input type=\"text\" name=\"spellid_1\" size=\"8\" maxlength=\"30\" value=\"0\" /></td> 1171 1172 <td>".makeinfocell($lang_item_edit['spell_trigger']." 1",$lang_item_edit['spell_trigger_desc'])."</td> 895 <td colspan=\"2\">{$lang_item_edit['item_spell']} 1</td> 896 <td>".makeinfocell($lang_item_edit['spell_id'],$lang_item_edit['spell_id_desc'])."</td> 897 <td><input type=\"text\" name=\"spellid_1\" size=\"6\" maxlength=\"30\" value=\"0\" /></td> 898 899 <td>".makeinfocell($lang_item_edit['spell_trigger'],$lang_item_edit['spell_trigger_desc'])."</td> 1173 900 <td><select name=\"spelltrigger_1\"> 1174 901 <option value=\"0\">0: {$lang_item['spell_use']}</option> … … 1177 904 <option value=\"4\">4: {$lang_item['soul_stone']}</option> 1178 905 </select></td> 1179 <td>".makeinfocell($lang_item_edit['spell_charges']." 1",$lang_item_edit['spell_charges_desc'])."</td> 1180 <td><input type=\"text\" name=\"spellcharges_1\" size=\"8\" maxlength=\"30\" value=\"0\" /></td> 1181 </tr> 1182 <tr> 1183 <td>".makeinfocell($lang_item_edit['spell_cooldown']." 1",$lang_item_edit['spell_cooldown_desc'])."</td> 1184 <td><input type=\"text\" name=\"spellcooldown_1\" size=\"8\" maxlength=\"30\" value=\"-1\" /></td> 1185 1186 <td>".makeinfocell($lang_item_edit['spell_category']." 1",$lang_item_edit['spell_category_desc'])."</td> 1187 <td><input type=\"text\" name=\"spellcategory_1\" size=\"8\" maxlength=\"30\" value=\"0\" /></td> 1188 1189 <td>".makeinfocell($lang_item_edit['spell_category_cooldown']." 1",$lang_item_edit['spell_category_cooldown_desc'])."</td> 1190 <td><input type=\"text\" name=\"spellcategorycooldown_1\" size=\"8\" maxlength=\"30\" value=\"-1\" /></td> 906 <td>".makeinfocell($lang_item_edit['spell_charges'],$lang_item_edit['spell_charges_desc'])."</td> 907 <td><input type=\"text\" name=\"spellcharges_1\" size=\"6\" maxlength=\"30\" value=\"0\" /></td> 908 </tr> 909 <tr> 910 <td>".makeinfocell($lang_item_edit['spell_cooldown'],$lang_item_edit['spell_cooldown_desc'])."</td> 911 <td><input type=\"text\" name=\"spellcooldown_1\" size=\"6\" maxlength=\"30\" value=\"-1\" /></td> 912 913 <td>".makeinfocell($lang_item_edit['spell_category'],$lang_item_edit['spell_category_desc'])."</td> 914 <td><input type=\"text\" name=\"spellcategory_1\" size=\"6\" maxlength=\"30\" value=\"0\" /></td> 915 916 <td>".makeinfocell($lang_item_edit['spell_category_cooldown'],$lang_item_edit['spell_category_cooldown_desc'])."</td> 917 <td><input type=\"text\" name=\"spellcategorycooldown_1\" size=\"6\" maxlength=\"30\" value=\"-1\" /></td> 918 919 <td>".makeinfocell($lang_item_edit['ppm_rate'],$lang_item_edit['ppm_rate_desc'])."</td> 920 <td><input type=\"text\" name=\"spellppmRate_1\" size=\"6\" maxlength=\"30\" value=\"0\" /></td> 1191 921 </tr> 1192 922 <tr><td colspan=\"6\" class=\"hidden\"></td></tr> 1193 923 <tr> 1194 <td>".makeinfocell($lang_item_edit['spell_id']." 2",$lang_item_edit['spell_id_desc'])."</td> 1195 <td><input type=\"text\" name=\"spellid_2\" size=\"8\" maxlength=\"30\" value=\"0\" /></td> 1196 1197 <td>".makeinfocell($lang_item_edit['spell_trigger']." 2",$lang_item_edit['spell_trigger_desc'])."</td> 924 <td colspan=\"2\">{$lang_item_edit['item_spell']} 2</td> 925 <td>".makeinfocell($lang_item_edit['spell_id'],$lang_item_edit['spell_id_desc'])."</td> 926 <td><input type=\"text\" name=\"spellid_2\" size=\"6\" maxlength=\"30\" value=\"0\" /></td> 927 928 <td>".makeinfocell($lang_item_edit['spell_trigger'],$lang_item_edit['spell_trigger_desc'])."</td> 1198 929 <td><select name=\"spelltrigger_2\"> 1199 930 <option value=\"0\">0: {$lang_item['spell_use']}</option> … … 1202 933 <option value=\"4\">4: {$lang_item['soul_stone']}</option> 1203 934 </select></td> 1204 <td>".makeinfocell($lang_item_edit['spell_charges']." 2",$lang_item_edit['spell_charges_desc'])."</td> 1205 <td><input type=\"text\" name=\"spellcharges_2\" size=\"8\" maxlength=\"30\" value=\"0\" /></td> 1206 </tr> 1207 <tr> 1208 <td>".makeinfocell($lang_item_edit['spell_cooldown']." 2",$lang_item_edit['spell_cooldown_desc'])."</td> 1209 <td><input type=\"text\" name=\"spellcooldown_2\" size=\"8\" maxlength=\"30\" value=\"-1\" /></td> 1210 1211 <td>".makeinfocell($lang_item_edit['spell_category']." 2",$lang_item_edit['spell_category_desc'])."</td> 1212 <td><input type=\"text\" name=\"spellcategory_2\" size=\"8\" maxlength=\"30\" value=\"0\" /></td> 1213 1214 <td>".makeinfocell($lang_item_edit['spell_category_cooldown']." 2",$lang_item_edit['spell_category_cooldown_desc'])."</td> 1215 <td><input type=\"text\" name=\"spellcategorycooldown_2\" size=\"8\" maxlength=\"30\" value=\"-1\" /></td> 935 <td>".makeinfocell($lang_item_edit['spell_charges'],$lang_item_edit['spell_charges_desc'])."</td> 936 <td><input type=\"text\" name=\"spellcharges_2\" size=\"6\" maxlength=\"30\" value=\"0\" /></td> 937 </tr> 938 <tr> 939 <td>".makeinfocell($lang_item_edit['spell_cooldown'],$lang_item_edit['spell_cooldown_desc'])."</td> 940 <td><input type=\"text\" name=\"spellcooldown_2\" size=\"6\" maxlength=\"30\" value=\"-1\" /></td> 941 942 <td>".makeinfocell($lang_item_edit['spell_category'],$lang_item_edit['spell_category_desc'])."</td> 943 <td><input type=\"text\" name=\"spellcategory_2\" size=\"6\" maxlength=\"30\" value=\"0\" /></td> 944 945 <td>".makeinfocell($lang_item_edit['spell_category_cooldown'],$lang_item_edit['spell_category_cooldown_desc'])."</td> 946 <td><input type=\"text\" name=\"spellcategorycooldown_2\" size=\"6\" maxlength=\"30\" value=\"-1\" /></td> 947 948 <td>".makeinfocell($lang_item_edit['ppm_rate'],$lang_item_edit['ppm_rate_desc'])."</td> 949 <td><input type=\"text\" name=\"spellppmRate_2\" size=\"6\" maxlength=\"30\" value=\"0\" /></td> 1216 950 </tr> 1217 951 <tr><td colspan=\"6\" class=\"hidden\"></td></tr> 1218 952 <tr> 1219 <td>".makeinfocell($lang_item_edit['spell_id']." 3",$lang_item_edit['spell_id_desc'])."</td> 1220 <td><input type=\"text\" name=\"spellid_3\" size=\"8\" maxlength=\"30\" value=\"0\" /></td> 1221 1222 <td>".makeinfocell($lang_item_edit['spell_trigger']." 3",$lang_item_edit['spell_trigger_desc'])."</td> 953 <td colspan=\"2\">{$lang_item_edit['item_spell']} 3</td> 954 <td>".makeinfocell($lang_item_edit['spell_id'],$lang_item_edit['spell_id_desc'])."</td> 955 <td><input type=\"text\" name=\"spellid_3\" size=\"6\" maxlength=\"30\" value=\"0\" /></td> 956 957 <td>".makeinfocell($lang_item_edit['spell_trigger'],$lang_item_edit['spell_trigger_desc'])."</td> 1223 958 <td><select name=\"spelltrigger_3\"> 1224 959 <option value=\"0\">0: {$lang_item['spell_use']}</option> … … 1227 962 <option value=\"4\">4: {$lang_item['soul_stone']}</option> 1228 963 </select></td> 1229 <td>".makeinfocell($lang_item_edit['spell_charges']." 3",$lang_item_edit['spell_charges_desc'])."</td> 1230 <td><input type=\"text\" name=\"spellcharges_3\" size=\"8\" maxlength=\"30\" value=\"0\" /></td> 1231 </tr> 1232 <tr> 1233 <td>".makeinfocell($lang_item_edit['spell_cooldown']." 3",$lang_item_edit['spell_cooldown_desc'])."</td> 1234 <td><input type=\"text\" name=\"spellcooldown_3\" size=\"8\" maxlength=\"30\" value=\"-1\" /></td> 1235 1236 <td>".makeinfocell($lang_item_edit['spell_category']." 3",$lang_item_edit['spell_category_desc'])."</td> 1237 <td><input type=\"text\" name=\"spellcategory_3\" size=\"8\" maxlength=\"30\" value=\"0\" /></td> 1238 1239 <td>".makeinfocell($lang_item_edit['spell_category_cooldown']." 3",$lang_item_edit['spell_category_cooldown_desc'])."</td> 1240 <td><input type=\"text\" name=\"spellcategorycooldown_3\" size=\"8\" maxlength=\"30\" value=\"-1\" /></td> 964 <td>".makeinfocell($lang_item_edit['spell_charges'],$lang_item_edit['spell_charges_desc'])."</td> 965 <td><input type=\"text\" name=\"spellcharges_3\" size=\"6\" maxlength=\"30\" value=\"0\" /></td> 966 </tr> 967 <tr> 968 <td>".makeinfocell($lang_item_edit['spell_cooldown'],$lang_item_edit['spell_cooldown_desc'])."</td> 969 <td><input type=\"text\" name=\"spellcooldown_3\" size=\"6\" maxlength=\"30\" value=\"-1\" /></td> 970 971 <td>".makeinfocell($lang_item_edit['spell_category'],$lang_item_edit['spell_category_desc'])."</td> 972 <td><input type=\"text\" name=\"spellcategory_3\" size=\"6\" maxlength=\"30\" value=\"0\" /></td> 973 974 <td>".makeinfocell($lang_item_edit['spell_category_cooldown'],$lang_item_edit['spell_category_cooldown_desc'])."</td> 975 <td><input type=\"text\" name=\"spellcategorycooldown_3\" size=\"6\" maxlength=\"30\" value=\"-1\" /></td> 976 977 <td>".makeinfocell($lang_item_edit['ppm_rate'],$lang_item_edit['ppm_rate_desc'])."</td> 978 <td><input type=\"text\" name=\"spellppmRate_3\" size=\"6\" maxlength=\"30\" value=\"0\" /></td> 1241 979 </tr> 1242 980 <tr><td colspan=\"6\" class=\"hidden\"></td></tr> 1243 981 <tr> 1244 <td>".makeinfocell($lang_item_edit['spell_id']." 4",$lang_item_edit['spell_id_desc'])."</td> 1245 <td><input type=\"text\" name=\"spellid_4\" size=\"8\" maxlength=\"30\" value=\"0\" /></td> 1246 1247 <td>".makeinfocell($lang_item_edit['spell_trigger']." 4",$lang_item_edit['spell_trigger_desc'])."</td> 982 <td colspan=\"2\">{$lang_item_edit['item_spell']} 4</td> 983 <td>".makeinfocell($lang_item_edit['spell_id'],$lang_item_edit['spell_id_desc'])."</td> 984 <td><input type=\"text\" name=\"spellid_4\" size=\"6\" maxlength=\"30\" value=\"0\" /></td> 985 986 <td>".makeinfocell($lang_item_edit['spell_trigger'],$lang_item_edit['spell_trigger_desc'])."</td> 1248 987 <td><select name=\"spelltrigger_4\"> 1249 988 <option value=\"0\">0: {$lang_item['spell_use']}</option> … … 1252 991 <option value=\"4\">4: {$lang_item['soul_stone']}</option> 1253 992 </select></td> 1254 <td>".makeinfocell($lang_item_edit['spell_charges']." 4",$lang_item_edit['spell_charges_desc'])."</td> 1255 <td><input type=\"text\" name=\"spellcharges_4\" size=\"8\" maxlength=\"30\" value=\"0\" /></td> 1256 </tr> 1257 <tr> 1258 <td>".makeinfocell($lang_item_edit['spell_cooldown']." 4",$lang_item_edit['spell_cooldown_desc'])."</td> 1259 <td><input type=\"text\" name=\"spellcooldown_4\" size=\"8\" maxlength=\"30\" value=\"-1\" /></td> 1260 1261 <td>".makeinfocell($lang_item_edit['spell_category']." 4",$lang_item_edit['spell_category_desc'])."</td> 1262 <td><input type=\"text\" name=\"spellcategory_4\" size=\"8\" maxlength=\"30\" value=\"0\" /></td> 1263 1264 <td>".makeinfocell($lang_item_edit['spell_category_cooldown']." 4",$lang_item_edit['spell_category_cooldown_desc'])."</td> 1265 <td><input type=\"text\" name=\"spellcategorycooldown_4\" size=\"8\" maxlength=\"30\" value=\"-1\" /></td> 993 <td>".makeinfocell($lang_item_edit['spell_charges'],$lang_item_edit['spell_charges_desc'])."</td> 994 <td><input type=\"text\" name=\"spellcharges_4\" size=\"6\" maxlength=\"30\" value=\"0\" /></td> 995 </tr> 996 <tr> 997 <td>".makeinfocell($lang_item_edit['spell_cooldown'],$lang_item_edit['spell_cooldown_desc'])."</td> 998 <td><input type=\"text\" name=\"spellcooldown_4\" size=\"6\" maxlength=\"30\" value=\"-1\" /></td> 999 1000 <td>".makeinfocell($lang_item_edit['spell_category'],$lang_item_edit['spell_category_desc'])."</td> 1001 <td><input type=\"text\" name=\"spellcategory_4\" size=\"6\" maxlength=\"30\" value=\"0\" /></td> 1002 1003 <td>".makeinfocell($lang_item_edit['spell_category_cooldown'],$lang_item_edit['spell_category_cooldown_desc'])."</td> 1004 <td><input type=\"text\" name=\"spellcategorycooldown_4\" size=\"6\" maxlength=\"30\" value=\"-1\" /></td> 1005 1006 <td>".makeinfocell($lang_item_edit['ppm_rate'],$lang_item_edit['ppm_rate_desc'])."</td> 1007 <td><input type=\"text\" name=\"spellppmRate_4\" size=\"6\" maxlength=\"30\" value=\"0\" /></td> 1266 1008 </tr> 1267 1009 <tr><td colspan=\"6\" class=\"hidden\"></td></tr> 1268 1010 <tr> 1269 <td>".makeinfocell($lang_item_edit['spell_id']." 5",$lang_item_edit['spell_id_desc'])."</td> 1270 <td><input type=\"text\" name=\"spellid_5\" size=\"8\" maxlength=\"30\" value=\"0\" /></td> 1271 1272 <td>".makeinfocell($lang_item_edit['spell_trigger']." 5",$lang_item_edit['spell_trigger_desc'])."</td> 1011 <td colspan=\"2\">{$lang_item_edit['item_spell']} 5</td> 1012 <td>".makeinfocell($lang_item_edit['spell_id'],$lang_item_edit['spell_id_desc'])."</td> 1013 <td><input type=\"text\" name=\"spellid_5\" size=\"6\" maxlength=\"30\" value=\"0\" /></td> 1014 1015 <td>".makeinfocell($lang_item_edit['spell_trigger'],$lang_item_edit['spell_trigger_desc'])."</td> 1273 1016 <td><select name=\"spelltrigger_5\"> 1274 1017 <option value=\"0\">0: {$lang_item['spell_use']}</option> … … 1277 1020 <option value=\"4\">4: {$lang_item['soul_stone']}</option> 1278 1021 </select></td> 1279 <td>".makeinfocell($lang_item_edit['spell_charges']." 5",$lang_item_edit['spell_charges_desc'])."</td> 1280 <td><input type=\"text\" name=\"spellcharges_5\" size=\"8\" maxlength=\"30\" value=\"0\" /></td> 1281 </tr> 1282 <tr> 1283 <td>".makeinfocell($lang_item_edit['spell_cooldown']." 5",$lang_item_edit['spell_cooldown_desc'])."</td> 1284 <td><input type=\"text\" name=\"spellcooldown_5\" size=\"8\" maxlength=\"30\" value=\"-1\" /></td> 1285 1286 <td>".makeinfocell($lang_item_edit['spell_category']." 5",$lang_item_edit['spell_category_desc'])."</td> 1287 <td><input type=\"text\" name=\"spellcategory_5\" size=\"8\" maxlength=\"30\" value=\"0\" /></td> 1288 1289 <td>".makeinfocell($lang_item_edit['spell_category_cooldown']." 5",$lang_item_edit['spell_category_cooldown_desc'])."</td> 1290 <td><input type=\"text\" name=\"spellcategorycooldown_5\" size=\"8\" maxlength=\"30\" value=\"-1\" /></td> 1022 <td>".makeinfocell($lang_item_edit['spell_charges'],$lang_item_edit['spell_charges_desc'])."</td> 1023 <td><input type=\"text\" name=\"spellcharges_5\" size=\"6\" maxlength=\"30\" value=\"0\" /></td> 1024 </tr> 1025 <tr> 1026 <td>".makeinfocell($lang_item_edit['spell_cooldown'],$lang_item_edit['spell_cooldown_desc'])."</td> 1027 <td><input type=\"text\" name=\"spellcooldown_5\" size=\"6\" maxlength=\"30\" value=\"-1\" /></td> 1028 1029 <td>".makeinfocell($lang_item_edit['spell_category'],$lang_item_edit['spell_category_desc'])."</td> 1030 <td><input type=\"text\" name=\"spellcategory_5\" size=\"6\" maxlength=\"30\" value=\"0\" /></td> 1031 1032 <td>".makeinfocell($lang_item_edit['spell_category_cooldown'],$lang_item_edit['spell_category_cooldown_desc'])."</td> 1033 <td><input type=\"text\" name=\"spellcategorycooldown_5\" size=\"6\" maxlength=\"30\" value=\"-1\" /></td> 1034 1035 <td>".makeinfocell($lang_item_edit['ppm_rate'],$lang_item_edit['ppm_rate_desc'])."</td> 1036 <td><input type=\"text\" name=\"spellppmRate_5\" size=\"6\" maxlength=\"30\" value=\"0\" /></td> 1291 1037 </tr> 1292 1038 … … 1743 1489 <tr> 1744 1490 1745 <td>".makeinfocell($lang_item_edit['bag_family'],$lang_item_edit['bag_family_desc'])."</td>"; 1491 <td>".makeinfocell($lang_item_edit['max_count'],$lang_item_edit['max_count_desc'])."</td> 1492 <td><input type=\"text\" name=\"maxcount\" size=\"6\" maxlength=\"5\" value=\"{$item['maxcount']}\" /></td> 1493 1494 <td>".makeinfocell($lang_item_edit['stackable'],$lang_item_edit['stackable_desc'])."</td> 1495 <td><input type=\"text\" name=\"stackable\" size=\"6\" maxlength=\"5\" value=\"{$item['stackable']}\" /></td> 1496 1497 <td>".makeinfocell($lang_item_edit['bag_family'],$lang_item_edit['bag_family_desc'])."</td>"; 1746 1498 1747 1499 $bagfamily = array( 0 => "", 1 => "", 2 => "", 3 => "", 6 => "", 7 => "", 8 => "", 9 => "", 10 => "", 12 => "" ); 1748 1500 $bagfamily[$item['BagFamily']] = " selected=\"selected\" "; 1749 1501 1750 $output .= "<td colspan=\"3\"><select name=\"BagFamily\">1502 $output .= "<td><select name=\"BagFamily\"> 1751 1503 <option value=\"0\" {$bagfamily[0]}>0 - {$lang_item['none']}</option> 1752 1504 <option value=\"1\" {$bagfamily[1]}>1 - {$lang_item['arrows']}</option> … … 1761 1513 </select></td> 1762 1514 <td>".makeinfocell($lang_item_edit['bag_slots'],$lang_item_edit['bag_slots_desc'])."</td> 1763 <td colspan=\"3\"><input type=\"text\" name=\"ContainerSlots\" size=\"10\" maxlength=\"3\" value=\"{$item['ContainerSlots']}\" /></td>1515 <td><input type=\"text\" name=\"ContainerSlots\" size=\"10\" maxlength=\"3\" value=\"{$item['ContainerSlots']}\" /></td> 1764 1516 </tr> 1765 1517 <tr> … … 1798 1550 <option value=\"4\" {$PageMaterial[4]}>4 - {$lang_item_edit['silver']}</option> 1799 1551 <option value=\"5\" {$PageMaterial[5]}>5 - {$lang_item_edit['bronze']}</option> 1800 </select></td> 1801 1802 <td>".makeinfocell($lang_item_edit['max_durability'],$lang_item_edit['max_durability_desc'])."</td> 1803 <td><input type=\"text\" name=\"MaxDurability\" size=\"8\" maxlength=\"30\" value=\"{$item['MaxDurability']}\" /></td>1804 1552 </select></td>"; 1553 unset($PageMaterial); 1554 1555 $output .= "<td>".makeinfocell($lang_item_edit['max_durability'],$lang_item_edit['max_durability_desc'])."</td> 1556 <td><input type=\"text\" name=\"MaxDurability\" size=\"8\" maxlength=\"30\" value=\"{$item['MaxDurability']}\" /></td> 1805 1557 </tr> 1558 1559 <tr class=\"large_bold\"><td colspan=\"8\" class=\"hidden\" align=\"left\">{$lang_item_edit['RandomProperty']}:</td></tr> 1560 <tr> 1561 <td colspan=\"2\">".makeinfocell($lang_item_edit['RandomProperty'],$lang_item_edit['RandomProperty_desc'])."</td> 1562 <td colspan=\"2\"><input type=\"text\" name=\"RandomProperty\" size=\"8\" maxlength=\"30\" value=\"{$item['RandomProperty']}\" /></td> 1563 1564 <td colspan=\"2\">".makeinfocell($lang_item_edit['RandomSuffix'],$lang_item_edit['RandomSuffix_desc'])."</td> 1565 <td colspan=\"2\"><input type=\"text\" name=\"RandomSuffix\" size=\"8\" maxlength=\"10\" value=\"{$item['RandomSuffix']}\" /></td> 1566 </tr> 1567 1806 1568 1807 1569 <tr class=\"large_bold\"><td colspan=\"8\" class=\"hidden\" align=\"left\">{$lang_item_edit['other']}:</td></tr> 1808 1570 <tr> 1809 <td>".makeinfocell($lang_item_edit[' max_count'],$lang_item_edit['max_count_desc'])."</td>1810 <td><input type=\"text\" name=\" maxcount\" size=\"6\" maxlength=\"5\" value=\"{$item['maxcount']}\" /></td>1811 1812 <td>".makeinfocell($lang_item_edit[' stackable'],$lang_item_edit['stackable_desc'])."</td>1813 <td><input type=\"text\" name=\" stackable\" size=\"6\" maxlength=\"5\" value=\"{$item['stackable']}\" /></td>1571 <td>".makeinfocell($lang_item_edit['area'],$lang_item_edit['area_desc'])."</td> 1572 <td><input type=\"text\" name=\"area\" size=\"8\" maxlength=\"10\" value=\"{$item['area']}\" /></td> 1573 1574 <td>".makeinfocell($lang_item_edit['map'],$lang_item_edit['map_desc'])."</td> 1575 <td><input type=\"text\" name=\"Map\" size=\"8\" maxlength=\"10\" value=\"{$item['Map']}\" /></td> 1814 1576 1815 1577 <td>".makeinfocell($lang_item_edit['page_text'],$lang_item_edit['page_text_desc'])."</td> … … 1819 1581 <td><input type=\"text\" name=\"unk0\" size=\"8\" maxlength=\"10\" value=\"{$item['unk0']}\" /></td> 1820 1582 </tr> 1821 <tr>"; 1822 unset($PageMaterial); 1823 1583 <tr> 1584 1585 <tr> 1586 <td colspan=\"2\">".makeinfocell($lang_item_edit['disenchant_id'],$lang_item_edit['disenchant_id_desc'])."</td> 1587 <td><input type=\"text\" name=\"DisenchantID\" size=\"10\" maxlength=\"10\" value=\"{$item['DisenchantID']}\" /></td> 1588 1589 <td colspan=\"2\">".makeinfocell($lang_item_edit['req_skill_disenchant'],$lang_item_edit['req_skill_disenchant_desc'])."</td> 1590 <td><input type=\"text\" name=\"RequiredDisenchantSkill\" size=\"10\" maxlength=\"10\" value=\"{$item['RequiredDisenchantSkill']}\" /></td> 1591 1592 <td>".makeinfocell($lang_item_edit['lock_id'],$lang_item_edit['lock_id_desc'])."</td> 1593 <td><input type=\"text\" name=\"lockid\" size=\"8\" maxlength=\"30\" value=\"{$item['lockid']}\" /></td> 1594 </tr>"; 1595 1596 1824 1597 $LanguageID = array( 0 => "", 1 => "", 2 => "", 3 => "", 6 => "", 7 => "", 8 => "", 9 => "", 10 => "", 11 => "", 1825 1598 12 => "", 13 => "", 14 => "", 33 => ""); 1826 1599 $LanguageID[$item['LanguageID']] = " selected=\"selected\" "; 1827 1600 1828 $output .= "<td>".makeinfocell($lang_item_edit['lang_id'],$lang_item_edit['lang_id_desc'])."</td> 1601 $output .= "<tr> 1602 <td>".makeinfocell($lang_item_edit['lang_id'],$lang_item_edit['lang_id_desc'])."</td> 1829 1603 <td colspan=\"2\"><select name=\"LanguageID\"> 1830 1604 <option value=\"0\" {$LanguageID[0]}>0 - {$lang_item_edit['other']}</option> … … 1859 1633 </select></td> 1860 1634 1861 <td>".makeinfocell($lang_item_edit['lock_id'],$lang_item_edit['lock_id_desc'])."</td>1862 <td><input type=\"text\" name=\"lockid\" size=\"8\" maxlength=\"30\" value=\"{$item['lockid']}\" /></td>1863 </tr>1864 1865 <tr>1866 <td colspan=\"2\">".makeinfocell($lang_item_edit['disenchant_id'],$lang_item_edit['disenchant_id_desc'])."</td>1867 <td><input type=\"text\" name=\"DisenchantID\" size=\"10\" maxlength=\"10\" value=\"{$item['DisenchantID']}\" /></td>1868 1869 <td colspan=\"2\">".makeinfocell($lang_item_edit['req_skill_disenchant'],$lang_item_edit['req_skill_disenchant_desc'])."</td>1870 <td><input type=\"text\" name=\"RequiredDisenchantSkill\" size=\"10\" maxlength=\"10\" value=\"{$item['RequiredDisenchantSkill']}\" /></td>1871 1872 1635 <td>".makeinfocell($lang_item_edit['totem_category'],$lang_item_edit['totem_category_desc'])."</td> 1873 1636 <td><input type=\"text\" name=\"TotemCategory\" size=\"8\" maxlength=\"10\" value=\"{$item['TotemCategory']}\" /></td> 1874 1637 </tr> 1875 1638 1876 <tr>1877 <td>".makeinfocell($lang_item_edit['area'],$lang_item_edit['area_desc'])."</td>1878 <td><input type=\"text\" name=\"area\" size=\"8\" maxlength=\"10\" value=\"{$item['area']}\" /></td>1879 1880 <td>".makeinfocell($lang_item_edit['map'],$lang_item_edit['map_desc'])."</td>1881 <td><input type=\"text\" name=\"Map\" size=\"8\" maxlength=\"10\" value=\"{$item['Map']}\" /></td>1882 1883 <td>".makeinfocell($lang_item_edit['RandomProperty'],$lang_item_edit['RandomProperty_desc'])."</td>1884 <td><input type=\"text\" name=\"RandomProperty\" size=\"8\" maxlength=\"30\" value=\"{$item['RandomProperty']}\" /></td>1885 1886 <td>".makeinfocell($lang_item_edit['RandomSuffix'],$lang_item_edit['RandomSuffix_desc'])."</td>1887 <td ><input type=\"text\" name=\"RandomSuffix\" size=\"8\" maxlength=\"10\" value=\"{$item['RandomSuffix']}\" /></td>1888 </tr>1889 1639 </table><br /><br /> 1890 1640 </div>"; … … 1894 1644 <br /><br /><table class=\"lined\" style=\"width: 720px;\"> 1895 1645 <tr class=\"large_bold\"><td colspan=\"8\" class=\"hidden\" align=\"left\">{$lang_item_edit['stats']}:</td></tr> 1896 <tr>"; 1897 1898 $stat_type1 = array( 0 => "", 1 => "", 3 => "", 4 => "", 5 => "", 6 => "", 7 => "",12 => "", 1899 13 => "",14 => "",15 => "",16 => "",17 => "",18 => "",19 => "",20 => "",21 => "",22 => "", 1900 23 => "",24 => "",25 => "",26 => "",27 => "",28 => "",29 => "",30 => "",31 => "",32 => "", 1901 33 => "",34 => "",35 => "",36 => ""); 1902 $stat_type1[$item['stat_type1']] = " selected=\"selected\" "; 1903 1904 $output .= "<td>".makeinfocell($lang_item_edit['stat_type']." 1",$lang_item_edit['stat_type_desc'])."</td> 1905 <td><select name=\"stat_type1\"> 1906 <option value=\"0\" {$stat_type1[0]}>0: {$lang_item['mana']}</option> 1907 <option value=\"1\" {$stat_type1[1]}>1: {$lang_item['health']}</option> 1908 <option value=\"3\" {$stat_type1[3]}>3: {$lang_item['agility']}</option> 1909 <option value=\"4\" {$stat_type1[4]}>4: {$lang_item['strength']}</option> 1910 <option value=\"5\" {$stat_type1[5]}>5: {$lang_item['intellect']}</option> 1911 <option value=\"6\" {$stat_type1[6]}>6: {$lang_item['spirit']}</option> 1912 <option value=\"7\" {$stat_type1[7]}>7: {$lang_item['stamina']}</option> 1913 <option value=\"12\" {$stat_type1[12]}>12: {$lang_item['DEFENCE_RATING']}</option> 1914 <option value=\"13\" {$stat_type1[13]}>13: {$lang_item['DODGE_RATING']}</option> 1915 <option value=\"14\" {$stat_type1[14]}>14: {$lang_item['PARRY_RATING']}</option> 1916 <option value=\"15\" {$stat_type1[15]}>15: {$lang_item['SHIELD_BLOCK_RATING']}</option> 1917 <option value=\"16\" {$stat_type1[16]}>16: {$lang_item['MELEE_HIT_RATING']}</option> 1918 <option value=\"17\" {$stat_type1[17]}>17: {$lang_item['RANGED_HIT_RATING']}</option> 1919 <option value=\"18\" {$stat_type1[18]}>18: {$lang_item['SPELL_HIT_RATING']}</option> 1920 <option value=\"19\" {$stat_type1[19]}>19: {$lang_item['MELEE_CS_RATING']}</option> 1921 <option value=\"20\" {$stat_type1[20]}>20: {$lang_item['RANGED_CS_RATING']}</option> 1922 <option value=\"21\" {$stat_type1[21]}>21: {$lang_item['SPELL_CS_RATING']}</option> 1923 <option value=\"22\" {$stat_type1[22]}>22: {$lang_item['MELEE_HA_RATING']}</option> 1924 <option value=\"23\" {$stat_type1[23]}>23: {$lang_item['RANGED_HA_RATING']}</option> 1925 <option value=\"24\" {$stat_type1[24]}>24: {$lang_item['SPELL_HA_RATING']}</option> 1926 <option value=\"25\" {$stat_type1[25]}>25: {$lang_item['MELEE_CA_RATING']}</option> 1927 <option value=\"26\" {$stat_type1[26]}>26: {$lang_item['RANGED_CA_RATING']}</option> 1928 <option value=\"27\" {$stat_type1[27]}>27: {$lang_item['SPELL_CA_RATING']}</option> 1929 <option value=\"28\" {$stat_type1[28]}>28: {$lang_item['MELEE_HASTE_RATING']}</option> 1930 <option value=\"29\" {$stat_type1[29]}>29: {$lang_item['RANGED_HASTE_RATING']}</option> 1931 <option value=\"30\" {$stat_type1[30]}>30: {$lang_item['SPELL_HASTE_RATING']}</option> 1932 <option value=\"31\" {$stat_type1[31]}>31: {$lang_item['HIT_RATING']}</option> 1933 <option value=\"32\" {$stat_type1[32]}>32: {$lang_item['CS_RATING']}</option> 1934 <option value=\"33\" {$stat_type1[33]}>33: {$lang_item['HA_RATING']}</option> 1935 <option value=\"34\" {$stat_type1[34]}>34: {$lang_item['CA_RATING']}</option> 1936 <option value=\"35\" {$stat_type1[35]}>35: {$lang_item['RESILIENCE_RATING']}</option> 1937 <option value=\"36\" {$stat_type1[36]}>36: {$lang_item['HASTE_RATING']}</option> 1938 </select></td> 1939 1940 <td><input type=\"text\" name=\"stat_value1\" size=\"10\" maxlength=\"6\" value=\"{$item['stat_value1']}\" /></td>"; 1941 unset($stat_type1); 1942 1943 $stat_type2 = array( 0 => "", 1 => "", 3 => "", 4 => "", 5 => "", 6 => "", 7 => "",12 => "", 1944 13 => "",14 => "",15 => "",16 => "",17 => "",18 => "",19 => "",20 => "",21 => "",22 => "", 1945 23 => "",24 => "",25 => "",26 => "",27 => "",28 => "",29 => "",30 => "",31 => "",32 => "", 1946 33 => "",34 => "",35 => "",36 => ""); 1947 $stat_type2[$item['stat_type2']] = " selected=\"selected\" "; 1948 1949 $output .= "<td>".makeinfocell($lang_item_edit['stat_type']." 2",$lang_item_edit['stat_type_desc'])."</td> 1950 <td><select name=\"stat_type2\"> 1951 <option value=\"0\" {$stat_type2[0]}>0: {$lang_item['mana']}</option> 1952 <option value=\"1\" {$stat_type2[1]}>1: {$lang_item['health']}</option> 1953 <option value=\"3\" {$stat_type2[3]}>3: {$lang_item['agility']}</option> 1954 <option value=\"4\" {$stat_type2[4]}>4: {$lang_item['strength']}</option> 1955 <option value=\"5\" {$stat_type2[5]}>5: {$lang_item['intellect']}</option> 1956 <option value=\"6\" {$stat_type2[6]}>6: {$lang_item['spirit']}</option> 1957 <option value=\"7\" {$stat_type2[7]}>7: {$lang_item['stamina']}</option> 1958 <option value=\"12\" {$stat_type2[12]}>12: {$lang_item['DEFENCE_RATING']}</option> 1959 <option value=\"13\" {$stat_type2[13]}>13: {$lang_item['DODGE_RATING']}</option> 1960 <option value=\"14\" {$stat_type2[14]}>14: {$lang_item['PARRY_RATING']}</option> 1961 <option value=\"15\" {$stat_type2[15]}>15: {$lang_item['SHIELD_BLOCK_RATING']}</option> 1962 <option value=\"16\" {$stat_type2[16]}>16: {$lang_item['MELEE_HIT_RATING']}</option> 1963 <option value=\"17\" {$stat_type2[17]}>17: {$lang_item['RANGED_HIT_RATING']}</option> 1964 <option value=\"18\" {$stat_type2[18]}>18: {$lang_item['SPELL_HIT_RATING']}</option> 1965 <option value=\"19\" {$stat_type2[19]}>19: {$lang_item['MELEE_CS_RATING']}</option> 1966 <option value=\"20\" {$stat_type2[20]}>20: {$lang_item['RANGED_CS_RATING']}</option> 1967 <option value=\"21\" {$stat_type2[21]}>21: {$lang_item['SPELL_CS_RATING']}</option> 1968 <option value=\"22\" {$stat_type2[22]}>22: {$lang_item['MELEE_HA_RATING']}</option> 1969 <option value=\"23\" {$stat_type2[23]}>23: {$lang_item['RANGED_HA_RATING']}</option> 1970 <option value=\"24\" {$stat_type2[24]}>24: {$lang_item['SPELL_HA_RATING']}</option> 1971 <option value=\"25\" {$stat_type2[25]}>25: {$lang_item['MELEE_CA_RATING']}</option> 1972 <option value=\"26\" {$stat_type2[26]}>26: {$lang_item['RANGED_CA_RATING']}</option> 1973 <option value=\"27\" {$stat_type2[27]}>27: {$lang_item['SPELL_CA_RATING']}</option> 1974 <option value=\"28\" {$stat_type2[28]}>28: {$lang_item['MELEE_HASTE_RATING']}</option> 1975 <option value=\"29\" {$stat_type2[29]}>29: {$lang_item['RANGED_HASTE_RATING']}</option> 1976 <option value=\"30\" {$stat_type2[30]}>30: {$lang_item['SPELL_HASTE_RATING']}</option> 1977 <option value=\"31\" {$stat_type2[31]}>31: {$lang_item['HIT_RATING']}</option> 1978 <option value=\"32\" {$stat_type2[32]}>32: {$lang_item['CS_RATING']}</option> 1979 <option value=\"33\" {$stat_type2[33]}>33: {$lang_item['HA_RATING']}</option> 1980 <option value=\"34\" {$stat_type2[34]}>34: {$lang_item['CA_RATING']}</option> 1981 <option value=\"35\" {$stat_type2[35]}>35: {$lang_item['RESILIENCE_RATING']}</option> 1982 <option value=\"36\" {$stat_type2[36]}>36: {$lang_item['HASTE_RATING']}</option> 1983 </select></td> 1646 <tr> 1647 1648 <td>".makeinfocell($lang_item_edit['stat_type']." 1",$lang_item_edit['stat_type_desc'])."</td> 1649 <td><select name=\"stat_type1\">"; 1650 output_status_options($item['stat_type1']); 1651 $output .= "</select></td> 1652 1653 <td><input type=\"text\" name=\"stat_value1\" size=\"10\" maxlength=\"6\" value=\"{$item['stat_value1']}\" /></td> 1654 <td>".makeinfocell($lang_item_edit['stat_type']." 2",$lang_item_edit['stat_type_desc'])."</td> 1655 <td><select name=\"stat_type2\">"; 1656 output_status_options($item['stat_type2']); 1657 $output .= "</select></td> 1984 1658 1985 1659 <td><input type=\"text\" name=\"stat_value2\" size=\"10\" maxlength=\"6\" value=\"{$item['stat_value2']}\" /></td> 1986 1660 </tr> 1987 <tr>"; 1988 unset($stat_type2); 1989 1990 $stat_type3 = array( 0 => "", 1 => "", 3 => "", 4 => "", 5 => "", 6 => "", 7 => "",12 => "", 1991 13 => "",14 => "",15 => "",16 => "",17 => "",18 => "",19 => "",20 => "",21 => "",22 => "", 1992 23 => "",24 => "",25 => "",26 => "",27 => "",28 => "",29 => "",30 => "",31 => "",32 => "", 1993 33 => "",34 => "",35 => "",36 => ""); 1994 $stat_type3[$item['stat_type3']] = " selected=\"selected\" "; 1995 1996 $output .= "<td>".makeinfocell($lang_item_edit['stat_type']." 3",$lang_item_edit['stat_type_desc'])."</td> 1997 <td><select name=\"stat_type3\"> 1998 <option value=\"0\" {$stat_type3[0]}>0: {$lang_item['mana']}</option> 1999 <option value=\"1\" {$stat_type3[1]}>1: {$lang_item['health']}</option> 2000 <option value=\"3\" {$stat_type3[3]}>3: {$lang_item['agility']}</option> 2001 <option value=\"4\" {$stat_type3[4]}>4: {$lang_item['strength']}</option> 2002 <option value=\"5\" {$stat_type3[5]}>5: {$lang_item['intellect']}</option> 2003 <option value=\"6\" {$stat_type3[6]}>6: {$lang_item['spirit']}</option> 2004 <option value=\"7\" {$stat_type3[7]}>7: {$lang_item['stamina']}</option> 2005 <option value=\"12\" {$stat_type3[12]}>12: {$lang_item['DEFENCE_RATING']}</option> 2006 <option value=\"13\" {$stat_type3[13]}>13: {$lang_item['DODGE_RATING']}</option> 2007 <option value=\"14\" {$stat_type3[14]}>14: {$lang_item['PARRY_RATING']}</option> 2008 <option value=\"15\" {$stat_type3[15]}>15: {$lang_item['SHIELD_BLOCK_RATING']}</option> 2009 <option value=\"16\" {$stat_type3[16]}>16: {$lang_item['MELEE_HIT_RATING']}</option> 2010 <option value=\"17\" {$stat_type3[17]}>17: {$lang_item['RANGED_HIT_RATING']}</option> 2011 <option value=\"18\" {$stat_type3[18]}>18: {$lang_item['SPELL_HIT_RATING']}</option> 2012 <option value=\"19\" {$stat_type3[19]}>19: {$lang_item['MELEE_CS_RATING']}</option> 2013 <option value=\"20\" {$stat_type3[20]}>20: {$lang_item['RANGED_CS_RATING']}</option> 2014 <option value=\"21\" {$stat_type3[21]}>21: {$lang_item['SPELL_CS_RATING']}</option> 2015 <option value=\"22\" {$stat_type3[22]}>22: {$lang_item['MELEE_HA_RATING']}</option> 2016 <option value=\"23\" {$stat_type3[23]}>23: {$lang_item['RANGED_HA_RATING']}</option> 2017 <option value=\"24\" {$stat_type3[24]}>24: {$lang_item['SPELL_HA_RATING']}</option> 2018 <option value=\"25\" {$stat_type3[25]}>25: {$lang_item['MELEE_CA_RATING']}</option> 2019 <option value=\"26\" {$stat_type3[26]}>26: {$lang_item['RANGED_CA_RATING']}</option> 2020 <option value=\"27\" {$stat_type3[27]}>27: {$lang_item['SPELL_CA_RATING']}</option> 2021 <option value=\"28\" {$stat_type3[28]}>28: {$lang_item['MELEE_HASTE_RATING']}</option> 2022 <option value=\"29\" {$stat_type3[29]}>29: {$lang_item['RANGED_HASTE_RATING']}</option> 2023 <option value=\"30\" {$stat_type3[30]}>30: {$lang_item['SPELL_HASTE_RATING']}</option> 2024 <option value=\"31\" {$stat_type3[31]}>31: {$lang_item['HIT_RATING']}</option> 2025 <option value=\"32\" {$stat_type3[32]}>32: {$lang_item['CS_RATING']}</option> 2026 <option value=\"33\" {$stat_type3[33]}>33: {$lang_item['HA_RATING']}</option> 2027 <option value=\"34\" {$stat_type3[34]}>34: {$lang_item['CA_RATING']}</option> 2028 <option value=\"35\" {$stat_type3[35]}>35: {$lang_item['RESILIENCE_RATING']}</option> 2029 <option value=\"36\" {$stat_type3[36]}>36: {$lang_item['HASTE_RATING']}</option> 2030 </select></td> 2031 2032 <td><input type=\"text\" name=\"stat_value3\" size=\"10\" maxlength=\"6\" value=\"{$item['stat_value3']}\" /></td>"; 2033 unset($stat_type3); 2034 2035 $stat_type4 = array( 0 => "", 1 => "", 3 => "", 4 => "", 5 => "", 6 => "", 7 => "",12 => "", 2036 13 => "",14 => "",15 => "",16 => "",17 => "",18 => "",19 => "",20 => "",21 => "",22 => "", 2037 23 => "",24 => "",25 => "",26 => "",27 => "",28 => "",29 => "",30 => "",31 => "",32 => "", 2038 33 => "",34 => "",35 => "",36 => ""); 2039 $stat_type4[$item['stat_type4']] = " selected=\"selected\" "; 2040 2041 $output .= "<td>".makeinfocell($lang_item_edit['stat_type']." 4",$lang_item_edit['stat_type_desc'])."</td> 2042 <td><select name=\"stat_type4\"> 2043 <option value=\"0\" {$stat_type4[0]}>0: {$lang_item['mana']}</option> 2044 <option value=\"1\" {$stat_type4[1]}>1: {$lang_item['health']}</option> 2045 <option value=\"3\" {$stat_type4[3]}>3: {$lang_item['agility']}</option> 2046 <option value=\"4\" {$stat_type4[4]}>4: {$lang_item['strength']}</option> 2047 <option value=\"5\" {$stat_type4[5]}>5: {$lang_item['intellect']}</option> 2048 <option value=\"6\" {$stat_type4[6]}>6: {$lang_item['spirit']}</option> 2049 <option value=\"7\" {$stat_type4[7]}>7: {$lang_item['stamina']}</option> 2050 <option value=\"12\" {$stat_type4[12]}>12: {$lang_item['DEFENCE_RATING']}</option> 2051 <option value=\"13\" {$stat_type4[13]}>13: {$lang_item['DODGE_RATING']}</option> 2052 <option value=\"14\" {$stat_type4[14]}>14: {$lang_item['PARRY_RATING']}</option> 2053 <option value=\"15\" {$stat_type4[15]}>15: {$lang_item['SHIELD_BLOCK_RATING']}</option> 2054 <option value=\"16\" {$stat_type4[16]}>16: {$lang_item['MELEE_HIT_RATING']}</option> 2055 <option value=\"17\" {$stat_type4[17]}>17: {$lang_item['RANGED_HIT_RATING']}</option> 2056 <option value=\"18\" {$stat_type4[18]}>18: {$lang_item['SPELL_HIT_RATING']}</option> 2057 <option value=\"19\" {$stat_type4[19]}>19: {$lang_item['MELEE_CS_RATING']}</option> 2058 <option value=\"20\" {$stat_type4[20]}>20: {$lang_item['RANGED_CS_RATING']}</option> 2059 <option value=\"21\" {$stat_type4[21]}>21: {$lang_item['SPELL_CS_RATING']}</option> 2060 <option value=\"22\" {$stat_type4[22]}>22: {$lang_item['MELEE_HA_RATING']}</option> 2061 <option value=\"23\" {$stat_type4[23]}>23: {$lang_item['RANGED_HA_RATING']}</option> 2062 <option value=\"24\" {$stat_type4[24]}>24: {$lang_item['SPELL_HA_RATING']}</option> 2063 <option value=\"25\" {$stat_type4[25]}>25: {$lang_item['MELEE_CA_RATING']}</option> 2064 <option value=\"26\" {$stat_type4[26]}>26: {$lang_item['RANGED_CA_RATING']}</option> 2065 <option value=\"27\" {$stat_type4[27]}>27: {$lang_item['SPELL_CA_RATING']}</option> 2066 <option value=\"28\" {$stat_type4[28]}>28: {$lang_item['MELEE_HASTE_RATING']}</option> 2067 <option value=\"29\" {$stat_type4[29]}>29: {$lang_item['RANGED_HASTE_RATING']}</option> 2068 <option value=\"30\" {$stat_type4[30]}>30: {$lang_item['SPELL_HASTE_RATING']}</option> 2069 <option value=\"31\" {$stat_type4[31]}>31: {$lang_item['HIT_RATING']}</option> 2070 <option value=\"32\" {$stat_type4[32]}>32: {$lang_item['CS_RATING']}</option> 2071 <option value=\"33\" {$stat_type4[33]}>33: {$lang_item['HA_RATING']}</option> 2072 <option value=\"34\" {$stat_type4[34]}>34: {$lang_item['CA_RATING']}</option> 2073 <option value=\"35\" {$stat_type4[35]}>35: {$lang_item['RESILIENCE_RATING']}</option> 2074 <option value=\"36\" {$stat_type4[36]}>36: {$lang_item['HASTE_RATING']}</option> 2075 </select></td> 1661 <tr> 1662 <td>".makeinfocell($lang_item_edit['stat_type']." 3",$lang_item_edit['stat_type_desc'])."</td> 1663 <td><select name=\"stat_type3\">"; 1664 output_status_options($item['stat_type3']); 1665 $output .= "</select></td> 1666 1667 <td><input type=\"text\" name=\"stat_value3\" size=\"10\" maxlength=\"6\" value=\"{$item['stat_value3']}\" /></td> 1668 <td>".makeinfocell($lang_item_edit['stat_type']." 4",$lang_item_edit['stat_type_desc'])."</td> 1669 <td><select name=\"stat_type4\">"; 1670 output_status_options($item['stat_type4']); 1671 $output .= "</select></td> 2076 1672 2077 1673 <td><input type=\"text\" name=\"stat_value4\" size=\"10\" maxlength=\"6\" value=\"{$item['stat_value4']}\" /></td> 2078 1674 </tr> 2079 <tr>"; 2080 unset($stat_type4); 2081 2082 $stat_type5 = array( 0 => "", 1 => "", 3 => "", 4 => "", 5 => "", 6 => "", 7 => "",12 => "", 2083 13 => "",14 => "",15 => "",16 => "",17 => "",18 => "",19 => "",20 => "",21 => "",22 => "", 2084 23 => "",24 => "",25 => "",26 => "",27 => "",28 => "",29 => "",30 => "",31 => "",32 => "", 2085 33 => "",34 => "",35 => "",36 => ""); 2086 $stat_type5[$item['stat_type5']] = " selected=\"selected\" "; 2087 2088 $output .= "<td>".makeinfocell($lang_item_edit['stat_type']." 5",$lang_item_edit['stat_type_desc'])."</td> 2089 <td><select name=\"stat_type5\"> 2090 <option value=\"0\" {$stat_type5[0]}>0: {$lang_item['mana']}</option> 2091 <option value=\"1\" {$stat_type5[1]}>1: {$lang_item['health']}</option> 2092 <option value=\"3\" {$stat_type5[3]}>3: {$lang_item['agility']}</option> 2093 <option value=\"4\" {$stat_type5[4]}>4: {$lang_item['strength']}</option> 2094 <option value=\"5\" {$stat_type5[5]}>5: {$lang_item['intellect']}</option> 2095 <option value=\"6\" {$stat_type5[6]}>6: {$lang_item['spirit']}</option> 2096 <option value=\"7\" {$stat_type5[7]}>7: {$lang_item['stamina']}</option> 2097 <option value=\"12\" {$stat_type5[12]}>12: {$lang_item['DEFENCE_RATING']}</option> 2098 <option value=\"13\" {$stat_type5[13]}>13: {$lang_item['DODGE_RATING']}</option> 2099 <option value=\"14\" {$stat_type5[14]}>14: {$lang_item['PARRY_RATING']}</option> 2100 <option value=\"15\" {$stat_type5[15]}>15: {$lang_item['SHIELD_BLOCK_RATING']}</option> 2101 <option value=\"16\" {$stat_type5[16]}>16: {$lang_item['MELEE_HIT_RATING']}</option> 2102 <option value=\"17\" {$stat_type5[17]}>17: {$lang_item['RANGED_HIT_RATING']}</option> 2103 <option value=\"18\" {$stat_type5[18]}>18: {$lang_item['SPELL_HIT_RATING']}</option> 2104 <option value=\"19\" {$stat_type5[19]}>19: {$lang_item['MELEE_CS_RATING']}</option> 2105 <option value=\"20\" {$stat_type5[20]}>20: {$lang_item['RANGED_CS_RATING']}</option> 2106 <option value=\"21\" {$stat_type5[21]}>21: {$lang_item['SPELL_CS_RATING']}</option> 2107 <option value=\"22\" {$stat_type5[22]}>22: {$lang_item['MELEE_HA_RATING']}</option> 2108 <option value=\"23\" {$stat_type5[23]}>23: {$lang_item['RANGED_HA_RATING']}</option> 2109 <option value=\"24\" {$stat_type5[24]}>24: {$lang_item['SPELL_HA_RATING']}</option> 2110 <option value=\"25\" {$stat_type5[25]}>25: {$lang_item['MELEE_CA_RATING']}</option> 2111 <option value=\"26\" {$stat_type5[26]}>26: {$lang_item['RANGED_CA_RATING']}</option> 2112 <option value=\"27\" {$stat_type5[27]}>27: {$lang_item['SPELL_CA_RATING']}</option> 2113 <option value=\"28\" {$stat_type5[28]}>28: {$lang_item['MELEE_HASTE_RATING']}</option> 2114 <option value=\"29\" {$stat_type5[29]}>29: {$lang_item['RANGED_HASTE_RATING']}</option> 2115 <option value=\"30\" {$stat_type5[30]}>30: {$lang_item['SPELL_HASTE_RATING']}</option> 2116 <option value=\"31\" {$stat_type5[31]}>31: {$lang_item['HIT_RATING']}</option> 2117 <option value=\"32\" {$stat_type5[32]}>32: {$lang_item['CS_RATING']}</option> 2118 <option value=\"33\" {$stat_type5[33]}>33: {$lang_item['HA_RATING']}</option> 2119 <option value=\"34\" {$stat_type5[34]}>34: {$lang_item['CA_RATING']}</option> 2120 <option value=\"35\" {$stat_type5[35]}>35: {$lang_item['RESILIENCE_RATING']}</option> 2121 <option value=\"36\" {$stat_type5[36]}>36: {$lang_item['HASTE_RATING']}</option> 2122 </select></td> 2123 2124 <td><input type=\"text\" name=\"stat_value5\" size=\"10\" maxlength=\"6\" value=\"{$item['stat_value5']}\" /></td>"; 2125 unset($stat_type5); 2126 2127 $stat_type6 = array( 0 => "", 1 => "", 3 => "", 4 => "", 5 => "", 6 => "", 7 => "",12 => "", 2128 13 => "",14 => "",15 => "",16 => "",17 => "",18 => "",19 => "",20 => "",21 => "",22 => "", 2129 23 => "",24 => "",25 => "",26 => "",27 => "",28 => "",29 => "",30 => "",31 => "",32 => "", 2130 33 => "",34 => "",35 => "",36 => ""); 2131 $stat_type6[$item['stat_type6']] = " selected=\"selected\" "; 2132 2133 $output .= "<td>".makeinfocell($lang_item_edit['stat_type']." 6",$lang_item_edit['stat_type_desc'])."</td> 2134 <td><select name=\"stat_type6\"> 2135 <option value=\"0\" {$stat_type6[0]}>0: {$lang_item['mana']}</option> 2136 <option value=\"1\" {$stat_type6[1]}>1: {$lang_item['health']}</option> 2137 <option value=\"3\" {$stat_type6[3]}>3: {$lang_item['agility']}</option> 2138 <option value=\"4\" {$stat_type6[4]}>4: {$lang_item['strength']}</option> 2139 <option value=\"5\" {$stat_type6[5]}>5: {$lang_item['intellect']}</option> 2140 <option value=\"6\" {$stat_type6[6]}>6: {$lang_item['spirit']}</option> 2141 <option value=\"7\" {$stat_type6[7]}>7: {$lang_item['stamina']}</option> 2142 <option value=\"12\" {$stat_type6[12]}>12: {$lang_item['DEFENCE_RATING']}</option> 2143 <option value=\"13\" {$stat_type6[13]}>13: {$lang_item['DODGE_RATING']}</option> 2144 <option value=\"14\" {$stat_type6[14]}>14: {$lang_item['PARRY_RATING']}</option> 2145 <option value=\"15\" {$stat_type6[15]}>15: {$lang_item['SHIELD_BLOCK_RATING']}</option> 2146 <option value=\"16\" {$stat_type6[16]}>16: {$lang_item['MELEE_HIT_RATING']}</option> 2147 <option value=\"17\" {$stat_type6[17]}>17: {$lang_item['RANGED_HIT_RATING']}</option> 2148 <option value=\"18\" {$stat_type6[18]}>18: {$lang_item['SPELL_HIT_RATING']}</option> 2149 <option value=\"19\" {$stat_type6[19]}>19: {$lang_item['MELEE_CS_RATING']}</option> 2150 <option value=\"20\" {$stat_type6[20]}>20: {$lang_item['RANGED_CS_RATING']}</option> 2151 <option value=\"21\" {$stat_type6[21]}>21: {$lang_item['SPELL_CS_RATING']}</option> 2152 <option value=\"22\" {$stat_type6[22]}>22: {$lang_item['MELEE_HA_RATING']}</option> 2153 <option value=\"23\" {$stat_type6[23]}>23: {$lang_item['RANGED_HA_RATING']}</option> 2154 <option value=\"24\" {$stat_type6[24]}>24: {$lang_item['SPELL_HA_RATING']}</option> 2155 <option value=\"25\" {$stat_type6[25]}>25: {$lang_item['MELEE_CA_RATING']}</option> 2156 <option value=\"26\" {$stat_type6[26]}>26: {$lang_item['RANGED_CA_RATING']}</option> 2157 <option value=\"27\" {$stat_type6[27]}>27: {$lang_item['SPELL_CA_RATING']}</option> 2158 <option value=\"28\" {$stat_type6[28]}>28: {$lang_item['MELEE_HASTE_RATING']}</option> 2159 <option value=\"29\" {$stat_type6[29]}>29: {$lang_item['RANGED_HASTE_RATING']}</option> 2160 <option value=\"30\" {$stat_type6[30]}>30: {$lang_item['SPELL_HASTE_RATING']}</option> 2161 <option value=\"31\" {$stat_type6[31]}>31: {$lang_item['HIT_RATING']}</option> 2162 <option value=\"32\" {$stat_type6[32]}>32: {$lang_item['CS_RATING']}</option> 2163 <option value=\"33\" {$stat_type6[33]}>33: {$lang_item['HA_RATING']}</option> 2164 <option value=\"34\" {$stat_type6[34]}>34: {$lang_item['CA_RATING']}</option> 2165 <option value=\"35\" {$stat_type6[35]}>35: {$lang_item['RESILIENCE_RATING']}</option> 2166 <option value=\"36\" {$stat_type6[36]}>36: {$lang_item['HASTE_RATING']}</option> 2167 </select></td> 1675 <tr> 1676 <td>".makeinfocell($lang_item_edit['stat_type']." 5",$lang_item_edit['stat_type_desc'])."</td> 1677 <td><select name=\"stat_type5\">"; 1678 output_status_options($item['stat_type5']); 1679 $output .= "</select></td> 1680 1681 <td><input type=\"text\" name=\"stat_value5\" size=\"10\" maxlength=\"6\" value=\"{$item['stat_value5']}\" /></td> 1682 <td>".makeinfocell($lang_item_edit['stat_type']." 6",$lang_item_edit['stat_type_desc'])."</td> 1683 <td><select name=\"stat_type6\">"; 1684 output_status_options($item['stat_type1']); 1685 $output .= "</select></td> 2168 1686 2169 1687 <td><input type=\"text\" name=\"stat_value6\" size=\"10\" maxlength=\"6\" value=\"{$item['stat_value6']}\" /></td> 2170 1688 </tr> 2171 <tr>"; 2172 unset($stat_type6); 2173 2174 $stat_type7 = array( 0 => "", 1 => "", 3 => "", 4 => "", 5 => "", 6 => "", 7 => "",12 => "", 2175 13 => "",14 => "",15 => "",16 => "",17 => "",18 => "",19 => "",20 => "",21 => "",22 => "", 2176 23 => "",24 => "",25 => "",26 => "",27 => "",28 => "",29 => "",30 => "",31 => "",32 => "", 2177 33 => "",34 => "",35 => "",36 => ""); 2178 $stat_type7[$item['stat_type7']] = " selected=\"selected\" "; 2179 2180 $output .= "<td>".makeinfocell($lang_item_edit['stat_type']." 7",$lang_item_edit['stat_type_desc'])."</td> 2181 <td><select name=\"stat_type7\"> 2182 <option value=\"0\" {$stat_type7[0]}>0: {$lang_item['mana']}</option> 2183 <option value=\"1\" {$stat_type7[1]}>1: {$lang_item['health']}</option> 2184 <option value=\"3\" {$stat_type7[3]}>3: {$lang_item['agility']}</option> 2185 <option value=\"4\" {$stat_type7[4]}>4: {$lang_item['strength']}</option> 2186 <option value=\"5\" {$stat_type7[5]}>5: {$lang_item['intellect']}</option> 2187 <option value=\"6\" {$stat_type7[6]}>6: {$lang_item['spirit']}</option> 2188 <option value=\"7\" {$stat_type7[7]}>7: {$lang_item['stamina']}</option> 2189 <option value=\"12\" {$stat_type7[12]}>12: {$lang_item['DEFENCE_RATING']}</option> 2190 <option value=\"13\" {$stat_type7[13]}>13: {$lang_item['DODGE_RATING']}</option> 2191 <option value=\"14\" {$stat_type7[14]}>14: {$lang_item['PARRY_RATING']}</option> 2192 <option value=\"15\" {$stat_type7[15]}>15: {$lang_item['SHIELD_BLOCK_RATING']}</option> 2193 <option value=\"16\" {$stat_type7[16]}>16: {$lang_item['MELEE_HIT_RATING']}</option> 2194 <option value=\"17\" {$stat_type7[17]}>17: {$lang_item['RANGED_HIT_RATING']}</option> 2195 <option value=\"18\" {$stat_type7[18]}>18: {$lang_item['SPELL_HIT_RATING']}</option> 2196 <option value=\"19\" {$stat_type7[19]}>19: {$lang_item['MELEE_CS_RATING']}</option> 2197 <option value=\"20\" {$stat_type7[20]}>20: {$lang_item['RANGED_CS_RATING']}</option> 2198 <option value=\"21\" {$stat_type7[21]}>21: {$lang_item['SPELL_CS_RATING']}</option> 2199 <option value=\"22\" {$stat_type7[22]}>22: {$lang_item['MELEE_HA_RATING']}</option> 2200 <option value=\"23\" {$stat_type7[23]}>23: {$lang_item['RANGED_HA_RATING']}</option> 2201 <option value=\"24\" {$stat_type7[24]}>24: {$lang_item['SPELL_HA_RATING']}</option> 2202 <option value=\"25\" {$stat_type7[25]}>25: {$lang_item['MELEE_CA_RATING']}</option> 2203 <option value=\"26\" {$stat_type7[26]}>26: {$lang_item['RANGED_CA_RATING']}</option> 2204 <option value=\"27\" {$stat_type7[27]}>27: {$lang_item['SPELL_CA_RATING']}</option> 2205 <option value=\"28\" {$stat_type7[28]}>28: {$lang_item['MELEE_HASTE_RATING']}</option> 2206 <option value=\"29\" {$stat_type7[29]}>29: {$lang_item['RANGED_HASTE_RATING']}</option> 2207 <option value=\"30\" {$stat_type7[30]}>30: {$lang_item['SPELL_HASTE_RATING']}</option> 2208 <option value=\"31\" {$stat_type7[31]}>31: {$lang_item['HIT_RATING']}</option> 2209 <option value=\"32\" {$stat_type7[32]}>32: {$lang_item['CS_RATING']}</option> 2210 <option value=\"33\" {$stat_type7[33]}>33: {$lang_item['HA_RATING']}</option> 2211 <option value=\"34\" {$stat_type7[34]}>34: {$lang_item['CA_RATING']}</option> 2212 <option value=\"35\" {$stat_type7[35]}>35: {$lang_item['RESILIENCE_RATING']}</option> 2213 <option value=\"36\" {$stat_type7[36]}>36: {$lang_item['HASTE_RATING']}</option> 2214 </select></td> 2215 2216 <td><input type=\"text\" name=\"stat_value7\" size=\"10\" maxlength=\"6\" value=\"{$item['stat_value7']}\" /></td>"; 2217 unset($stat_type7); 2218 2219 $stat_type8 = array( 0 => "", 1 => "", 3 => "", 4 => "", 5 => "", 6 => "", 7 => "",12 => "", 2220 13 => "",14 => "",15 => "",16 => "",17 => "",18 => "",19 => "",20 => "",21 => "",22 => "", 2221 23 => "",24 => "",25 => "",26 => "",27 => "",28 => "",29 => "",30 => "",31 => "",32 => "", 2222 33 => "",34 => "",35 => "",36 => ""); 2223 $stat_type8[$item['stat_type8']] = " selected=\"selected\" "; 2224 2225 $output .= "<td>".makeinfocell($lang_item_edit['stat_type']." 8",$lang_item_edit['stat_type_desc'])."</td> 2226 <td><select name=\"stat_type8\"> 2227 <option value=\"0\" {$stat_type8[0]}>0: {$lang_item['mana']}</option> 2228 <option value=\"1\" {$stat_type8[1]}>1: {$lang_item['health']}</option> 2229 <option value=\"3\" {$stat_type8[3]}>3: {$lang_item['agility']}</option> 2230 <option value=\"4\" {$stat_type8[4]}>4: {$lang_item['strength']}</option> 2231 <option value=\"5\" {$stat_type8[5]}>5: {$lang_item['intellect']}</option> 2232 <option value=\"6\" {$stat_type8[6]}>6: {$lang_item['spirit']}</option> 2233 <option value=\"7\" {$stat_type8[7]}>7: {$lang_item['stamina']}</option> 2234 <option value=\"12\" {$stat_type8[12]}>12: {$lang_item['DEFENCE_RATING']}</option> 2235 <option value=\"13\" {$stat_type8[13]}>13: {$lang_item['DODGE_RATING']}</option> 2236 <option value=\"14\" {$stat_type8[14]}>14: {$lang_item['PARRY_RATING']}</option> 2237 <option value=\"15\" {$stat_type8[15]}>15: {$lang_item['SHIELD_BLOCK_RATING']}</option> 2238 <option value=\"16\" {$stat_type8[16]}>16: {$lang_item['MELEE_HIT_RATING']}</option> 2239 <option value=\"17\" {$stat_type8[17]}>17: {$lang_item['RANGED_HIT_RATING']}</option> 2240 <option value=\"18\" {$stat_type8[18]}>18: {$lang_item['SPELL_HIT_RATING']}</option> 2241 <option value=\"19\" {$stat_type8[19]}>19: {$lang_item['MELEE_CS_RATING']}</option> 2242 <option value=\"20\" {$stat_type8[20]}>20: {$lang_item['RANGED_CS_RATING']}</option> 2243 <option value=\"21\" {$stat_type8[21]}>21: {$lang_item['SPELL_CS_RATING']}</option> 2244 <option value=\"22\" {$stat_type8[22]}>22: {$lang_item['MELEE_HA_RATING']}</option> 2245 <option value=\"23\" {$stat_type8[23]}>23: {$lang_item['RANGED_HA_RATING']}</option> 2246 <option value=\"24\" {$stat_type8[24]}>24: {$lang_item['SPELL_HA_RATING']}</option> 2247 <option value=\"25\" {$stat_type8[25]}>25: {$lang_item['MELEE_CA_RATING']}</option> 2248 <option value=\"26\" {$stat_type8[26]}>26: {$lang_item['RANGED_CA_RATING']}</option> 2249 <option value=\"27\" {$stat_type8[27]}>27: {$lang_item['SPELL_CA_RATING']}</option> 2250 <option value=\"28\" {$stat_type8[28]}>28: {$lang_item['MELEE_HASTE_RATING']}</option> 2251 <option value=\"29\" {$stat_type8[29]}>29: {$lang_item['RANGED_HASTE_RATING']}</option> 2252 <option value=\"30\" {$stat_type8[30]}>30: {$lang_item['SPELL_HASTE_RATING']}</option> 2253 <option value=\"31\" {$stat_type8[31]}>31: {$lang_item['HIT_RATING']}</option> 2254 <option value=\"32\" {$stat_type8[32]}>32: {$lang_item['CS_RATING']}</option> 2255 <option value=\"33\" {$stat_type8[33]}>33: {$lang_item['HA_RATING']}</option> 2256 <option value=\"34\" {$stat_type8[34]}>34: {$lang_item['CA_RATING']}</option> 2257 <option value=\"35\" {$stat_type8[35]}>35: {$lang_item['RESILIENCE_RATING']}</option> 2258 <option value=\"36\" {$stat_type8[36]}>36: {$lang_item['HASTE_RATING']}</option> 2259 </select></td> 1689 <tr> 1690 <td>".makeinfocell($lang_item_edit['stat_type']." 7",$lang_item_edit['stat_type_desc'])."</td> 1691 <td><select name=\"stat_type7\">"; 1692 output_status_options($item['stat_type7']); 1693 $output .= "</select></td> 1694 <td><input type=\"text\" name=\"stat_value7\" size=\"10\" maxlength=\"6\" value=\"{$item['stat_value7']}\" /></td> 1695 <td>".makeinfocell($lang_item_edit['stat_type']." 8",$lang_item_edit['stat_type_desc'])."</td> 1696 <td><select name=\"stat_type8\">"; 1697 output_status_options($item['stat_type8']); 1698 $output .= "</select></td> 2260 1699 2261 1700 <td><input type=\"text\" name=\"stat_value8\" size=\"10\" maxlength=\"6\" value=\"{$item['stat_value8']}\" /></td> 2262 1701 </tr> 2263 <tr>"; 2264 unset($stat_type8); 2265 2266 $stat_type9 = array( 0 => "", 1 => "", 3 => "", 4 => "", 5 => "", 6 => "", 7 => "",12 => "", 2267 13 => "",14 => "",15 => "",16 => "",17 => "",18 => "",19 => "",20 => "",21 => "",22 => "", 2268 23 => "",24 => "",25 => "",26 => "",27 => "",28 => "",29 => "",30 => "",31 => "",32 => "", 2269 33 => "",34 => "",35 => "",36 => ""); 2270 $stat_type9[$item['stat_type9']] = " selected=\"selected\" "; 2271 2272 $output .= "<td>".makeinfocell($lang_item_edit['stat_type']." 9",$lang_item_edit['stat_type_desc'])."</td> 2273 <td><select name=\"stat_type9\"> 2274 <option value=\"0\" {$stat_type9[0]}>0: {$lang_item['mana']}</option> 2275 <option value=\"1\" {$stat_type9[1]}>1: {$lang_item['health']}</option> 2276 <option value=\"3\" {$stat_type9[3]}>3: {$lang_item['agility']}</option> 2277 <option value=\"4\" {$stat_type9[4]}>4: {$lang_item['strength']}</option> 2278 <option value=\"5\" {$stat_type9[5]}>5: {$lang_item['intellect']}</option> 2279 <option value=\"6\" {$stat_type9[6]}>6: {$lang_item['spirit']}</option> 2280 <option value=\"7\" {$stat_type9[7]}>7: {$lang_item['stamina']}</option> 2281 <option value=\"12\" {$stat_type9[12]}>12: {$lang_item['DEFENCE_RATING']}</option> 2282 <option value=\"13\" {$stat_type9[13]}>13: {$lang_item['DODGE_RATING']}</option> 2283 <option value=\"14\" {$stat_type9[14]}>14: {$lang_item['PARRY_RATING']}</option> 2284 <option value=\"15\" {$stat_type9[15]}>15: {$lang_item['SHIELD_BLOCK_RATING']}</option> 2285 <option value=\"16\" {$stat_type9[16]}>16: {$lang_item['MELEE_HIT_RATING']}</option> 2286 <option value=\"17\" {$stat_type9[17]}>17: {$lang_item['RANGED_HIT_RATING']}</option> 2287 <option value=\"18\" {$stat_type9[18]}>18: {$lang_item['SPELL_HIT_RATING']}</option> 2288 <option value=\"19\" {$stat_type9[19]}>19: {$lang_item['MELEE_CS_RATING']}</option> 2289 <option value=\"20\" {$stat_type9[20]}>20: {$lang_item['RANGED_CS_RATING']}</option> 2290 <option value=\"21\" {$stat_type9[21]}>21: {$lang_item['SPELL_CS_RATING']}</option> 2291 <option value=\"22\" {$stat_type9[22]}>22: {$lang_item['MELEE_HA_RATING']}</option> 2292 <option value=\"23\" {$stat_type9[23]}>23: {$lang_item['RANGED_HA_RATING']}</option> 2293 <option value=\"24\" {$stat_type9[24]}>24: {$lang_item['SPELL_HA_RATING']}</option> 2294 <option value=\"25\" {$stat_type9[25]}>25: {$lang_item['MELEE_CA_RATING']}</option> 2295 <option value=\"26\" {$stat_type9[26]}>26: {$lang_item['RANGED_CA_RATING']}</option> 2296 <option value=\"27\" {$stat_type9[27]}>27: {$lang_item['SPELL_CA_RATING']}</option> 2297 <option value=\"28\" {$stat_type9[28]}>28: {$lang_item['MELEE_HASTE_RATING']}</option> 2298 <option value=\"29\" {$stat_type9[29]}>29: {$lang_item['RANGED_HASTE_RATING']}</option> 2299 <option value=\"30\" {$stat_type9[30]}>30: {$lang_item['SPELL_HASTE_RATING']}</option> 2300 <option value=\"31\" {$stat_type9[31]}>31: {$lang_item['HIT_RATING']}</option> 2301 <option value=\"32\" {$stat_type9[32]}>32: {$lang_item['CS_RATING']}</option> 2302 <option value=\"33\" {$stat_type9[33]}>33: {$lang_item['HA_RATING']}</option> 2303 <option value=\"34\" {$stat_type9[34]}>34: {$lang_item['CA_RATING']}</option> 2304 <option value=\"35\" {$stat_type9[35]}>35: {$lang_item['RESILIENCE_RATING']}</option> 2305 <option value=\"36\" {$stat_type9[36]}>36: {$lang_item['HASTE_RATING']}</option> 2306 </select></td> 2307 2308 <td><input type=\"text\" name=\"stat_value9\" size=\"10\" maxlength=\"6\" value=\"{$item['stat_value9']}\" /></td>"; 2309 unset($stat_type9); 2310 2311 $stat_type10 = array( 0 => "", 1 => "", 3 => "", 4 => "", 5 => "", 6 => "", 7 => "",12 => "", 2312 13 => "",14 => "",15 => "",16 => "",17 => "",18 => "",19 => "",20 => "",21 => "",22 => "", 2313 23 => "",24 => "",25 => "",26 => "",27 => "",28 => "",29 => "",30 => "",31 => "",32 => "", 2314 33 => "",34 => "",35 => "",36 => ""); 2315 $stat_type10[$item['stat_type10']] = " selected=\"selected\" "; 2316 2317 $output .= "<td>".makeinfocell($lang_item_edit['stat_type']." 10",$lang_item_edit['stat_type_desc'])."</td> 2318 <td><select name=\"stat_type10\"> 2319 <option value=\"0\" {$stat_type10[0]}>0: {$lang_item['mana']}</option> 2320 <option value=\"1\" {$stat_type10[1]}>1: {$lang_item['health']}</option> 2321 <option value=\"3\" {$stat_type10[3]}>3: {$lang_item['agility']}</option> 2322 <option value=\"4\" {$stat_type10[4]}>4: {$lang_item['strength']}</option> 2323 <option value=\"5\" {$stat_type10[5]}>5: {$lang_item['intellect']}</option> 2324 <option value=\"6\" {$stat_type10[6]}>6: {$lang_item['spirit']}</option> 2325 <option value=\"7\" {$stat_type10[7]}>7: {$lang_item['stamina']}</option> 2326 <option value=\"12\" {$stat_type10[12]}>12: {$lang_item['DEFENCE_RATING']}</option> 2327 <option value=\"13\" {$stat_type10[13]}>13: {$lang_item['DODGE_RATING']}</option> 2328 <option value=\"14\" {$stat_type10[14]}>14: {$lang_item['PARRY_RATING']}</option> 2329 <option value=\"15\" {$stat_type10[15]}>15: {$lang_item['SHIELD_BLOCK_RATING']}</option> 2330 <option value=\"16\" {$stat_type10[16]}>16: {$lang_item['MELEE_HIT_RATING']}</option> 2331 <option value=\"17\" {$stat_type10[17]}>17: {$lang_item['RANGED_HIT_RATING']}</option> 2332 <option value=\"18\" {$stat_type10[18]}>18: {$lang_item['SPELL_HIT_RATING']}</option> 2333 <option value=\"19\" {$stat_type10[19]}>19: {$lang_item['MELEE_CS_RATING']}</option> 2334 <option value=\"20\" {$stat_type10[20]}>20: {$lang_item['RANGED_CS_RATING']}</option> 2335 <option value=\"21\" {$stat_type10[21]}>21: {$lang_item['SPELL_CS_RATING']}</option> 2336 <option value=\"22\" {$stat_type10[22]}>22: {$lang_item['MELEE_HA_RATING']}</option> 2337 <option value=\"23\" {$stat_type10[23]}>23: {$lang_item['RANGED_HA_RATING']}</option> 2338 <option value=\"24\" {$stat_type10[24]}>24: {$lang_item['SPELL_HA_RATING']}</option> 2339 <option value=\"25\" {$stat_type10[25]}>25: {$lang_item['MELEE_CA_RATING']}</option> 2340 <option value=\"26\" {$stat_type10[26]}>26: {$lang_item['RANGED_CA_RATING']}</option> 2341 <option value=\"27\" {$stat_type10[27]}>27: {$lang_item['SPELL_CA_RATING']}</option> 2342 <option value=\"28\" {$stat_type10[28]}>28: {$lang_item['MELEE_HASTE_RATING']}</option> 2343 <option value=\"29\" {$stat_type10[29]}>29: {$lang_item['RANGED_HASTE_RATING']}</option> 2344 <option value=\"30\" {$stat_type10[30]}>30: {$lang_item['SPELL_HASTE_RATING']}</option> 2345 <option value=\"31\" {$stat_type10[31]}>31: {$lang_item['HIT_RATING']}</option> 2346 <option value=\"32\" {$stat_type10[32]}>32: {$lang_item['CS_RATING']}</option> 2347 <option value=\"33\" {$stat_type10[33]}>33: {$lang_item['HA_RATING']}</option> 2348 <option value=\"34\" {$stat_type10[34]}>34: {$lang_item['CA_RATING']}</option> 2349 <option value=\"35\" {$stat_type10[35]}>35: {$lang_item['RESILIENCE_RATING']}</option> 2350 <option value=\"36\" {$stat_type10[36]}>36: {$lang_item['HASTE_RATING']}</option> 2351 </select></td> 1702 <tr> 1703 <td>".makeinfocell($lang_item_edit['stat_type']." 9",$lang_item_edit['stat_type_desc'])."</td> 1704 <td><select name=\"stat_type9\">"; 1705 output_status_options($item['stat_type9']); 1706 $output .= "</select></td> 1707 <td><input type=\"text\" name=\"stat_value9\" size=\"10\" maxlength=\"6\" value=\"{$item['stat_value9']}\" /></td> 1708 <td>".makeinfocell($lang_item_edit['stat_type']." 10",$lang_item_edit['stat_type_desc'])."</td> 1709 <td><select name=\"stat_type10\">"; 1710 output_status_options($item['stat_type10']); 1711 $output .= "</select></td> 2352 1712 2353 1713 <td><input type=\"text\" name=\"stat_value10\" size=\"10\" maxlength=\"6\" value=\"{$item['stat_value10']}\" /></td> … … 2386 1746 </table><br /><br /> 2387 1747 </div>"; 2388 unset($stat_type10); 2389 1748 2390 1749 $output .= "<div id=\"pane4\"> 2391 1750 <br /><br /><table class=\"lined\" style=\"width: 720px;\"> … … 2416 1775 unset($ammo_type); 2417 1776 2418 $dmg_type1 = array( 0 => "", 1 => "", 2 => "", 3 => "", 4 => "", 5 => "", 6 => "");2419 $dmg_type1 [$item['dmg_type1']] = " selected=\"selected\" ";2420 2421 1777 $output .= "<td>".makeinfocell($lang_item_edit['damage_type']." 1",$lang_item_edit['damage_type_desc'])."</td> 2422 <td colspan=\"2\"><select name=\"dmg_type1\"> 2423 <option value=\"0\" {$dmg_type1[0]}>0: {$lang_item['physical_dmg']}</option> 2424 <option value=\"1\" {$dmg_type1[1]}>1: {$lang_item['holy_dmg']}</option> 2425 <option value=\"2\" {$dmg_type1[2]}>2: {$lang_item['fire_dmg']}</option> 2426 <option value=\"3\" {$dmg_type1[3]}>3: {$lang_item['nature_dmg']}</option> 2427 <option value=\"4\" {$dmg_type1[4]}>4: {$lang_item['frost_dmg']}</option> 2428 <option value=\"5\" {$dmg_type1[5]}>5: {$lang_item['shadow_dmg']}</option> 2429 <option value=\"6\" {$dmg_type1[6]}>6: {$lang_item['arcane_dmg']}</option> 2430 </select></td> 1778 <td colspan=\"2\"><select name=\"dmg_type1\">"; 1779 output_dmgtype_options($item['dmg_type1']); 1780 $output .= "</select></td> 2431 1781 2432 1782 <td>".makeinfocell($lang_item_edit['dmg_min_max'],$lang_item_edit['dmg_min_max_desc'])."</td> … … 2434 1784 2435 1785 </tr> 2436 <tr>"; 2437 unset($dmg_type1); 2438 2439 $dmg_type2 = array( 0 => "", 1 => "", 2 => "", 3 => "", 4 => "", 5 => "", 6 => ""); 2440 $dmg_type2 [$item['dmg_type2']] = " selected=\"selected\" "; 2441 2442 $output .= "<td>".makeinfocell($lang_item_edit['damage_type']." 2",$lang_item_edit['damage_type_desc'])."</td> 2443 <td colspan=\"2\"><select name=\"dmg_type2\"> 2444 <option value=\"0\" {$dmg_type2[0]}>0: {$lang_item['physical_dmg']}</option> 2445 <option value=\"1\" {$dmg_type2[1]}>1: {$lang_item['holy_dmg']}</option> 2446 <option value=\"2\" {$dmg_type2[2]}>2: {$lang_item['fire_dmg']}</option> 2447 <option value=\"3\" {$dmg_type2[3]}>3: {$lang_item['nature_dmg']}</option> 2448 <option value=\"4\" {$dmg_type2[4]}>4: {$lang_item['frost_dmg']}</option> 2449 <option value=\"5\" {$dmg_type2[5]}>5: {$lang_item['shadow_dmg']}</option> 2450 <option value=\"6\" {$dmg_type2[6]}>6: {$lang_item['arcane_dmg']}</option> 2451 </select></td> 1786 <tr> 1787 <td>".makeinfocell($lang_item_edit['damage_type']." 2",$lang_item_edit['damage_type_desc'])."</td> 1788 <td colspan=\"2\"><select name=\"dmg_type2\">"; 1789 output_dmgtype_options($item['dmg_type2']); 1790 $output .= "</select></td> 2452 1791 2453 1792 <td>".makeinfocell($lang_item_edit['dmg_min_max'],$lang_item_edit['dmg_min_max_desc'])."</td> … … 2455 1794 2456 1795 </tr> 2457 <tr>"; 2458 unset($dmg_type2); 2459 2460 $dmg_type3 = array( 0 => "", 1 => "", 2 => "", 3 => "", 4 => "", 5 => "", 6 => ""); 2461 $dmg_type3 [$item['dmg_type3']] = " selected=\"selected\" "; 2462 2463 $output .= "<td>".makeinfocell($lang_item_edit['damage_type']." 3",$lang_item_edit['damage_type_desc'])."</td> 2464 <td colspan=\"2\"><select name=\"dmg_type3\"> 2465 <option value=\"0\" {$dmg_type3[0]}>0: {$lang_item['physical_dmg']}</option> 2466 <option value=\"1\" {$dmg_type3[1]}>1: {$lang_item['holy_dmg']}</option> 2467 <option value=\"2\" {$dmg_type3[2]}>2: {$lang_item['fire_dmg']}</option> 2468 <option value=\"3\" {$dmg_type3[3]}>3: {$lang_item['nature_dmg']}</option> 2469 <option value=\"4\" {$dmg_type3[4]}>4: {$lang_item['frost_dmg']}</option> 2470 <option value=\"5\" {$dmg_type3[5]}>5: {$lang_item['shadow_dmg']}</option> 2471 <option value=\"6\" {$dmg_type3[6]}>6: {$lang_item['arcane_dmg']}</option> 2472 </select></td> 1796 <tr> 1797 <td>".makeinfocell($lang_item_edit['damage_type']." 3",$lang_item_edit['damage_type_desc'])."</td> 1798 <td colspan=\"2\"><select name=\"dmg_type3\">"; 1799 output_dmgtype_options($item['dmg_type3']); 1800 $output .= "</select></td> 2473 1801 2474 1802 <td>".makeinfocell($lang_item_edit['dmg_min_max'],$lang_item_edit['dmg_min_max_desc'])."</td> 2475 1803 <td colspan=\"4\"><input type=\"text\" name=\"dmg_min3\" size=\"8\" maxlength=\"45\" value=\"{$item['dmg_min3']}\" /> - <input type=\"text\" name=\"dmg_max3\" size=\"8\" maxlength=\"45\" value=\"{$item['dmg_max3']}\" /></td> 2476 1804 </tr> 2477 <tr>"; 2478 unset($dmg_type3); 2479 2480 $dmg_type4 = array( 0 => "", 1 => "", 2 => "", 3 => "", 4 => "", 5 => "", 6 => ""); 2481 $dmg_type4 [$item['dmg_type4']] = " selected=\"selected\" "; 2482 2483 $output .= "<td>".makeinfocell($lang_item_edit['damage_type']." 4",$lang_item_edit['damage_type_desc'])."</td> 2484 <td colspan=\"2\"><select name=\"dmg_type4\"> 2485 <option value=\"0\" {$dmg_type4[0]}>0: {$lang_item['physical_dmg']}</option> 2486 <option value=\"1\" {$dmg_type4[1]}>1: {$lang_item['holy_dmg']}</option> 2487 <option value=\"2\" {$dmg_type4[2]}>2: {$lang_item['fire_dmg']}</option> 2488 <option value=\"3\" {$dmg_type4[3]}>3: {$lang_item['nature_dmg']}</option> 2489 <option value=\"4\" {$dmg_type4[4]}>4: {$lang_item['frost_dmg']}</option> 2490 <option value=\"5\" {$dmg_type4[5]}>5: {$lang_item['shadow_dmg']}</option> 2491 <option value=\"6\" {$dmg_type4[6]}>6: {$lang_item['arcane_dmg']}</option> 2492 </select></td> 1805 <tr> 1806 <td>".makeinfocell($lang_item_edit['damage_type']." 4",$lang_item_edit['damage_type_desc'])."</td> 1807 <td colspan=\"2\"><select name=\"dmg_type4\">"; 1808 output_dmgtype_options($item['dmg_type4']); 1809 $output .= "</select></td> 2493 1810 2494 1811 <td>".makeinfocell($lang_item_edit['dmg_min_max'],$lang_item_edit['dmg_min_max_desc'])."</td> … … 2496 1813 2497 1814 </tr> 2498 <tr>"; 2499 unset($dmg_type4); 2500 2501 $dmg_type5 = array( 0 => "", 1 => "", 2 => "", 3 => "", 4 => "", 5 => "", 6 => ""); 2502 $dmg_type5 [$item['dmg_type5']] = " selected=\"selected\" "; 2503 2504 $output .= "<td>".makeinfocell($lang_item_edit['damage_type']." 5",$lang_item_edit['damage_type_desc'])."</td> 2505 <td colspan=\"2\"><select name=\"dmg_type5\"> 2506 <option value=\"0\" {$dmg_type5[0]}>0: {$lang_item['physical_dmg']}</option> 2507 <option value=\"1\" {$dmg_type5[1]}>1: {$lang_item['holy_dmg']}</option> 2508 <option value=\"2\" {$dmg_type5[2]}>2: {$lang_item['fire_dmg']}</option> 2509 <option value=\"3\" {$dmg_type5[3]}>3: {$lang_item['nature_dmg']}</option> 2510 <option value=\"4\" {$dmg_type5[4]}>4: {$lang_item['frost_dmg']}</option> 2511 <option value=\"5\" {$dmg_type5[5]}>5: {$lang_item['shadow_dmg']}</option> 2512 <option value=\"6\" {$dmg_type5[6]}>6: {$lang_item['arcane_dmg']}</option> 2513 </select></td> 1815 <tr> 1816 <td>".makeinfocell($lang_item_edit['damage_type']." 5",$lang_item_edit['damage_type_desc'])."</td> 1817 <td colspan=\"2\"><select name=\"dmg_type5\">"; 1818 output_dmgtype_options($item['dmg_type5']); 1819 $output .= "</select></td> 2514 1820 2515 1821 <td>".makeinfocell($lang_item_edit['dmg_min_max'],$lang_item_edit['dmg_min_max_desc'])."</td> … … 2518 1824 2519 1825 </table><br /><br /> 2520 </div>"; 2521 unset($dmg_type5); 1826 </div>"; 2522 1827 2523 1828 $output .= "<div id=\"pane5\"> 2524 1829 <br /><br /><table class=\"lined\" style=\"width: 720px;\"> 2525 1830 <tr> 2526 <td>".makeinfocell($lang_item_edit['spell_id']." 1",$lang_item_edit['spell_id_desc'])."</td> 2527 <td><input type=\"text\" name=\"spellid_1\" size=\"8\" maxlength=\"30\" value=\"{$item['spellid_1']}\" /></td>"; 1831 <td colspan=\"2\">{$lang_item_edit['item_spell']} 1</td> 1832 <td>".makeinfocell($lang_item_edit['spell_id'],$lang_item_edit['spell_id_desc'])."</td> 1833 <td><input type=\"text\" name=\"spellid_1\" size=\"6\" maxlength=\"30\" value=\"{$item['spellid_1']}\" /></td>"; 2528 1834 2529 1835 $spelltrigger_1 = array( 0 => "", 1 => "", 2 => "", 4 => ""); 2530 1836 $spelltrigger_1 [$item['spelltrigger_1']] = " selected=\"selected\" "; 2531 1837 2532 $output .= "<td>".makeinfocell($lang_item_edit['spell_trigger'] ." 1",$lang_item_edit['spell_trigger_desc'])."</td>1838 $output .= "<td>".makeinfocell($lang_item_edit['spell_trigger'],$lang_item_edit['spell_trigger_desc'])."</td> 2533 1839 <td><select name=\"spelltrigger_1\"> 2534 1840 <option value=\"0\" {$spelltrigger_1[0]}>0: {$lang_item['spell_use']}</option> … … 2537 1843 <option value=\"4\" {$spelltrigger_1[4]}>4: {$lang_item['soul_stone']}</option> 2538 1844 </select></td> 2539 <td>".makeinfocell($lang_item_edit['spell_charges']." 1",$lang_item_edit['spell_charges_desc'])."</td> 2540 <td><input type=\"text\" name=\"spellcharges_1\" size=\"8\" maxlength=\"30\" value=\"{$item['spellcharges_1']}\" /></td> 2541 </tr> 2542 <tr> 2543 <td>".makeinfocell($lang_item_edit['spell_cooldown']." 1",$lang_item_edit['spell_cooldown_desc'])."</td> 2544 <td><input type=\"text\" name=\"spellcooldown_1\" size=\"8\" maxlength=\"30\" value=\"{$item['spellcooldown_1']}\" /></td> 2545 2546 <td>".makeinfocell($lang_item_edit['spell_category']." 1",$lang_item_edit['spell_category_desc'])."</td> 2547 <td><input type=\"text\" name=\"spellcategory_1\" size=\"8\" maxlength=\"30\" value=\"{$item['spellcategory_1']}\" /></td> 2548 2549 <td>".makeinfocell($lang_item_edit['spell_category_cooldown']." 1",$lang_item_edit['spell_category_cooldown_desc'])."</td> 2550 <td><input type=\"text\" name=\"spellcategorycooldown_1\" size=\"8\" maxlength=\"30\" value=\"{$item['spellcategorycooldown_1']}\" /></td> 1845 <td>".makeinfocell($lang_item_edit['spell_charges'],$lang_item_edit['spell_charges_desc'])."</td> 1846 <td><input type=\"text\" name=\"spellcharges_1\" size=\"6\" maxlength=\"30\" value=\"{$item['spellcharges_1']}\" /></td> 1847 </tr> 1848 <tr> 1849 <td>".makeinfocell($lang_item_edit['spell_cooldown'],$lang_item_edit['spell_cooldown_desc'])."</td> 1850 <td><input type=\"text\" name=\"spellcooldown_1\" size=\"6\" maxlength=\"30\" value=\"{$item['spellcooldown_1']}\" /></td> 1851 1852 <td>".makeinfocell($lang_item_edit['spell_category'],$lang_item_edit['spell_category_desc'])."</td> 1853 <td><input type=\"text\" name=\"spellcategory_1\" size=\"6\" maxlength=\"30\" value=\"{$item['spellcategory_1']}\" /></td> 1854 1855 <td>".makeinfocell($lang_item_edit['spell_category_cooldown'],$lang_item_edit['spell_category_cooldown_desc'])."</td> 1856 <td><input type=\"text\" name=\"spellcategorycooldown_1\" size=\"6\" maxlength=\"30\" value=\"{$item['spellcategorycooldown_1']}\" /></td> 1857 1858 <td>".makeinfocell($lang_item_edit['ppm_rate'],$lang_item_edit['ppm_rate_desc'])."</td> 1859 <td><input type=\"text\" name=\"spellppmRate_1\" size=\"6\" maxlength=\"30\" value=\"{$item['spellppmRate_1']}\" /></td> 2551 1860 </tr> 2552 1861 <tr><td colspan=\"6\" class=\"hidden\"></td></tr> 2553 1862 <tr> 2554 <td>".makeinfocell($lang_item_edit['spell_id']." 2",$lang_item_edit['spell_id_desc'])."</td> 2555 <td><input type=\"text\" name=\"spellid_2\" size=\"8\" maxlength=\"30\" value=\"{$item['spellid_2']}\" /></td>"; 1863 <td colspan=\"2\">{$lang_item_edit['item_spell']} 2</td> 1864 <td>".makeinfocell($lang_item_edit['spell_id'],$lang_item_edit['spell_id_desc'])."</td> 1865 <td><input type=\"text\" name=\"spellid_2\" size=\"6\" maxlength=\"30\" value=\"{$item['spellid_2']}\" /></td>"; 2556 1866 unset($spelltrigger_1); 2557 1867 … … 2559 1869 $spelltrigger_2 [$item['spelltrigger_2']] = " selected=\"selected\" "; 2560 1870 2561 $output .= "<td>".makeinfocell($lang_item_edit['spell_trigger'] ." 2",$lang_item_edit['spell_trigger_desc'])."</td>1871 $output .= "<td>".makeinfocell($lang_item_edit['spell_trigger'],$lang_item_edit['spell_trigger_desc'])."</td> 2562 1872 <td><select name=\"spelltrigger_2\"> 2563 1873 <option value=\"0\" {$spelltrigger_2[0]}>0: {$lang_item['spell_use']}</option> … … 2566 1876 <option value=\"4\" {$spelltrigger_2[4]}>4: {$lang_item['soul_stone']}</option> 2567 1877 </select></td> 2568 <td>".makeinfocell($lang_item_edit['spell_charges']." 2",$lang_item_edit['spell_charges_desc'])."</td> 2569 <td><input type=\"text\" name=\"spellcharges_2\" size=\"8\" maxlength=\"30\" value=\"{$item['spellcharges_2']}\" /></td> 2570 </tr> 2571 <tr> 2572 <td>".makeinfocell($lang_item_edit['spell_cooldown']." 2",$lang_item_edit['spell_cooldown_desc'])."</td> 2573 <td><input type=\"text\" name=\"spellcooldown_2\" size=\"8\" maxlength=\"30\" value=\"{$item['spellcooldown_2']}\" /></td> 2574 2575 <td>".makeinfocell($lang_item_edit['spell_category']." 2",$lang_item_edit['spell_category_desc'])."</td> 2576 <td><input type=\"text\" name=\"spellcategory_2\" size=\"8\" maxlength=\"30\" value=\"{$item['spellcategory_2']}\" /></td> 2577 2578 <td>".makeinfocell($lang_item_edit['spell_category_cooldown']." 2",$lang_item_edit['spell_category_cooldown_desc'])."</td> 2579 <td><input type=\"text\" name=\"spellcategorycooldown_2\" size=\"8\" maxlength=\"30\" value=\"{$item['spellcategorycooldown_2']}\" /></td> 1878 <td>".makeinfocell($lang_item_edit['spell_charges'],$lang_item_edit['spell_charges_desc'])."</td> 1879 <td><input type=\"text\" name=\"spellcharges_2\" size=\"6\" maxlength=\"30\" value=\"{$item['spellcharges_2']}\" /></td> 1880 </tr> 1881 <tr> 1882 <td>".makeinfocell($lang_item_edit['spell_cooldown'],$lang_item_edit['spell_cooldown_desc'])."</td> 1883 <td><input type=\"text\" name=\"spellcooldown_2\" size=\"6\" maxlength=\"30\" value=\"{$item['spellcooldown_2']}\" /></td> 1884 1885 <td>".makeinfocell($lang_item_edit['spell_category'],$lang_item_edit['spell_category_desc'])."</td> 1886 <td><input type=\"text\" name=\"spellcategory_2\" size=\"6\" maxlength=\"30\" value=\"{$item['spellcategory_2']}\" /></td> 1887 1888 <td>".makeinfocell($lang_item_edit['spell_category_cooldown'],$lang_item_edit['spell_category_cooldown_desc'])."</td> 1889 <td><input type=\"text\" name=\"spellcategorycooldown_2\" size=\"6\" maxlength=\"30\" value=\"{$item['spellcategorycooldown_2']}\" /></td> 1890 1891 <td>".makeinfocell($lang_item_edit['ppm_rate'],$lang_item_edit['ppm_rate_desc'])."</td> 1892 <td><input type=\"text\" name=\"spellppmRate_2\" size=\"6\" maxlength=\"30\" value=\"{$item['spellppmRate_2']}\" /></td> 2580 1893 </tr> 2581 1894 <tr><td colspan=\"6\" class=\"hidden\"></td></tr> 2582 1895 <tr> 2583 <td>".makeinfocell($lang_item_edit['spell_id']." 3",$lang_item_edit['spell_id_desc'])."</td> 2584 <td><input type=\"text\" name=\"spellid_3\" size=\"8\" maxlength=\"30\" value=\"{$item['spellid_3']}\" /></td>"; 1896 <td colspan=\"2\">{$lang_item_edit['item_spell']} 3</td> 1897 <td>".makeinfocell($lang_item_edit['spell_id'],$lang_item_edit['spell_id_desc'])."</td> 1898 <td><input type=\"text\" name=\"spellid_3\" size=\"6\" maxlength=\"30\" value=\"{$item['spellid_3']}\" /></td>"; 2585 1899 unset($spelltrigger_2); 2586 1900 … … 2588 1902 $spelltrigger_3 [$item['spelltrigger_3']] = " selected=\"selected\" "; 2589 1903 2590 $output .= "<td>".makeinfocell($lang_item_edit['spell_trigger'] ." 3",$lang_item_edit['spell_trigger_desc'])."</td>1904 $output .= "<td>".makeinfocell($lang_item_edit['spell_trigger'],$lang_item_edit['spell_trigger_desc'])."</td> 2591 1905 <td><select name=\"spelltrigger_3\"> 2592 1906 <option value=\"0\" {$spelltrigger_3[0]}>0: {$lang_item['spell_use']}</option> … … 2595 1909 <option value=\"4\" {$spelltrigger_3[4]}>4: {$lang_item['soul_stone']}</option> 2596 1910 </select></td> 2597 <td>".makeinfocell($lang_item_edit['spell_charges']." 3",$lang_item_edit['spell_charges_desc'])."</td> 2598 <td><input type=\"text\" name=\"spellcharges_3\" size=\"8\" maxlength=\"30\" value=\"{$item['spellcharges_3']}\" /></td> 2599 </tr> 2600 <tr> 2601 <td>".makeinfocell($lang_item_edit['spell_cooldown']." 3",$lang_item_edit['spell_cooldown_desc'])."</td> 2602 <td><input type=\"text\" name=\"spellcooldown_3\" size=\"8\" maxlength=\"30\" value=\"{$item['spellcooldown_3']}\" /></td> 2603 2604 <td>".makeinfocell($lang_item_edit['spell_category']." 3",$lang_item_edit['spell_category_desc'])."</td> 2605 <td><input type=\"text\" name=\"spellcategory_3\" size=\"8\" maxlength=\"30\" value=\"{$item['spellcategory_3']}\" /></td> 2606 2607 <td>".makeinfocell($lang_item_edit['spell_category_cooldown']." 3",$lang_item_edit['spell_category_cooldown_desc'])."</td> 2608 <td><input type=\"text\" name=\"spellcategorycooldown_3\" size=\"8\" maxlength=\"30\" value=\"{$item['spellcategorycooldown_3']}\" /></td> 1911 <td>".makeinfocell($lang_item_edit['spell_charges'],$lang_item_edit['spell_charges_desc'])."</td> 1912 <td><input type=\"text\" name=\"spellcharges_3\" size=\"6\" maxlength=\"30\" value=\"{$item['spellcharges_3']}\" /></td> 1913 </tr> 1914 <tr> 1915 <td>".makeinfocell($lang_item_edit['spell_cooldown'],$lang_item_edit['spell_cooldown_desc'])."</td> 1916 <td><input type=\"text\" name=\"spellcooldown_3\" size=\"6\" maxlength=\"30\" value=\"{$item['spellcooldown_3']}\" /></td> 1917 1918 <td>".makeinfocell($lang_item_edit['spell_category'],$lang_item_edit['spell_category_desc'])."</td> 1919 <td><input type=\"text\" name=\"spellcategory_3\" size=\"6\" maxlength=\"30\" value=\"{$item['spellcategory_3']}\" /></td> 1920 1921 <td>".makeinfocell($lang_item_edit['spell_category_cooldown'],$lang_item_edit['spell_category_cooldown_desc'])."</td> 1922 <td><input type=\"text\" name=\"spellcategorycooldown_3\" size=\"6\" maxlength=\"30\" value=\"{$item['spellcategorycooldown_3']}\" /></td> 1923 1924 <td>".makeinfocell($lang_item_edit['ppm_rate'],$lang_item_edit['ppm_rate_desc'])."</td> 1925 <td><input type=\"text\" name=\"spellppmRate_3\" size=\"6\" maxlength=\"30\" value=\"{$item['spellppmRate_3']}\" /></td> 2609 1926 </tr> 2610 1927 <tr><td colspan=\"6\" class=\"hidden\"></td></tr> 2611 1928 <tr> 2612 <td>".makeinfocell($lang_item_edit['spell_id']." 4",$lang_item_edit['spell_id_desc'])."</td> 2613 <td><input type=\"text\" name=\"spellid_4\" size=\"8\" maxlength=\"30\" value=\"{$item['spellid_4']}\" /></td>"; 1929 <td colspan=\"2\">{$lang_item_edit['item_spell']} 4</td> 1930 <td>".makeinfocell($lang_item_edit['spell_id'],$lang_item_edit['spell_id_desc'])."</td> 1931 <td><input type=\"text\" name=\"spellid_4\" size=\"6\" maxlength=\"30\" value=\"{$item['spellid_4']}\" /></td>"; 2614 1932 unset($spelltrigger_3); 2615 1933 … … 2617 1935 $spelltrigger_4 [$item['spelltrigger_4']] = " selected=\"selected\" "; 2618 1936 2619 $output .= "<td>".makeinfocell($lang_item_edit['spell_trigger'] ." 4",$lang_item_edit['spell_trigger_desc'])."</td>1937 $output .= "<td>".makeinfocell($lang_item_edit['spell_trigger'],$lang_item_edit['spell_trigger_desc'])."</td> 2620 1938 <td><select name=\"spelltrigger_4\"> 2621 1939 <option value=\"0\" {$spelltrigger_4[0]}>0: {$lang_item['spell_use']}</option> … … 2624 1942 <option value=\"4\" {$spelltrigger_4[4]}>4: {$lang_item['soul_stone']}</option> 2625 1943 </select></td> 2626 <td>".makeinfocell($lang_item_edit['spell_charges']." 4",$lang_item_edit['spell_charges_desc'])."</td> 2627 <td><input type=\"text\" name=\"spellcharges_4\" size=\"8\" maxlength=\"30\" value=\"{$item['spellcharges_4']}\" /></td> 2628 </tr> 2629 <tr> 2630 <td>".makeinfocell($lang_item_edit['spell_cooldown']." 4",$lang_item_edit['spell_cooldown_desc'])."</td> 2631 <td><input type=\"text\" name=\"spellcooldown_4\" size=\"8\" maxlength=\"30\" value=\"{$item['spellcooldown_4']}\" /></td> 2632 2633 <td>".makeinfocell($lang_item_edit['spell_category']." 4",$lang_item_edit['spell_category_desc'])."</td> 2634 <td><input type=\"text\" name=\"spellcategory_4\" size=\"8\" maxlength=\"30\" value=\"{$item['spellcategory_4']}\" /></td> 2635 2636 <td>".makeinfocell($lang_item_edit['spell_category_cooldown']." 4",$lang_item_edit['spell_category_cooldown_desc'])."</td> 2637 <td><input type=\"text\" name=\"spellcategorycooldown_4\" size=\"8\" maxlength=\"30\" value=\"{$item['spellcategorycooldown_4']}\" /></td> 1944 <td>".makeinfocell($lang_item_edit['spell_charges'],$lang_item_edit['spell_charges_desc'])."</td> 1945 <td><input type=\"text\" name=\"spellcharges_4\" size=\"6\" maxlength=\"30\" value=\"{$item['spellcharges_4']}\" /></td> 1946 </tr> 1947 <tr> 1948 <td>".makeinfocell($lang_item_edit['spell_cooldown'],$lang_item_edit['spell_cooldown_desc'])."</td> 1949 <td><input type=\"text\" name=\"spellcooldown_4\" size=\"6\" maxlength=\"30\" value=\"{$item['spellcooldown_4']}\" /></td> 1950 1951 <td>".makeinfocell($lang_item_edit['spell_category'],$lang_item_edit['spell_category_desc'])."</td> 1952 <td><input type=\"text\" name=\"spellcategory_4\" size=\"6\" maxlength=\"30\" value=\"{$item['spellcategory_4']}\" /></td> 1953 1954 <td>".makeinfocell($lang_item_edit['spell_category_cooldown'],$lang_item_edit['spell_category_cooldown_desc'])."</td> 1955 <td><input type=\"text\" name=\"spellcategorycooldown_4\" size=\"6\" maxlength=\"30\" value=\"{$item['spellcategorycooldown_4']}\" /></td> 1956 1957 <td>".makeinfocell($lang_item_edit['ppm_rate'],$lang_item_edit['ppm_rate_desc'])."</td> 1958 <td><input type=\"text\" name=\"spellppmRate_4\" size=\"6\" maxlength=\"30\" value=\"{$item['spellppmRate_4']}\" /></td> 2638 1959 </tr> 2639 1960 <tr><td colspan=\"6\" class=\"hidden\"></td></tr> 2640 1961 <tr> 2641 <td>".makeinfocell($lang_item_edit['spell_id']." 5",$lang_item_edit['spell_id_desc'])."</td> 2642 <td><input type=\"text\" name=\"spellid_5\" size=\"8\" maxlength=\"30\" value=\"{$item['spellid_5']}\" /></td>"; 1962 <td colspan=\"2\">{$lang_item_edit['item_spell']} 5</td> 1963 <td>".makeinfocell($lang_item_edit['spell_id'],$lang_item_edit['spell_id_desc'])."</td> 1964 <td><input type=\"text\" name=\"spellid_5\" size=\"6\" maxlength=\"30\" value=\"{$item['spellid_5']}\" /></td>"; 2643 1965 unset($spelltrigger_4); 2644 1966 … … 2646 1968 $spelltrigger_5 [$item['spelltrigger_5']] = " selected=\"selected\" "; 2647 1969 2648 $output .= "<td>".makeinfocell($lang_item_edit['spell_trigger'] ." 5",$lang_item_edit['spell_trigger_desc'])."</td>1970 $output .= "<td>".makeinfocell($lang_item_edit['spell_trigger'],$lang_item_edit['spell_trigger_desc'])."</td> 2649 1971 <td><select name=\"spelltrigger_5\"> 2650 1972 <option value=\"0\" {$spelltrigger_5[0]}>0: {$lang_item['spell_use']}</option> … … 2653 1975 <option value=\"4\" {$spelltrigger_5[4]}>4: {$lang_item['soul_stone']}</option> 2654 1976 </select></td> 2655 <td>".makeinfocell($lang_item_edit['spell_charges']." 5",$lang_item_edit['spell_charges_desc'])."</td> 2656 <td><input type=\"text\" name=\"spellcharges_5\" size=\"8\" maxlength=\"30\" value=\"{$item['spellcharges_5']}\" /></td> 2657 </tr> 2658 <tr> 2659 <td>".makeinfocell($lang_item_edit['spell_cooldown']." 5",$lang_item_edit['spell_cooldown_desc'])."</td> 2660 <td><input type=\"text\" name=\"spellcooldown_5\" size=\"8\" maxlength=\"30\" value=\"{$item['spellcooldown_5']}\" /></td> 2661 2662 <td>".makeinfocell($lang_item_edit['spell_category']." 5",$lang_item_edit['spell_category_desc'])."</td> 2663 <td><input type=\"text\" name=\"spellcategory_5\" size=\"8\" maxlength=\"30\" value=\"{$item['spellcategory_5']}\" /></td> 2664 2665 <td>".makeinfocell($lang_item_edit['spell_category_cooldown']." 5",$lang_item_edit['spell_category_cooldown_desc'])."</td> 2666 <td><input type=\"text\" name=\"spellcategorycooldown_5\" size=\"8\" maxlength=\"30\" value=\"{$item['spellcategorycooldown_5']}\" /></td> 1977 <td>".makeinfocell($lang_item_edit['spell_charges'],$lang_item_edit['spell_charges_desc'])."</td> 1978 <td><input type=\"text\" name=\"spellcharges_5\" size=\"6\" maxlength=\"30\" value=\"{$item['spellcharges_5']}\" /></td> 1979 </tr> 1980 <tr> 1981 <td>".makeinfocell($lang_item_edit['spell_cooldown'],$lang_item_edit['spell_cooldown_desc'])."</td> 1982 <td><input type=\"text\" name=\"spellcooldown_5\" size=\"6\" maxlength=\"30\" value=\"{$item['spellcooldown_5']}\" /></td> 1983 1984 <td>".makeinfocell($lang_item_edit['spell_category'],$lang_item_edit['spell_category_desc'])."</td> 1985 <td><input type=\"text\" name=\"spellcategory_5\" size=\"6\" maxlength=\"30\" value=\"{$item['spellcategory_5']}\" /></td> 1986 1987 <td>".makeinfocell($lang_item_edit['spell_category_cooldown'],$lang_item_edit['spell_category_cooldown_desc'])."</td> 1988 <td><input type=\"text\" name=\"spellcategorycooldown_5\" size=\"6\" maxlength=\"30\" value=\"{$item['spellcategorycooldown_5']}\" /></td> 1989 1990 <td>".makeinfocell($lang_item_edit['ppm_rate'],$lang_item_edit['ppm_rate_desc'])."</td> 1991 <td><input type=\"text\" name=\"spellppmRate_5\" size=\"6\" maxlength=\"30\" value=\"{$item['spellppmRate_5']}\" /></td> 2667 1992 </tr> 2668 1993 … … 2904 2229 $output .= "</tr></table><br /><br /> 2905 2230 </div>"; 2906 2231 2907 2232 if ($item['DisenchantID']){ 2908 2233 $output .= "<div id=\"pane9\"> … … 2914 2239 $row_flag = 0; 2915 2240 $output .= "<table class=\"hidden\" align=\"center\"><tr>"; 2916 $result1 = $sql->query("SELECT item,ChanceOrRef,QuestChanceOrGroup,mincount,maxcount, quest_freeforallFROM disenchant_loot_template WHERE entry = {$item['DisenchantID']} ORDER BY ChanceOrRef DESC");2241 $result1 = $sql->query("SELECT item,ChanceOrRef,QuestChanceOrGroup,mincount,maxcount,freeforall,lootcondition,condition_value1, condition_value2 FROM disenchant_loot_template WHERE entry = {$item['DisenchantID']} ORDER BY ChanceOrRef DESC"); 2917 2242 while ($item = $sql->fetch_row($result1)){ 2918 2243 $cel_counter++; 2919 $tooltip = get_item_name($item[0])." ($item[0])<br />{$lang_item_edit['drop_chance']}: $item[1]%<br />{$lang_item_edit['quest_drop_chance']}: $item[2]%<br />{$lang_item_edit['drop_chance']}: $item[3]-$item[4]<br />{$lang_item_edit[' quest_freeforall']}: $item[5]";2244 $tooltip = get_item_name($item[0])." ($item[0])<br />{$lang_item_edit['drop_chance']}: $item[1]%<br />{$lang_item_edit['quest_drop_chance']}: $item[2]%<br />{$lang_item_edit['drop_chance']}: $item[3]-$item[4]<br />{$lang_item_edit['freeforall']}: $item[5]<br />{$lang_item_edit['lootcondition']}: $item[6]<br />{$lang_item_edit['condition_value1']}: $item[7]<br />{$lang_item_edit['condition_value2']}: $item[8]"; 2920 2245 $output .= "<td>"; 2921 2246 $output .= maketooltip("<img src=\"".get_icon($item[0])."\" class=\"icon_border\" alt=\"\" />", "$item_datasite$item[0]", $tooltip, "item_tooltip"); … … 2946 2271 <td>".makeinfocell($lang_item_edit['max_count'],$lang_item_edit['max_count_desc'])."</td> 2947 2272 <td><input type=\"text\" name=\"de_maxcount\" size=\"8\" maxlength=\"3\" value=\"1\" /></td> 2948 <td>".makeinfocell($lang_item_edit['quest_loot'],$lang_item_edit['quest_loot_desc'])."</td> 2949 <td><input type=\"text\" name=\"de_quest_freeforall\" size=\"8\" maxlength=\"3\" value=\"1\" /></td> 2273 <td>".makeinfocell($lang_item_edit['freeforall'],$lang_item_edit['freeforall_desc'])."</td> 2274 <td><input type=\"text\" name=\"de_freeforall\" size=\"8\" maxlength=\"3\" value=\"1\" /></td> 2275 </tr> 2276 <tr> 2277 <td>".makeinfocell($lang_item_edit['lootcondition'],$lang_item_edit['lootcondition_desc'])."</td> 2278 <td><input type=\"text\" name=\"de_lootcondition\" size=\"8\" maxlength=\"3\" value=\"0\" /></td> 2279 <td>".makeinfocell($lang_item_edit['condition_value1'],$lang_item_edit['condition_value1_desc'])."</td> 2280 <td><input type=\"text\" name=\"de_condition_value1\" size=\"8\" maxlength=\"3\" value=\"0\" /></td> 2281 <td>".makeinfocell($lang_item_edit['condition_value2'],$lang_item_edit['condition_value2_desc'])."</td> 2282 <td><input type=\"text\" name=\"de_condition_value2\" size=\"8\" maxlength=\"3\" value=\"0\" /></td> 2950 2283 </tr> 2951 2284 </table> … … 3140 2473 else $spellcooldown_1 = -1; 3141 2474 if (isset($_POST['spellcategory_1']) && $_POST['spellcategory_1'] != '') $spellcategory_1 = $sql->quote_smart($_POST['spellcategory_1']); 3142 else $ description= 0;2475 else $spellcategory_1 = 0; 3143 2476 if (isset($_POST['spellcategorycooldown_1']) && $_POST['spellcategorycooldown_1'] != '') $spellcategorycooldown_1 = $sql->quote_smart($_POST['spellcategorycooldown_1']); 3144 2477 else $spellcategorycooldown_1 = -1; 2478 if (isset($_POST['spellppmRate_1']) && $_POST['spellppmRate_1'] != '') $spellppmRate_1 = $sql->quote_smart($_POST['spellppmRate_1']); 2479 else $spellppmRate_1 = 0; 3145 2480 if (isset($_POST['spellid_2']) && $_POST['spellid_2'] != '') $spellid_2 = $sql->quote_smart($_POST['spellid_2']); 3146 2481 else $spellid_2 = 0; … … 3155 2490 if (isset($_POST['spellcategorycooldown_2']) && $_POST['spellcategorycooldown_2'] != '') $spellcategorycooldown_2 = $sql->quote_smart($_POST['spellcategorycooldown_2']); 3156 2491 else $spellcategorycooldown_2 = -1; 2492 if (isset($_POST['spellppmRate_2']) && $_POST['spellppmRate_2'] != '') $spellppmRate_2 = $sql->quote_smart($_POST['spellppmRate_2']); 2493 else $spellppmRate_2 = 0; 3157 2494 if (isset($_POST['spellid_3']) && $_POST['spellid_3'] != '') $spellid_3 = $sql->quote_smart($_POST['spellid_3']); 3158 2495 else $spellid_3 = 0; … … 3167 2504 if (isset($_POST['spellcategorycooldown_3']) && $_POST['spellcategorycooldown_3'] != '') $spellcategorycooldown_3 = $sql->quote_smart($_POST['spellcategorycooldown_3']); 3168 2505 else $spellcategorycooldown_3 = -1; 2506 if (isset($_POST['spellppmRate_3']) && $_POST['spellppmRate_3'] != '') $spellppmRate_3 = $sql->quote_smart($_POST['spellppmRate_3']); 2507 else $spellppmRate_3 = 0; 3169 2508 if (isset($_POST['spellid_4']) && $_POST['spellid_4'] != '') $spellid_4 = $sql->quote_smart($_POST['spellid_4']); 3170 2509 else $spellid_4 = 0; … … 3179 2518 if (isset($_POST['spellcategorycooldown_4']) && $_POST['spellcategorycooldown_4'] != '') $spellcategorycooldown_4 = $sql->quote_smart($_POST['spellcategorycooldown_4']); 3180 2519 else $spellcategorycooldown_4 = -1; 2520 if (isset($_POST['spellppmRate_4']) && $_POST['spellppmRate_4'] != '') $spellppmRate_4 = $sql->quote_smart($_POST['spellppmRate_4']); 2521 else $spellppmRate_4 = 0; 3181 2522 if (isset($_POST['spellid_5']) && $_POST['spellid_5'] != '') $spellid_5 = $sql->quote_smart($_POST['spellid_5']); 3182 2523 else $spellid_5 = 0; … … 3191 2532 if (isset($_POST['spellcategorycooldown_5']) && $_POST['spellcategorycooldown_5'] != '') $spellcategorycooldown_5 = $sql->quote_smart($_POST['spellcategorycooldown_5']); 3192 2533 else $spellcategorycooldown_5 = -1; 2534 if (isset($_POST['spellppmRate_5']) && $_POST['spellppmRate_5'] != '') $spellppmRate_5 = $sql->quote_smart($_POST['spellppmRate_5']); 2535 else $spellppmRate_5 = 0; 3193 2536 if (isset($_POST['bonding']) && $_POST['bonding'] != '') $bonding = $sql->quote_smart($_POST['bonding']); 3194 2537 else $bonding = 0; … … 3264 2607 if (isset($_POST['de_maxcount']) && $_POST['de_maxcount'] != '') $de_maxcount = $sql->quote_smart($_POST['de_maxcount']); 3265 2608 else $de_maxcount = 0; 3266 if (isset($_POST['de_quest_freeforall']) && $_POST['de_quest_freeforall'] != '') $de_quest_freeforall = $sql->quote_smart($_POST['de_quest_freeforall']); 3267 else $de_quest_freeforall = 0; 2609 if (isset($_POST['de_freeforall']) && $_POST['de_freeforall'] != '') $de_freeforall = $sql->quote_smart($_POST['de_freeforall']); 2610 else $de_freeforall = 0; 2611 if (isset($_POST['de_lootcondition']) && $_POST['de_lootcondition'] != '') $de_lootcondition = $sql->quote_smart($_POST['de_lootcondition']); 2612 else $de_lootcondition = 0; 2613 if (isset($_POST['de_condition_value1']) && $_POST['de_condition_value1'] != '') $de_condition_value1 = $sql->quote_smart($_POST['de_condition_value1']); 2614 else $de_condition_value1 = 0; 2615 if (isset($_POST['de_condition_value2']) && $_POST['de_condition_value2'] != '') $de_condition_value2 = $sql->quote_smart($_POST['de_condition_value2']); 2616 else $de_condition_value2 = 0; 3268 2617 if (isset($_POST['de_item']) && $_POST['de_item'] != '') $de_item = $sql->quote_smart($_POST['de_item']); 3269 2618 else $de_item = 0; … … 3314 2663 stat_value1, stat_type2, stat_value2, stat_type3, stat_value3, stat_type4, stat_value4, stat_type5, stat_value5, stat_type6, stat_value6, stat_type7, stat_value7, stat_type8, stat_value8, stat_type9, 3315 2664 stat_value9, stat_type10, stat_value10, dmg_min1, dmg_max1, dmg_type1, dmg_min2, dmg_max2, dmg_type2, dmg_min3, dmg_max3, dmg_type3, dmg_min4, dmg_max4, dmg_type4, dmg_min5, dmg_max5, dmg_type5, armor, 3316 holy_res, fire_res, nature_res, frost_res, shadow_res, arcane_res, delay, ammo_type, RangedModRange, spellid_1, spelltrigger_1, spellcharges_1, spell cooldown_1, spellcategory_1, spellcategorycooldown_1,3317 spellid_2, spelltrigger_2, spellcharges_2, spell cooldown_2, spellcategory_2, spellcategorycooldown_2, spellid_3, spelltrigger_3, spellcharges_3, spellcooldown_3, spellcategory_3, spellcategorycooldown_3,3318 spellid_4, spelltrigger_4, spellcharges_4, spell cooldown_4, spellcategory_4, spellcategorycooldown_4, spellid_5, spelltrigger_5, spellcharges_5, spellcooldown_5, spellcategory_5, spellcategorycooldown_5,2665 holy_res, fire_res, nature_res, frost_res, shadow_res, arcane_res, delay, ammo_type, RangedModRange, spellid_1, spelltrigger_1, spellcharges_1, spellppmRate_1, spellcooldown_1, spellcategory_1, spellcategorycooldown_1, 2666 spellid_2, spelltrigger_2, spellcharges_2, spellppmRate_2, spellcooldown_2, spellcategory_2, spellcategorycooldown_2, spellid_3, spelltrigger_3, spellcharges_3, spellppmRate_3, spellcooldown_3, spellcategory_3, spellcategorycooldown_3, 2667 spellid_4, spelltrigger_4, spellcharges_4, spellppmRate_4, spellcooldown_4, spellcategory_4, spellcategorycooldown_4, spellid_5, spelltrigger_5, spellcharges_5, spellppmRate_5, spellcooldown_5, spellcategory_5, spellcategorycooldown_5, 3319 2668 bonding, description, PageText, LanguageID, PageMaterial, startquest, lockid, Material, sheath, RandomProperty, block, itemset, MaxDurability, area, BagFamily, Map, ScriptName, DisenchantID,RequiredDisenchantSkill, 3320 2669 ArmorDamageModifier,unk0,RandomSuffix,TotemCategory, socketColor_1, socketContent_1, socketColor_2, socketContent_2, socketColor_3, socketContent_3, socketBonus, GemProperties, ExtendedCost) … … 3323 2672 '$stat_value1', '$stat_type2', '$stat_value2', '$stat_type3', '$stat_value3', '$stat_type4', '$stat_value4', '$stat_type5', '$stat_value5', '$stat_type6', '$stat_value6', '$stat_type7', '$stat_value7', '$stat_type8', '$stat_value8', 3324 2673 '$stat_type9', '$stat_value9', '$stat_type10', '$stat_value10', '$dmg_min1', '$dmg_max1', '$dmg_type1', '$dmg_min2', '$dmg_max2', '$dmg_type2', '$dmg_min3', '$dmg_max3', '$dmg_type3', '$dmg_min4', '$dmg_max4', '$dmg_type4', '$dmg_min5', 3325 '$dmg_max5', '$dmg_type5', '$armor', '$holy_res', '$fire_res', '$nature_res', '$frost_res', '$shadow_res', '$arcane_res', '$delay', '$ammo_type', '$RangedModRange', '$spellid_1', '$spelltrigger_1', '$spellcharges_1', '$spell cooldown_1',3326 '$spellcategory_1', '$spellcategorycooldown_1', '$spellid_2', '$spelltrigger_2', '$spellcharges_2', '$spell cooldown_2', '$spellcategory_2', '$spellcategorycooldown_2', '$spellid_3', '$spelltrigger_3', '$spellcharges_3',3327 '$spellcooldown_3', '$spellcategory_3', '$spellcategorycooldown_3', '$spellid_4', '$spelltrigger_4', '$spellcharges_4', '$spell cooldown_4', '$spellcategory_4', '$spellcategorycooldown_4', '$spellid_5', '$spelltrigger_5',3328 '$spellcharges_5', '$spell cooldown_5', '$spellcategory_5', '$spellcategorycooldown_5', '$bonding', '$description', '$PageText', '$LanguageID', '$PageMaterial', '$startquest', '$lockid', '$Material', '$sheath', '$RandomProperty', '$block',2674 '$dmg_max5', '$dmg_type5', '$armor', '$holy_res', '$fire_res', '$nature_res', '$frost_res', '$shadow_res', '$arcane_res', '$delay', '$ammo_type', '$RangedModRange', '$spellid_1', '$spelltrigger_1', '$spellcharges_1', '$spellppmRate_1', '$spellcooldown_1', 2675 '$spellcategory_1', '$spellcategorycooldown_1', '$spellid_2', '$spelltrigger_2', '$spellcharges_2', '$spellppmRate_2', '$spellcooldown_2', '$spellcategory_2', '$spellcategorycooldown_2', '$spellid_3', '$spelltrigger_3', '$spellcharges_3', '$spellppmRate_3', 2676 '$spellcooldown_3', '$spellcategory_3', '$spellcategorycooldown_3', '$spellid_4', '$spelltrigger_4', '$spellcharges_4', '$spellppmRate_4', '$spellcooldown_4', '$spellcategory_4', '$spellcategorycooldown_4', '$spellid_5', '$spelltrigger_5', 2677 '$spellcharges_5', '$spellppmRate_5', '$spellcooldown_5', '$spellcategory_5', '$spellcategorycooldown_5', '$bonding', '$description', '$PageText', '$LanguageID', '$PageMaterial', '$startquest', '$lockid', '$Material', '$sheath', '$RandomProperty', '$block', 3329 2678 '$itemset', '$MaxDurability', '$area', '$BagFamily', '$Map', '$ScriptName', '$DisenchantID', '$RequiredDisenchantSkill','$ArmorDamageModifier','$unk0','$RandomSuffix', '$TotemCategory', '$socketColor_1', '$socketContent_1', '$socketColor_2', 3330 2679 '$socketContent_2', '$socketColor_3', '$socketContent_3', '$socketBonus', '$GemProperties', '$ExtendedCost')"; … … 3409 2758 if ($item_templ['spelltrigger_1'] != $spelltrigger_1) $sql_query .= "spelltrigger_1='$spelltrigger_1',"; 3410 2759 if ($item_templ['spellcharges_1'] != $spellcharges_1) $sql_query .= "spellcharges_1='$spellcharges_1',"; 2760 if ($item_templ['spellppmRate_1'] != $spellppmRate_1) $sql_query .= "spellppmRate_1='$spellppmRate_1',"; 3411 2761 if ($item_templ['spellcooldown_1'] != $spellcooldown_1) $sql_query .= "spellcooldown_1='$spellcooldown_1',"; 3412 2762 if ($item_templ['spellcategory_1'] != $spellcategory_1) $sql_query .= "spellcategory_1='$spellcategory_1',"; … … 3415 2765 if ($item_templ['spelltrigger_2'] != $spelltrigger_2) $sql_query .= "spelltrigger_2='$spelltrigger_2',"; 3416 2766 if ($item_templ['spellcharges_2'] != $spellcharges_2) $sql_query .= "spellcharges_2='$spellcharges_2',"; 2767 if ($item_templ['spellppmRate_2'] != $spellppmRate_2) $sql_query .= "spellppmRate_2='$spellppmRate_2',"; 3417 2768 if ($item_templ['spellcooldown_2'] != $spellcooldown_2) $sql_query .= "spellcooldown_2='$spellcooldown_2',"; 3418 2769 if ($item_templ['spellcategory_2'] != $spellcategory_2) $sql_query .= "spellcategory_2='$spellcategory_2',"; … … 3421 2772 if ($item_templ['spelltrigger_3'] != $spelltrigger_3) $sql_query .= "spelltrigger_3='$spelltrigger_3',"; 3422 2773 if ($item_templ['spellcharges_3'] != $spellcharges_3) $sql_query .= "spellcharges_3='$spellcharges_3',"; 2774 if ($item_templ['spellppmRate_3'] != $spellppmRate_3) $sql_query .= "spellppmRate_3='$spellppmRate_3',"; 3423 2775 if ($item_templ['spellcooldown_3'] != $spellcooldown_3) $sql_query .= "spellcooldown_3='$spellcooldown_3',"; 3424 2776 if ($item_templ['spellcategory_3'] != $spellcategory_3) $sql_query .= "spellcategory_3='$spellcategory_3',"; 3425 2777 if ($item_templ['spellcategorycooldown_3'] != $spellcategorycooldown_3) $sql_query .= "spellcategorycooldown_3='$spellcategorycooldown_3',"; 3426 if ($item_templ['spellid_4'] != $spellid_4) $sql .= "spellid_4='$spellid_4',";2778 if ($item_templ['spellid_4'] != $spellid_4) $sql_query .= "spellid_4='$spellid_4',"; 3427 2779 if ($item_templ['spelltrigger_4'] != $spelltrigger_4) $sql_query .= "spelltrigger_4='$spelltrigger_4',"; 3428 2780 if ($item_templ['spellcharges_4'] != $spellcharges_4) $sql_query .= "spellcharges_4='$spellcharges_4',"; 2781 if ($item_templ['spellppmRate_4'] != $spellppmRate_4) $sql_query .= "spellppmRate_4='$spellppmRate_4',"; 3429 2782 if ($item_templ['spellcooldown_4'] != $spellcooldown_4) $sql_query .= "spellcooldown_4='$spellcooldown_4',"; 3430 2783 if ($item_templ['spellcategory_4'] != $spellcategory_4) $sql_query .= "spellcategory_4='$spellcategory_4',"; … … 3433 2786 if ($item_templ['spelltrigger_5'] != $spelltrigger_5) $sql_query .= "spelltrigger_5='$spelltrigger_5',"; 3434 2787 if ($item_templ['spellcharges_5'] != $spellcharges_5) $sql_query .= "spellcharges_5='$spellcharges_5',"; 2788 if ($item_templ['spellppmRate_5'] != $spellppmRate_5) $sql_query .= "spellppmRate_5='$spellppmRate_5',"; 3435 2789 if ($item_templ['spellcooldown_5'] != $spellcooldown_5) $sql_query .= "spellcooldown_5='$spellcooldown_5',"; 3436 2790 if ($item_templ['spellcategory_5'] != $spellcategory_5) $sql_query .= "spellcategory_5='$spellcategory_5',"; … … 3483 2837 3484 2838 if ($de_item){ 3485 $sql_query .= "INSERT INTO disenchant_loot_template (entry, item, ChanceOrRef, QuestChanceOrGroup, mincount, maxcount, quest_freeforall)3486 VALUES ($DisenchantID,$de_item,'$de_ChanceOrRef', '$de_QuestChanceOrGroup' ,$de_mincount ,$de_maxcount ,$de_ quest_freeforall);\n";2839 $sql_query .= "INSERT INTO disenchant_loot_template (entry, item, ChanceOrRef, QuestChanceOrGroup, mincount, maxcount, freeforall, lootcondition, condition_value1, condition_value2) 2840 VALUES ($DisenchantID,$de_item,'$de_ChanceOrRef', '$de_QuestChanceOrGroup' ,$de_mincount ,$de_maxcount ,$de_freeforall ,$de_lootcondition ,$de_condition_value1 ,$de_condition_value2);\n"; 3487 2841 } 3488 2842
Note:
See TracChangeset
for help on using the changeset viewer.