@@ -84,35 +84,80 @@ public static string GetItemTableXb1(ItemTypeXb1 type)
84
84
}
85
85
}
86
86
87
- public static string GetQuestTableXb1 ( int id )
87
+ public static string GetQuestJournalTableXb1 ( int id ) => $ "JNL_quest{ GetQuestTableSuffixXb1 ( id ) } ";
88
+ public static string GetQuestMenuTableXb1 ( int id ) => $ "MNU_qt{ GetQuestTableSuffixXb1 ( id ) } ";
89
+
90
+ private static string GetQuestTableSuffixXb1 ( int id )
91
+ {
92
+ if ( id > 1200 ) return "2601" ;
93
+ if ( id > 1000 ) return "2501" ;
94
+ if ( id > 960 ) return "2201" ;
95
+ if ( id > 920 ) return "2101" ;
96
+ if ( id > 890 ) return "2001" ;
97
+ if ( id > 850 ) return "1901" ;
98
+ if ( id > 849 ) return "1801" ;
99
+ if ( id > 810 ) return "1701" ;
100
+ if ( id > 809 ) return "1602" ;
101
+ if ( id > 750 ) return "1601" ;
102
+ if ( id > 720 ) return "1501" ;
103
+ if ( id > 680 ) return "1401" ;
104
+ if ( id > 640 ) return "1301" ;
105
+ if ( id > 625 ) return "1202" ;
106
+ if ( id > 610 ) return "1201" ;
107
+ if ( id > 535 ) return "1101" ;
108
+ if ( id > 495 ) return "1001" ;
109
+ if ( id > 465 ) return "0901" ;
110
+ if ( id > 464 ) return "0801" ;
111
+ if ( id > 350 ) return "0701" ;
112
+ if ( id > 310 ) return "0601" ;
113
+ if ( id > 275 ) return "0501" ;
114
+ if ( id > 260 ) return "0402" ;
115
+ if ( id > 173 ) return "0401" ;
116
+ if ( id > 115 ) return "0301" ;
117
+ if ( id > 85 ) return "0201" ;
118
+ return "0101" ;
119
+ }
120
+
121
+ public static string GetEnemyTableXb1 ( int id ) => $ "BTL_enelist{ GetEnemyTableSuffixXb1 ( id ) } ";
122
+
123
+ private static string GetEnemyTableSuffixXb1 ( int id )
88
124
{
89
- if ( id > 1200 ) return "JNL_quest2601" ;
90
- if ( id > 1000 ) return "JNL_quest2501" ;
91
- if ( id > 960 ) return "JNL_quest2201" ;
92
- if ( id > 920 ) return "JNL_quest2101" ;
93
- if ( id > 890 ) return "JNL_quest2001" ;
94
- if ( id > 850 ) return "JNL_quest1901" ;
95
- if ( id > 849 ) return "JNL_quest1801" ;
96
- if ( id > 810 ) return "JNL_quest1701" ;
97
- if ( id > 809 ) return "JNL_quest1602" ;
98
- if ( id > 750 ) return "JNL_quest1601" ;
99
- if ( id > 720 ) return "JNL_quest1501" ;
100
- if ( id > 680 ) return "JNL_quest1401" ;
101
- if ( id > 640 ) return "JNL_quest1301" ;
102
- if ( id > 625 ) return "JNL_quest1202" ;
103
- if ( id > 610 ) return "JNL_quest1201" ;
104
- if ( id > 535 ) return "JNL_quest1101" ;
105
- if ( id > 495 ) return "JNL_quest1001" ;
106
- if ( id > 465 ) return "JNL_quest0901" ;
107
- if ( id > 464 ) return "JNL_quest0801" ;
108
- if ( id > 350 ) return "JNL_quest0701" ;
109
- if ( id > 310 ) return "JNL_quest0601" ;
110
- if ( id > 275 ) return "JNL_quest0501" ;
111
- if ( id > 260 ) return "JNL_quest0402" ;
112
- if ( id > 173 ) return "JNL_quest0401" ;
113
- if ( id > 115 ) return "JNL_quest0301" ;
114
- if ( id > 85 ) return "JNL_quest0201" ;
115
- return "JNL_quest0101" ;
125
+ if ( id > 3500 ) return "6001" ;
126
+ if ( id > 3450 ) return "5901" ;
127
+ if ( id > 3400 ) return "5801" ;
128
+ if ( id > 3350 ) return "5701" ;
129
+ if ( id > 3300 ) return "5601" ;
130
+ if ( id > 3250 ) return "5501" ;
131
+ if ( id > 3200 ) return "5401" ;
132
+ if ( id > 3150 ) return "5301" ;
133
+ if ( id > 3100 ) return "5201" ;
134
+ if ( id > 3050 ) return "5101" ;
135
+ if ( id > 2900 ) return "2601" ;
136
+ if ( id > 2700 ) return "2501" ;
137
+ if ( id > 2600 ) return "2401" ;
138
+ if ( id > 2500 ) return "2301" ;
139
+ if ( id > 2400 ) return "2201" ;
140
+ if ( id > 2300 ) return "2101" ;
141
+ if ( id > 2200 ) return "2001" ;
142
+ if ( id > 2100 ) return "1901" ;
143
+ if ( id > 1900 ) return "1701" ;
144
+ if ( id > 1700 ) return "1601" ;
145
+ if ( id > 1600 ) return "1501" ;
146
+ if ( id > 1500 ) return "1401" ;
147
+ if ( id > 1400 ) return "1301" ;
148
+ if ( id > 1300 ) return "1202" ;
149
+ if ( id > 1200 ) return "1201" ;
150
+ if ( id > 1100 ) return "1101" ;
151
+ if ( id > 1000 ) return "1001" ;
152
+ if ( id > 900 ) return "0901" ;
153
+ if ( id > 700 ) return "0701" ;
154
+ if ( id > 600 ) return "0601" ;
155
+ if ( id > 500 ) return "0501" ;
156
+ if ( id > 400 ) return "0402" ;
157
+ if ( id > 300 ) return "0401" ;
158
+ if ( id > 200 ) return "0301" ;
159
+ if ( id > 100 ) return "0201" ;
160
+ return "0101" ;
116
161
}
117
162
118
163
public static string GetItemTableXbx ( ItemTypeXbx type )
@@ -425,7 +470,7 @@ public static string GetTaskTableXb1(TaskTypeXb1 taskType, int itemId)
425
470
case TaskTypeXb1 . TalkNpc :
426
471
return "FLD_npclist" ;
427
472
case TaskTypeXb1 . CompleteQuest :
428
- return GetQuestTableXb1 ( itemId ) ;
473
+ return GetQuestJournalTableXb1 ( itemId ) ;
429
474
case TaskTypeXb1 . InteractObject :
430
475
break ;
431
476
}
0 commit comments