@ruvice/my-maple-models 1.1.1 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -149,7 +149,7 @@ export const CharacterClassMappingSEA = {
|
|
|
149
149
|
"Ark": CharacterClass.Ark,
|
|
150
150
|
"Hayato": CharacterClass.Hayato,
|
|
151
151
|
"Kanna": CharacterClass.Kanna,
|
|
152
|
-
"
|
|
152
|
+
"Len": CharacterClass.Len,
|
|
153
153
|
"Mo Xuan": CharacterClass.MoXuan,
|
|
154
154
|
"Lynn": CharacterClass.Lynn
|
|
155
155
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MapleServer } from "../models/maple/Generic/enums";
|
|
2
|
-
import { CharacterClassLocalisationKMS, CharacterClassLocalisationSEA, CharacterClassLocalisationTMS, ITEM_EQUIP_STAT_OPTIONS_KMS, ITEM_EQUIP_STAT_OPTIONS_SEA, STAT_KMS, STAT_SEA, SYMBOL_OPTIONS_KMS, SYMBOL_OPTIONS_SEA } from "./constants";
|
|
2
|
+
import { CharacterClassLocalisationKMS, CharacterClassLocalisationSEA, CharacterClassLocalisationTMS, ITEM_EQUIP_STAT_OPTIONS_KMS, ITEM_EQUIP_STAT_OPTIONS_SEA, ITEM_EQUIP_STAT_OPTIONS_TMS, STAT_KMS, STAT_SEA, STAT_TMS, SYMBOL_OPTIONS_KMS, SYMBOL_OPTIONS_SEA, SYMBOL_OPTIONS_TMS } from "./constants";
|
|
3
3
|
export function getLocalisedCharacterClass(characterClass, server) {
|
|
4
4
|
if (server === MapleServer.KMS) {
|
|
5
5
|
return CharacterClassLocalisationKMS[characterClass];
|
|
@@ -19,6 +19,9 @@ export function getLocalisedItemEquipOptions(itemEquipOption, server) {
|
|
|
19
19
|
else if (server === MapleServer.SEA) {
|
|
20
20
|
return ITEM_EQUIP_STAT_OPTIONS_SEA[itemEquipOption];
|
|
21
21
|
}
|
|
22
|
+
else if (server === MapleServer.TMS) {
|
|
23
|
+
return ITEM_EQUIP_STAT_OPTIONS_TMS[itemEquipOption];
|
|
24
|
+
}
|
|
22
25
|
return ITEM_EQUIP_STAT_OPTIONS_SEA[itemEquipOption];
|
|
23
26
|
}
|
|
24
27
|
export function getLocalisedSymbolEquipOptions(symbolEquipOption, server) {
|
|
@@ -28,6 +31,9 @@ export function getLocalisedSymbolEquipOptions(symbolEquipOption, server) {
|
|
|
28
31
|
else if (server === MapleServer.SEA) {
|
|
29
32
|
return SYMBOL_OPTIONS_SEA[symbolEquipOption];
|
|
30
33
|
}
|
|
34
|
+
else if (server === MapleServer.TMS) {
|
|
35
|
+
return SYMBOL_OPTIONS_TMS[symbolEquipOption];
|
|
36
|
+
}
|
|
31
37
|
return SYMBOL_OPTIONS_SEA[symbolEquipOption];
|
|
32
38
|
}
|
|
33
39
|
export function getLocalisedStatName(statName, server) {
|
|
@@ -37,5 +43,8 @@ export function getLocalisedStatName(statName, server) {
|
|
|
37
43
|
else if (server === MapleServer.SEA) {
|
|
38
44
|
return STAT_SEA[statName];
|
|
39
45
|
}
|
|
46
|
+
else if (server === MapleServer.TMS) {
|
|
47
|
+
return STAT_TMS[statName];
|
|
48
|
+
}
|
|
40
49
|
return STAT_SEA[statName];
|
|
41
50
|
}
|