/
ExternalSettings_kr.lub
122 lines (118 loc) · 3.33 KB
/
ExternalSettings_kr.lub
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
-- Original translation works of zackdreaver: https://github.com/zackdreaver/ROenglishRE
-- Continuated by llchrisll at https://github.com/llchrisll/ROenglishRE
-- This file can be distributed, used and modified freely
-- This file shouldn't be claimed as part of your project, unless you fork it from https://github.com/llchrisll/ROenglishRE
-- Last updated: 20230919
MaxLevelTable = {
BaseLevel = 99,
BaseLevel3rd = 200,
BaseLevel4th = 250,
BaseLevelExtend2 = 200,
BaseLevelUpperJob = 200,
BaseLevelHomun = 250,
BaseLevelDoram = 200,
JobLevelNovice = 10,
JobLevelSuperNovice = 99,
JobLevelBase = 50,
JobLevel2nd = 70,
JobLevel3rd = 70,
JobLevel4th = 50,
JobLevelExtend2 = 70,
JobLevelUpperJob = 70,
JobLevelDoram = 60
}
MakeableRace = { Doram = true }
-- Change the "AssistAddr" to your IP
AssistAddr = "0.0.0.0:8888"
-----------------------------------------
-- Old client compatibility [Secret]
-- DON'T TOUCH ANYTHING BELOW
-----------------------------------------
Url = { TwitterUrl = 'http://'..AssistAddr }
AccountLinkedUserDataUrl = {
Save = 'http://'..AssistAddr..'/userconfig/save',
Load = 'http://'..AssistAddr..'/userconfig/load'
}
TwitterDataUrl = {
Auth = 'http://'..AssistAddr..'/twitter/user-auth',
Upload = 'http://'..AssistAddr..'/twitter/upload'
}
EmblemDataUrl = {
Upload = 'http://'..AssistAddr..'/emblem/upload',
Download = 'http://'..AssistAddr..'/emblem/download'
}
-----------------------------------------
LEVELAURA = {}
LEVELAURA.EF_NONE = -1
LEVELAURA.EF_LEVEL99 = 200
LEVELAURA.EF_LEVEL99_ORB1 = 976
LEVELAURA.EF_LEVEL99_ORB2 = 977
LEVELAURA.EF_LEVEL150 = 978
LEVELAURA.EF_LEVEL150_SUB = 979
LEVELAURA.EF_LEVEL160 = 1022
LEVELAURA.EF_LEVEL160_SUB = 1023
LEVELAURA.EF_LEVEL185 = 1226
LEVELAURA.EF_LEVEL185_SUB = 1227
LEVELAURA.EF_LEVEL4TH = 2275
LEVELAURA.EF_LEVEL4TH_SUB = 2276
Level99AuraTable = {
Default99LvAura = LEVELAURA.EF_LEVEL99,
Default99LvAura_sub = LEVELAURA.EF_LEVEL99_ORB1,
Baby99LvAura = LEVELAURA.EF_LEVEL99,
Baby99LvAura_sub = LEVELAURA.EF_LEVEL99_ORB2,
SecondHigh99LvAura = 0,
SecondHigh99LvAura_sub = 0,
Homun99LvAura = 0,
Homun99LvAura_sub = 0,
Boss99LvAura_sub = LEVELAURA.EF_LEVEL99_ORB1
}
MaxLevelAuraTable = {
Default150LvAura = LEVELAURA.EF_LEVEL150,
Default150LvAura_sub = LEVELAURA.EF_LEVEL150_SUB,
Default160LvAura = LEVELAURA.EF_LEVEL185,
Default160LvAura_sub = LEVELAURA.EF_LEVEL185_SUB,
Default185LvAura = LEVELAURA.EF_LEVEL185,
Default185LvAura_sub = LEVELAURA.EF_LEVEL185_SUB,
MaxLevelEffect4th = LEVELAURA.EF_LEVEL4TH,
MaxLevelEffect4th_sub = LEVELAURA.EF_LEVEL4TH_SUB,
UpperJobMaxLvAura = LEVELAURA.EF_LEVEL185,
UpperJobMaxLvAura_sub = LEVELAURA.EF_LEVEL185_SUB,
HomunMaxLvAura = LEVELAURA.EF_LEVEL4TH,
HomunMaxLvAura_sub = LEVELAURA.EF_LEVEL4TH_SUB
}
function GetTableIntValueForC(tableName, keyName)
local t = _G[tableName]
if nil == t then
return -1
end
local intValue = t[keyName]
if nil == intValue then
return -1
else
return intValue
end
end
function GetTableStringValueForC(tableName, keyName)
local t = _G[tableName]
if nil == t then
return ""
end
local stringValue = t[keyName]
if nil == stringValue then
return ""
else
return stringValue
end
end
function GetTableBoolValueForC(tableName, keyName)
local t = _G[tableName]
if nil == t then
return false
end
local boolValue = t[keyName]
if nil == boolValue then
return false
else
return boolValue
end
end