static public int STATE_INTERVAL = 10000; // 10secondes static public GameData.InteractType GenerateInteractType(UInt16 Title) { GameData.InteractType Type = GameData.InteractType.INTERACTTYPE_IDLE_CHAT; switch (Title) { case 1: goto case 40; case 2: goto case 40; case 3: goto case 40; case 40: Type = GameData.InteractType.INTERACTTYPE_TRAINER; break; case 18: goto case 131; case 131: Type = GameData.InteractType.INTERACTTYPE_FLIGHT_MASTER; break; case 10: goto case 135; case 11: goto case 135; case 12: goto case 135; case 13: goto case 135; case 14: goto case 135; case 15: goto case 135; case 16: goto case 135; case 31: goto case 135; case 34: goto case 135; case 115: goto case 135; case 116: goto case 135; case 117: goto case 135; case 118: goto case 135; case 119: goto case 135; case 120: goto case 135; case 121: goto case 135; case 122: goto case 135; case 125: goto case 135; case 126: goto case 135; case 127: goto case 135; case 128: goto case 135; case 129: goto case 135; case 130: goto case 135; case 135: Type = GameData.InteractType.INTERACTTYPE_DYEMERCHANT; break; } ; return(Type); }
static public int STATE_INTERVAL = 10000; // 10seconds static public GameData.InteractType GenerateInteractType(UInt16 Title) { GameData.InteractType Type = GameData.InteractType.INTERACTTYPE_IDLE_CHAT; switch (Title) { //////// TRAINERS////////// case 1: goto case 40; // 1 = Trainer case 2: goto case 40; // 2 = Career Trainer case 3: goto case 40; // 3 Renown Trainer case 40: // 40 = Apprentice Renown Trainer Type = GameData.InteractType.INTERACTTYPE_TRAINER; break; ///////// FLIGHT ZONE TAXIS//////// case 18: goto case 131; // 18 = Flight Master case 131: // 131 = Expedition Quartermaster Type = GameData.InteractType.INTERACTTYPE_FLIGHT_MASTER; break; ///////MERCHANTS ////////// case 10: goto case 135; // 10 = Merchant case 11: goto case 135; // 11 = Armor Merchant case 12: goto case 135; // 12 = Weapon Merchant case 13: goto case 135; // 13 = Camp Merchant case 14: goto case 135; // 14 = Siege Weapon Merchant case 15: goto case 135; // 15 = Craft Supply Merchant case 16: goto case 135; // 16 = Renown Gear Merchant // 135 = Talisman Merchant case 17: // 17 = Rally Master //Type = GameData.InteractType.INTERACTTYPE_INFLUENCE;// missing buy selection on invertery boxs 6 gold /8/9/11/13 Type = GameData.InteractType.INTERACTTYPE_BINDER; //INTERACTTYPE_BINDER;? missing buy selection on invertery boxs 6 gold /8/9/11/13 break; case 22: // 22 = Banker Type = GameData.InteractType.INTERACTTYPE_BANKER; break; case 23: // 23 = Auctioneer Type = GameData.InteractType.INTERACTTYPE_AUCTIONEER; //need to fix add items to auctioneer and selling items break; case 37: // 37 = Vault Keeper Type = GameData.InteractType.INTERACTTYPE_GUILD_VAULT; break; case 19: // 19 = Guild Registrar Type = GameData.InteractType.INTERACTTYPE_GUILD_REGISTRAR; // need to add cost to code break; case 400: // SIEGEWEAP ADDED BUT PROBLY WRONG Type = GameData.InteractType.INTERACTTYPE_SIEGEWEAP; break; case 20: // 20 = Healer Type = GameData.InteractType.INTERACTTYPE_HEALER; //need to check if it heals break; case 160: // 160 = Barber Surgeon Type = GameData.InteractType.INTERACTTYPE_BARBERSHOP; // need to fix the checkout break; case 165: // 165 = Fortress General Type = GameData.InteractType.INTERACTTYPE_FORTRESS; // dont know which npc break; // do we need to change title 135 to 150 ? case 31: goto case 135; // 31 = Mount Vendor case 34: goto case 135; // 34 = Quartermaster case 115: goto case 135; // 115 = Tome Trophy Librarian case 116: goto case 135; // 116 = Basic Renown Gear Merchant case 117: goto case 135; // 117 = Veteran Renown Gear Merchant case 118: goto case 135; // 118 = Advanced Renown Gear Merchant case 119: goto case 135; // 119 = Elite Renown Gear Merchant case 120: goto case 135; // 120 = Upgrade Merchant case 121: goto case 135; // 121 = Door Repair Merchant case 122: goto case 135; // 122 = Standard Merchant case 125: goto case 135; // 125 = Siege Quartermaster case 126: goto case 135; // 126 = Recruit's Medallion Quartermaster case 127: goto case 135; // 127 = Scout's Medallion Quartermaster case 128: goto case 135; // 128 = Soldier's Medallion Quartermaster case 129: goto case 135; // 129 = Officer's Medallion Quartermaster case 130: goto case 135; // 130 = Royal Quartermaster case 139: goto case 135; // 139 = Recruit's Emblem Quartermaster case 148: goto case 135; // 148 = Greater Talisman Merchant case 149: goto case 135; // 149 = Superior Talisman Merchant case 150: goto case 135; // 150 = Potent Talisman Merchant case 152: goto case 135; // 152 = Light Mount Vendor case 153: goto case 135; // 153 = Heavy Mount Vendor case 154: goto case 135; // 154 = Specialty Mount Wrangler case 155: goto case 135; // 155 = Renown Armor Quartermaster case 135: // 135 = Talisman Merchant Type = GameData.InteractType.INTERACTTYPE_DYEMERCHANT; break; case 144: goto case 40; // 144 = Apprentice Career Trainer // 40 = Apprentice renown trainer case 157: goto case 135; // 157 = Companion Keeper// 135 = Talisman Merchant case 158: goto case 135; // 158 = Novelty Vendor case 168: goto case 135; //added claud specal vendor case 167: goto case 135; // added Emblem Exchange/Medallion Exchange vendors case 151: goto case 135; // 151 = Specialized Armorsmith case 156: goto case 135; // 156 = Renown Weapon Quartermaster } ; return(Type); }