📄 l1merchantinstance.java
字号:
if (player.getLevel() < 12) {
htmlid = "jpe0114";
} else if (player.getLevel() >= 12 && player.getLevel() < 25) {
if (player.getInventory().checkItem(41239)) { // ヴィートへの手紙
htmlid = "jpe0113";
} else {
htmlid = "jpe0111";
}
}
} else if (npcid == 71018) { // フェーダ
if (player.getLevel() < 12) {
htmlid = "jpe0133";
} else if (player.getLevel() >= 12 && player.getLevel() < 25) {
if (player.getInventory().checkItem(41240)) { // フェーダへの手紙
htmlid = "jpe0132";
} else {
htmlid = "jpe0131";
}
}
} else if (npcid == 71025) { // ケスキン
if (player.getLevel() < 10) {
htmlid = "jpe0086";
} else if (player.getLevel() >= 10 && player.getLevel() < 25) {
if (player.getInventory().checkItem(41226)) { // パゴの薬
htmlid = "jpe0084";
} else if (player.getInventory().checkItem(41225)) { // ケスキンの発注書
htmlid = "jpe0083";
} else if (player.getInventory().checkItem(40653)
|| player.getInventory().checkItem(40613)) { // 赤い鍵・黒い鍵
htmlid = "jpe0081";
}
}
} else if (npcid == 70512) { // 治療師(歌う島 村の中)
if (player.getLevel() >= 25) {
htmlid = "jpe0102";
}
} else if (npcid == 70514) { // ヘイスト師
if (player.getLevel() >= 25) {
htmlid = "jpe0092";
}
} else if (npcid == 71038) { // 長老 ノナメ
if (player.getInventory().checkItem(41060)) { // ノナメの推薦書
if (player.getInventory().checkItem(41090) // ネルガのトーテム
|| player.getInventory().checkItem(41091) // ドゥダ-マラのトーテム
|| player.getInventory().checkItem(41092)) { // アトゥバのトーテム
htmlid = "orcfnoname7";
} else {
htmlid = "orcfnoname8";
}
} else {
htmlid = "orcfnoname1";
}
} else if (npcid == 71040) { // 調査団長 アトゥバ ノア
if (player.getInventory().checkItem(41060)) { // ノナメの推薦書
if (player.getInventory().checkItem(41065)) { // 調査団の証書
if (player.getInventory().checkItem(41086) // スピリッドの根
|| player.getInventory().checkItem(41087) // スピリッドの表皮
|| player.getInventory().checkItem(41088) // スピリッドの葉
|| player.getInventory().checkItem(41089)) { // スピリッドの木の枝
htmlid = "orcfnoa6";
} else {
htmlid = "orcfnoa5";
}
} else {
htmlid = "orcfnoa2";
}
} else {
htmlid = "orcfnoa1";
}
} else if (npcid == 71041) { // ネルガ フウモ
if (player.getInventory().checkItem(41060)) { // ノナメの推薦書
if (player.getInventory().checkItem(41064)) { // 調査団の証書
if (player.getInventory().checkItem(41081) // オークのバッジ
|| player.getInventory().checkItem(41082) // オークのアミュレット
|| player.getInventory().checkItem(41083) // シャーマンパウダー
|| player.getInventory().checkItem(41084) // イリュージョンパウダー
|| player.getInventory().checkItem(41085)) { // 予言者のパール
htmlid = "orcfhuwoomo2";
} else {
htmlid = "orcfhuwoomo8";
}
} else {
htmlid = "orcfhuwoomo1";
}
} else {
htmlid = "orcfhuwoomo5";
}
} else if (npcid == 71042) { // ネルガ バクモ
if (player.getInventory().checkItem(41060)) { // ノナメの推薦書
if (player.getInventory().checkItem(41062)) { // 調査団の証書
if (player.getInventory().checkItem(41071) // 銀のお盆
|| player.getInventory().checkItem(41072) // 銀の燭台
|| player.getInventory().checkItem(41073) // バンディッドの鍵
|| player.getInventory().checkItem(41074) // バンディッドの袋
|| player.getInventory().checkItem(41075)) { // 汚れた髪の毛
htmlid = "orcfbakumo2";
} else {
htmlid = "orcfbakumo8";
}
} else {
htmlid = "orcfbakumo1";
}
} else {
htmlid = "orcfbakumo5";
}
} else if (npcid == 71043) { // ドゥダ-マラ ブカ
if (player.getInventory().checkItem(41060)) { // ノナメの推薦書
if (player.getInventory().checkItem(41063)) { // 調査団の証書
if (player.getInventory().checkItem(41076) // 汚れた地のコア
|| player.getInventory().checkItem(41077) // 汚れた水のコア
|| player.getInventory().checkItem(41078) // 汚れた火のコア
|| player.getInventory().checkItem(41079) // 汚れた風のコア
|| player.getInventory().checkItem(41080)) { // 汚れた精霊のコア
htmlid = "orcfbuka2";
} else {
htmlid = "orcfbuka8";
}
} else {
htmlid = "orcfbuka1";
}
} else {
htmlid = "orcfbuka5";
}
} else if (npcid == 71044) { // ドゥダ-マラ カメ
if (player.getInventory().checkItem(41060)) { // ノナメの推薦書
if (player.getInventory().checkItem(41061)) { // 調査団の証書
if (player.getInventory().checkItem(41066) // 汚れた根
|| player.getInventory().checkItem(41067) // 汚れた枝
|| player.getInventory().checkItem(41068) // 汚れた抜け殻
|| player.getInventory().checkItem(41069) // 汚れたタテガミ
|| player.getInventory().checkItem(41070)) { // 汚れた妖精の羽
htmlid = "orcfkame2";
} else {
htmlid = "orcfkame8";
}
} else {
htmlid = "orcfkame1";
}
} else {
htmlid = "orcfkame5";
}
} else if (npcid == 71055) { // ルケイン(海賊島の秘密)
if (player.getQuest().get_step(L1Quest.QUEST_RESTA)
== 3) {
htmlid = "lukein13";
} else if (player.getQuest().get_step(L1Quest.QUEST_LUKEIN1)
== L1Quest.QUEST_END
&& player.getQuest().get_step(L1Quest.QUEST_RESTA)
== 2
&& player.getInventory().checkItem(40631)) {
htmlid = "lukein10";
} else if (player.getQuest().get_step(L1Quest.QUEST_LUKEIN1)
== L1Quest.QUEST_END) {
htmlid = "lukein0";
} else if (player.getQuest().get_step(L1Quest.QUEST_LUKEIN1)
== 11) {
if (player.getInventory().checkItem(40716)) {
htmlid = "lukein9";
}
} else if (player.getQuest().get_step(L1Quest.QUEST_LUKEIN1)
>= 1
&& player.getQuest().get_step(L1Quest.QUEST_LUKEIN1)
<= 10) {
htmlid = "lukein8";
}
} else if (npcid == 71063) { // 小さな箱-1番目(海賊島の秘密)
if (player.getQuest().get_step(L1Quest.QUEST_TBOX1)
== L1Quest.QUEST_END) {
} else if (player.getQuest().get_step(L1Quest.QUEST_LUKEIN1)
== 1) {
htmlid = "maptbox";
}
} else if (npcid == 71064) { // 小さな箱-2番目-b地点(海賊島の秘密)
if (player.getQuest().get_step(L1Quest.QUEST_LUKEIN1) == 2) {
htmlid = talkToSecondtbox(player);
}
} else if (npcid == 71065) { // 小さな箱-2番目-c地点(海賊島の秘密)
if (player.getQuest().get_step(L1Quest.QUEST_LUKEIN1) == 3) {
htmlid = talkToSecondtbox(player);
}
} else if (npcid == 71066) { // 小さな箱-2番目-d地点(海賊島の秘密)
if (player.getQuest().get_step(L1Quest.QUEST_LUKEIN1) == 4) {
htmlid = talkToSecondtbox(player);
}
} else if (npcid == 71067) { // 小さな箱-3番目-e地点(海賊島の秘密)
if (player.getQuest().get_step(L1Quest.QUEST_LUKEIN1) == 5) {
htmlid = talkToThirdtbox(player);
}
} else if (npcid == 71068) { // 小さな箱-3番目-f地点(海賊島の秘密)
if (player.getQuest().get_step(L1Quest.QUEST_LUKEIN1) == 6) {
htmlid = talkToThirdtbox(player);
}
} else if (npcid == 71069) { // 小さな箱-3番目-g地点(海賊島の秘密)
if (player.getQuest().get_step(L1Quest.QUEST_LUKEIN1) == 7) {
htmlid = talkToThirdtbox(player);
}
} else if (npcid == 71070) { // 小さな箱-3番目-h地点(海賊島の秘密)
if (player.getQuest().get_step(L1Quest.QUEST_LUKEIN1) == 8) {
htmlid = talkToThirdtbox(player);
}
} else if (npcid == 71071) { // 小さな箱-3番目-i地点(海賊島の秘密)
if (player.getQuest().get_step(L1Quest.QUEST_LUKEIN1) == 9) {
htmlid = talkToThirdtbox(player);
}
} else if (npcid == 71072) { // 小さな箱-3番目-j地点(海賊島の秘密)
if (player.getQuest().get_step(L1Quest.QUEST_LUKEIN1) == 10) {
htmlid = talkToThirdtbox(player);
}
} else if (npcid == 71056) { // シミズ(消えた息子)
if (player.getQuest().get_step(L1Quest.QUEST_RESTA)
== 4) {
if (player.getInventory().checkItem(40631)) {
htmlid = "SIMIZZ11";
} else {
htmlid = "SIMIZZ0";
}
} else if (player.getQuest().get_step(L1Quest.QUEST_SIMIZZ)
== 2) {
htmlid = "SIMIZZ0";
} else if (player.getQuest().get_step(L1Quest.QUEST_SIMIZZ)
== L1Quest.QUEST_END) {
htmlid = "SIMIZZ15";
} else if (player.getQuest().get_step(L1Quest.QUEST_SIMIZZ)
== 1) {
htmlid = "SIMIZZ6";
}
} else if (npcid == 71057) { // ドイル(宝の地図1)
if (player.getQuest().get_step(L1Quest.QUEST_DOIL)
== L1Quest.QUEST_END) {
htmlid = "doil4b";
}
} else if (npcid == 71059) { // ルディアン(宝の地図2)
if (player.getQuest().get_step(L1Quest.QUEST_RUDIAN)
== L1Quest.QUEST_END) {
htmlid = "rudian1c";
} else if (player.getQuest().get_step(L1Quest.QUEST_RUDIAN)
== 1) {
htmlid = "rudian7";
} else if (player.getQuest().get_step(L1Quest.QUEST_DOIL)
== L1Quest.QUEST_END) {
htmlid = "rudian1b";
} else {
htmlid = "rudian1a";
}
} else if (npcid == 71060) { // レスタ(宝の地図3)
if (player.getQuest().get_step(L1Quest.QUEST_RESTA)
== L1Quest.QUEST_END) {
htmlid = "resta1e";
} else if (player.getQuest().get_step(L1Quest.QUEST_SIMIZZ)
== L1Quest.QUEST_END) {
htmlid = "resta14";
} else if (player.getQuest().get_step(L1Quest.QUEST_RESTA)
== 4) {
htmlid = "resta13";
} else if (player.getQuest().get_step(L1Quest.QUEST_RESTA)
== 3) {
htmlid = "resta11";
player.getQuest().set_step(L1Quest.QUEST_RESTA, 4);
} else if (player.getQuest().get_step(L1Quest.QUEST_RESTA)
== 2) {
htmlid = "resta16";
} else if (player.getQuest().get_step(L1Quest.QUEST_SIMIZZ)
== 2
&& player.getQuest().get_step(L1Quest.
QUEST_CADMUS) == 1
|| player.getInventory().checkItem(40647)) {
htmlid = "resta1a";
} else if (player.getQuest().get_step(L1Quest.QUEST_CADMUS)
== 1
|| player.getInventory().checkItem(40647)) {
htmlid = "resta1c";
} else if (player.getQuest().get_step(L1Quest.QUEST_SIMIZZ)
== 2) {
htmlid = "resta1b";
}
} else if (npcid == 71061) { // カドムス(宝の地図4)
if (player.getQuest().get_step(L1Quest.QUEST_CADMUS)
== L1Quest.QUEST_END) {
htmlid = "cadmus1c";
} else if (player.getQuest().get_step(L1Quest.QUEST_CADMUS)
== 3) {
htmlid = "cadmus8";
} else if (player.getQuest().get_step(L1Quest.QUEST_CADMUS)
== 2) {
htmlid = "cadmus1a";
} else if (player.getQuest().get_step(L1Quest.QUEST_DOIL)
== L1Quest.QUEST_END) {
htmlid = "cadmus1b";
}
} else if (npcid == 71036) { // カミーラ(ドレイクの真実)
if (player.getQuest().get_step(L1Quest.QUEST_KAMYLA)
== L1Quest.QUEST_END) {
htmlid = "kamyla26";
} else if (player.getQuest().get_step(L1Quest.QUEST_KAMYLA)
== 4 && player.getInventory().checkItem(40717)) {
htmlid = "kamyla15";
} else if (player.getQuest().get_step(L1Quest.QUEST_KAMYLA)
== 4 ) {
htmlid = "kamyla14";
} else if (player.getQuest().get_step(L1Quest.QUEST_KAMYLA)
== 3 && player.getInventory().checkItem(40630)) {
htmlid = "kamyla12";
} else if (player.getQuest().get_step(L1Quest.QUEST_KAMYLA)
== 3 ) {
htmlid = "kamyla11";
} else if (player.getQuest().get_step(L1Quest.QUEST_KAMYLA)
== 2 && player.getInventory().checkItem(40644)) {
htmlid = "kamyla9";
} else if (player.getQuest().get_step(L1Quest.QUEST_KAMYLA)
== 1 ) {
htmlid = "kamyla8";
} else if (player.getQuest().get_step(L1Quest.QUEST_CADMUS)
== L1Quest.QUEST_END && player.getInventory()
.checkItem(40621)) {
htmlid = "kamyla1";
}
} else if (npcid == 71089) { // フランコ(ドレイクの真実)
if (player.getQuest().get_step(L1Quest.QUEST_KAMYLA)
== 2 ) {
htmlid = "francu12";
}
} else if (npcid == 71090) { // 試練のクリスタル2(ドレイクの真実)
if (player.getQuest().get_step(L1Quest.QUEST_CRYSTAL)
== 1 && player.getInventory().checkItem(40620)) {
htmlid = "jcrystal2";
} else if (player.getQuest().get_step(L1Quest.QUEST_CRYSTAL)
== 1){
htmlid = "jcrystal3";
}
} else if (npcid == 71091) { // 試練のクリスタル3(ドレイクの真実)
if (player.getQuest().get_step(L1Quest.QUEST_CRYSTAL)
== 2 && player.getInventory().checkItem(40654)) {
htmlid = "jcrystall2";
}
} else if (npcid == 71074) { // リザードマンの長老
if (player.getQuest().get_step(L1Quest.QUEST_LIZARD)
== L1Quest.QUEST_END) {
htmlid = "lelder0";
} else if (player.getQuest().get_step(L1Quest.QUEST_LIZARD)
== 3 && player.getInventory().checkItem(40634)) {
htmlid = "lelder12";
} else if (player.getQuest().get_step(L1Quest.QUEST_LIZARD)
== 3) {
htmlid = "lelder11";
} else if (player.getQuest().get_step(L1Quest.QUEST_LIZARD)
== 2 && player.getInventory().checkItem(40633)) {
htmlid = "lelder7";
} else if (player.getQuest().get_step(L1Quest.QUEST_LIZARD)
== 2) {
htmlid = "lelder7b";
} else if (player.getQuest().get_step(L1Quest.QUEST_LIZARD)
== 1) {
htmlid = "lelder7b";
} else if (player.getLevel() >= 40) {
htmlid = "lelder1";
}
} else if (npcid == 71076) { // ヤングリザードマンファイター
if (player.getQuest().get_step(L1Quest.QUEST_LIZARD)
== L1Quest.QUEST_END) {
htmlid = "ylizardb";
} else {
}
} else if (npcid == 80079) {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -