⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 l1merchantinstance.java

📁 网络游戏天堂1的java源代码。。。。。
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
					htmlid = "gerarde1";
				} else if (player.isWizard()) { // ウィザード
					htmlid = "gerardw1";
				} else if (player.isDarkelf()) { // ダークエルフ
					htmlid = "gerardde1";
				}
			} else if (npcid == 70555) { // ジム
				if (player.getTempCharGfx() == 2374) { // スケルトン変身
					if (player.isKnight()) { // ナイト
						if (quest.get_step(L1Quest.QUEST_LEVEL30) == 6) { // 復活のポーション同意済み
							htmlid = "jim2";
						} else {
							htmlid = "jim4";
						}
					} else { // ナイト以外
						htmlid = "jim4";
					}
				}
			} else if (npcid == 70715) { // ジーム
				if (player.isKnight()) { // ナイト
					int lv45_step = quest.get_step(L1Quest.QUEST_LEVEL45);
					if (lv45_step == 1) { // マシャー同意済み
						htmlid = "jimuk1";
					} else if (lv45_step >= 2) { // ジーム同意済み
						htmlid = "jimuk2";
					}
				}
			} else if (npcid == 70711) { // ジャイアント エルダー
				if (player.isKnight()) { // ナイト
					int lv45_step = quest.get_step(L1Quest.QUEST_LEVEL45);
					if (lv45_step == 2) { // ジーム同意済み
						if (player.getInventory().checkItem(20026)) { // ナイトビジョン
							htmlid = "giantk1";
						}
					} else if (lv45_step == 3) { // ジャイアントエルダー同意済み
						htmlid = "giantk2";
					} else if (lv45_step >= 4) { // 古代のキー:上半分
						htmlid = "giantk3";
					}
				}
			} else if (npcid == 70826) { // オス
				if (player.isElf()) { // エルフ
					if (player.getLevel() >= 15) {
						if (quest.isEnd(L1Quest.QUEST_LEVEL15)) {
							htmlid = "oth5";
						} else {
							htmlid = "oth1";
						}
					} else { // レベル15未満
						htmlid = "oth6";
					}
				}
			} else if (npcid == 70844) { // 森とエルフの母
				if (player.isElf()) { // エルフ
					if (player.getLevel() >= 30) {
						if (quest.isEnd(L1Quest.QUEST_LEVEL15)) { // Lv15終了済み
							int lv30_step = quest
									.get_step(L1Quest.QUEST_LEVEL30);
							if (lv30_step == L1Quest.QUEST_END) { // 終了済み
								htmlid = "motherEE3";
							} else if (lv30_step >= 1) { // 同意済み
								htmlid = "motherEE2";
							} else if (lv30_step <= 0) { // 未同意
								htmlid = "motherEE1";
							}
						} else { // Lv15未終了
							htmlid = "mothere1";
						}
					} else { // Lv30未満
						htmlid = "mothere1";
					}
				}
			} else if (npcid == 70724) { // ヘイト
				if (player.isElf()) { // エルフ
					int lv45_step = quest.get_step(L1Quest.QUEST_LEVEL45);
					if (lv45_step >= 4) { // ヘイト終了済み
						htmlid = "heit5";
					} else if (lv45_step >= 3) { // フルート交換済み
						htmlid = "heit3";
					} else if (lv45_step >= 2) { // ヘイト同意済み
						htmlid = "heit2";
					} else if (lv45_step >= 1) { // マシャー同意済み
						htmlid = "heit1";
					}
				}
			} else if (npcid == 70531) { // ゼム
				if (player.isWizard()) { // ウィザード
					if (player.getLevel() >= 15) {
						if (quest.isEnd(L1Quest.QUEST_LEVEL15)) { // 終了済み
							htmlid = "jem6";
						} else {
							htmlid = "jem1";
						}
					}
				}
			} else if (npcid == 70009) { // ゲレン
				if (player.isCrown()) { // 君主
					htmlid = "gerengp1";
				} else if (player.isKnight()) { // ナイト
					htmlid = "gerengk1";
				} else if (player.isElf()) { // エルフ
					htmlid = "gerenge1";
				} else if (player.isWizard()) { // ウィザード
					if (player.getLevel() >= 30) {
						if (quest.isEnd(L1Quest.QUEST_LEVEL15)) {
							int lv30_step = quest
									.get_step(L1Quest.QUEST_LEVEL30);
							if (lv30_step >= 4) { // ゲレン終了済み
								htmlid = "gerengw3";
							} else if (lv30_step >= 3) { // 要求済み
								htmlid = "gerengT4";
							} else if (lv30_step >= 2) { // アンデッドの骨交換済み
								htmlid = "gerengT3";
							} else if (lv30_step >= 1) { // 同意済み
								htmlid = "gerengT2";
							} else { // 未同意
								htmlid = "gerengT1";
							}
						} else { // Lv15クエスト未終了
							htmlid = "gerengw3";
						}
					} else { // Lv30未満
						htmlid = "gerengw3";
					}
				} else if (player.isDarkelf()) { // ダークエルフ
					htmlid = "gerengde1";
				}
			} else if (npcid == 70763) { // タラス
				if (player.isWizard()) { // ウィザード
					int lv30_step = quest.get_step(L1Quest.QUEST_LEVEL30);
					if (lv30_step == L1Quest.QUEST_END) {
						if (player.getLevel() >= 45) {
							int lv45_step = quest
									.get_step(L1Quest.QUEST_LEVEL45);
							if (lv45_step >= 1
									&& lv45_step != L1Quest.QUEST_END) { // 同意済み
								htmlid = "talassmq2";
							} else if (lv45_step <= 0) { // 未同意
								htmlid = "talassmq1";
							}
						}
					} else if (lv30_step == 4) {
						htmlid = "talassE1";
					} else if (lv30_step == 5) {
						htmlid = "talassE2";
					}
				}
			} else if (npcid == 81105) { // 神秘の岩
				if (player.isWizard()) { // ウィザード
					int lv45_step = quest.get_step(L1Quest.QUEST_LEVEL45);
					if (lv45_step >= 3) { // 神秘の岩終了済み
						htmlid = "stoenm3";
					} else if (lv45_step >= 2) { // 神秘の岩 同意済み
						htmlid = "stoenm2";
					} else if (lv45_step >= 1) { // タラス 同意済み
						htmlid = "stoenm1";
					}
				}
			} else if (npcid == 70739) { // ディガルディン
				if (player.getLevel() >= 50) {
					int lv50_step = quest.get_step(L1Quest.QUEST_LEVEL50);
					if (lv50_step == L1Quest.QUEST_END) {
						if (player.isCrown()) { // 君主
							htmlid = "dicardingp3";
						} else if (player.isKnight()) { // ナイト
							htmlid = "dicardingk3";
						} else if (player.isElf()) { // エルフ
							htmlid = "dicardinge3";
						} else if (player.isWizard()) { // ウィザード
							htmlid = "dicardingw3";
						} else if (player.isDarkelf()) { // ダークエルフ
							htmlid = "dicarding";
						}
					} else if (lv50_step >= 1) { // ディガルディン 同意済み
						if (player.isCrown()) { // 君主
							htmlid = "dicardingp2";
						} else if (player.isKnight()) { // ナイト
							htmlid = "dicardingk2";
						} else if (player.isElf()) { // エルフ
							htmlid = "dicardinge2";
						} else if (player.isWizard()) { // ウィザード
							htmlid = "dicardingw2";
						} else if (player.isDarkelf()) { // ダークエルフ
							htmlid = "dicarding";
						}
					} else if (lv50_step >= 0) {
						if (player.isCrown()) { // 君主
							htmlid = "dicardingp1";
						} else if (player.isKnight()) { // ナイト
							htmlid = "dicardingk1";
						} else if (player.isElf()) { // エルフ
							htmlid = "dicardinge1";
						} else if (player.isWizard()) { // ウィザード
							htmlid = "dicardingw1";
						} else if (player.isDarkelf()) { // ダークエルフ
							htmlid = "dicarding";
						}
					} else {
						htmlid = "dicarding";
					}
				} else { // Lv50未満
					htmlid = "dicarding";
				}
			} else if (npcid == 70885) { // カーン
				if (player.isDarkelf()) { // ダークエルフ
					if (player.getLevel() >= 15) {
						int lv15_step = quest.get_step(L1Quest.QUEST_LEVEL15);
						if (lv15_step == L1Quest.QUEST_END) { // 終了済み
							htmlid = "kanguard3";
						} else if (lv15_step >= 1) { // 同意済み
							htmlid = "kanguard2";
						} else { // 未同意
							htmlid = "kanguard1";
						}
					} else { // Lv15未満
						htmlid = "kanguard5";
					}
				}
			} else if (npcid == 70892) { // ロンドゥ
				if (player.isDarkelf()) { // ダークエルフ
					if (player.getLevel() >= 30) {
						if (quest.isEnd(L1Quest.QUEST_LEVEL15)) {
							int lv30_step = quest
									.get_step(L1Quest.QUEST_LEVEL30);
							if (lv30_step == L1Quest.QUEST_END) { // 終了済み
								htmlid = "ronde5";
							} else if (lv30_step >= 2) { // 名簿交換済み
								htmlid = "ronde3";
							} else if (lv30_step >= 1) { // 同意済み
								htmlid = "ronde2";
							} else { // 未同意
								htmlid = "ronde1";
							}
						} else { // Lv15クエスト未終了
							htmlid = "ronde7";
						}
					} else { // Lv30未満
						htmlid = "ronde7";
					}
				}
			} else if (npcid == 70895) { // ブルディカ
				if (player.isDarkelf()) { // ダークエルフ
					if (player.getLevel() >= 45) {
						if (quest.isEnd(L1Quest.QUEST_LEVEL30)) {
							int lv45_step = quest
									.get_step(L1Quest.QUEST_LEVEL45);
							if (lv45_step == L1Quest.QUEST_END) { // 終了済み
								if (player.getLevel() < 50) { // Lv50未満
									htmlid = "bluedikaq3";
								} else {
									int lv50_step = quest
											.get_step(L1Quest.QUEST_LEVEL50);
									if (lv50_step == L1Quest.QUEST_END) { // 終了済み
										htmlid = "bluedikaq8";
									} else {
										htmlid = "bluedikaq6";
									}
								}
							} else if (lv45_step >= 1) { // 同意済み
								htmlid = "bluedikaq2";
							} else { // 未同意
								htmlid = "bluedikaq1";
							}
						} else { // Lv30クエスト未終了
							htmlid = "bluedikaq5";
						}
					} else { // Lv45未満
						htmlid = "bluedikaq5";
					}
				}
			} else if (npcid == 70904) { // クプ
				if (player.isDarkelf()) {
					if (quest.get_step(L1Quest.QUEST_LEVEL45) == 1) { // ブルディカ同意済み
						htmlid = "koup12";
					}
				}
			} else if (npcid == 70824) { // アサシンマスターの追従者
				if (player.isDarkelf()) {
					if (player.getTempCharGfx() == 3634) { // アサシン変身
						int lv45_step = quest.get_step(L1Quest.QUEST_LEVEL45);
						if (lv45_step == 1) {
							htmlid = "assassin1";
						} else if (lv45_step == 2) {
							htmlid = "assassin2";
						} else {
							htmlid = "assassin3";
						}
					} else { // ダークエルフ以外
						htmlid = "assassin3";
					}
				}
			} else if (npcid == 70744) { // ロジェ
				if (player.isDarkelf()) { // ダークエルフ
					int lv45_step = quest.get_step(L1Quest.QUEST_LEVEL45);
					if (lv45_step >= 5) { // ロジェ2回目同意済み
						htmlid = "roje14";
					} else if (lv45_step >= 4) { // イエティの頭部 交換済み
						htmlid = "roje13";
					} else if (lv45_step >= 3) { // ロジェ 同意済み
						htmlid = "roje12";
					} else if (lv45_step >= 2) { // アサシンマスターの追従者 同意済み
						htmlid = "roje11";
					} else { // アサシンマスターの追従者 未同意
						htmlid = "roje15";
					}
				}
			} else if (npcid == 70811) { // ライラ
				if (quest.get_step(L1Quest.QUEST_LYRA) >= 1) { // 契約済み
					htmlid = "lyraEv3";
				} else { // 未契約
					htmlid = "lyraEv1";
				}
			} else if (npcid == 70087) { // セディア
				if (player.isDarkelf()) {
					htmlid = "sedia";
				}
			} else if (npcid == 70099) { // クーパー
				if (!quest.isEnd(L1Quest.QUEST_OILSKINMANT)) {
					if (player.getLevel() > 13) {
						htmlid = "kuper1";
					}
				}
			} else if (npcid == 70796) { // ダンハム
				if (!quest.isEnd(L1Quest.QUEST_OILSKINMANT)) {
					if (player.getLevel() > 13) {
						htmlid = "dunham1";
					}
				}
			} else if (npcid == 70011) { // 話せる島の船着き管理人
				int time = L1GameTimeClock.getInstance().currentTime()
						.getSeconds() % 86400;
				if (time < 60 * 60 * 6 || time > 60 * 60 * 20) { // 20:00~6:00
					htmlid = "shipEvI6";
				}
			} else if (npcid == 70553) { // ケント城 侍従長 イスマエル
				boolean hascastle = checkHasCastle(player,
						L1CastleLocation.KENT_CASTLE_ID);
				if (hascastle) { // 城主クラン員
					if (checkClanLeader(player)) { // 血盟主
						htmlid = "ishmael1";
					} else {
						htmlid = "ishmael6";
						htmldata = new String[] { player.getName() };
					}
				} else {
					htmlid = "ishmael7";
				}
			} else if (npcid == 70822) { // オークの森 セゲム アトゥバ
				boolean hascastle = checkHasCastle(player,
						L1CastleLocation.OT_CASTLE_ID);
				if (hascastle) { // 城主クラン員
					if (checkClanLeader(player)) { // 血盟主
						htmlid = "seghem1";
					} else {
						htmlid = "seghem6";
						htmldata = new String[] { player.getName() };
					}
				} else {
					htmlid = "seghem7";
				}
			} else if (npcid == 70784) { // ウィンダウッド城 侍従長 オスモンド
				boolean hascastle = checkHasCastle(player,
						L1CastleLocation.WW_CASTLE_ID);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -