blob: 7a7330e400951eef70883ce9162593f27a0fb084 (
plain) (
blame)
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
|
//================= Hercules Database =====================================
//= _ _ _
//= | | | | | |
//= | |_| | ___ _ __ ___ _ _| | ___ ___
//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
//= | | | | __/ | | (__| |_| | | __/\__ \
//= \_| |_/\___|_| \___|\__,_|_|\___||___/
//================= License ===============================================
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
//= Copyright (C) 2016 Hercules Dev Team
//=
//= Hercules is free software: you can redistribute it and/or modify
//= it under the terms of the GNU General Public License as published by
//= the Free Software Foundation, either version 3 of the License, or
//= (at your option) any later version.
//=
//= This program is distributed in the hope that it will be useful,
//= but WITHOUT ANY WARRANTY; without even the implied warranty of
//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//= GNU General Public License for more details.
//=
//= You should have received a copy of the GNU General Public License
//= along with this program. If not, see <http://www.gnu.org/licenses/>.
//=========================================================================
//= Script Constants Database
//=========================================================================
constants_db: {
/************* Entry structure (short) ************************************
Identifier: value // (int)
************* Entry structure (full) *************************************
Identifier: {
Value: value // (int)
Deprecated: true // (boolean) Defaults to false.
}
**************************************************************************/
comment__: "Weekdays"
SUNDAY: 0
MONDAY: 1
TUESDAY: 2
WEDNESDAY: 3
THURSDAY: 4
FRIDAY: 5
SATURDAY: 6
comment__: "Months"
JANUARY: 1
FEBRUARY: 2
MARCH: 3
APRIL: 4
MAY: 5
JUNE: 6
JULY: 7
AUGUST: 8
SEPTEMBER: 9
OCTOBER: 10
NOVEMBER: 11
DECEMBER: 12
comment__: "Broadcast flags"
bc_all: 0
bc_map: 1
bc_area: 2
bc_self: 3
bc_pc: 0
bc_npc: 8
bc_yellow: 0
bc_blue: 16
bc_woe: 32
comment__: "Monster Modes"
MD_NONE: 0
MD_CANMOVE: 1
MD_LOOTER: 2
MD_AGGRESSIVE: 4
MD_ASSIST: 8
MD_CASTSENSOR_IDLE: 16
MD_BOSS: 32
MD_PLANT: 64
MD_CANATTACK: 128
MD_DETECTOR: 256
MD_CASTSENSOR_CHASE: 512
MD_CHANGECHASE: 1024
MD_ANGRY: 2048
MD_CHANGETARGET_MELEE: 4096
MD_CHANGETARGET_CHASE: 8192
MD_TARGETWEAK: 16384
MD_NOKNOCKBACK: 32768
MD_RANDOMTARGET: 65536
//MD_MASK: 0
comment__: "Mapflags"
mf_nomemo: 0
mf_noteleport: 1
mf_nosave: 2
mf_nobranch: 3
mf_nopenalty: 4
mf_nozenypenalty: 5
mf_pvp: 6
mf_pvp_noparty: 7
mf_pvp_noguild: 8
mf_gvg: 9
mf_gvg_noparty: 10
mf_notrade: 11
mf_noskill: 12
mf_nowarp: 13
mf_partylock: 14
mf_noicewall: 15
mf_snow: 16
mf_fog: 17
mf_sakura: 18
mf_leaves: 19
mf_clouds: 23
mf_clouds2: 24
mf_fireworks: 25
mf_gvg_castle: 26
mf_gvg_dungeon: 27
mf_nightenabled: 28
mf_nobaseexp: 29
mf_nojobexp: 30
mf_nomobloot: 31
mf_nomvploot: 32
mf_noreturn: 33
mf_nowarpto: 34
mf_nightmaredrop: 35
mf_zone: 36
mf_nocommand: 37
mf_nodrop: 38
mf_jexp: 39
mf_bexp: 40
mf_novending: 41
mf_loadevent: 42
mf_nochat: 43
mf_noexppenalty: 44
mf_guildlock: 45
mf_town: 46
mf_autotrade: 47
mf_allowks: 48
mf_monster_noteleport: 49
mf_pvp_nocalcrank: 50
mf_battleground: 51
mf_reset: 52
mf_notomb: 53
mf_nocashshop: 54
mf_noautoloot: 55
mf_noviewid: 56
mf_pairship_startable: 57
mf_pairship_endable: 58
mf_nostorage: 59
mf_nogstorage: 60
comment__: "Cell Properties"
cell_walkable: 0
cell_shootable: 1
cell_water: 2
cell_npc: 3
cell_basilica: 4
cell_landprotector: 5
cell_novending: 6
cell_nochat: 7
comment__: "Cell checks"
//cell_gettype: 0
cell_chkwall: 1
cell_chkwater: 2
cell_chkcliff: 3
cell_chkpass: 4
cell_chkreach: 5
cell_chknopass: 6
cell_chknoreach: 7
//cell_chkstack: 8
cell_chknpc: 9
cell_chkbasilica: 10
cell_chklandprotector: 11
cell_chknovending: 12
cell_chknochat: 13
comment__: "Bonuses / Parameter IDs"
bMaxHP: 6
bMaxSP: 8
bStr: 13
bAgi: 14
bVit: 15
bInt: 16
bDex: 17
bLuk: 18
bAtk: 41
bAtk2: 42
bDef: 45
bDef2: 46
bMdef: 47
bMdef2: 48
bHit: 49
bFlee: 50
bFlee2: 51
bCritical: 52
bAspd: 53
bFame: 59
bUnbreakable: 60
bAtkRange: 1000
bAtkEle: 1001
bDefEle: 1002
bCastrate: 1003
bMaxHPrate: 1004
bMaxSPrate: 1005
bUseSPrate: 1006
bAddEle: 1007
bAddRace: 1008
bAddSize: 1009
bSubEle: 1010
bSubRace: 1011
bAddEff: 1012
bResEff: 1013
bBaseAtk: 1014
bAspdRate: 1015
bHPrecovRate: 1016
bSPrecovRate: 1017
bSpeedRate: 1018
bCriticalDef: 1019
bNearAtkDef: 1020
bLongAtkDef: 1021
bDoubleRate: 1022
bDoubleAddRate: 1023
bSkillHeal: 1024
bMatkRate: 1025
bIgnoreDefEle: 1026
bIgnoreDefRace: 1027
bAtkRate: 1028
bSpeedAddRate: 1029
bSPRegenRate: 1030
bMagicAtkDef: 1031
bMiscAtkDef: 1032
bIgnoreMdefEle: 1033
bIgnoreMdefRace: 1034
bMagicAddEle: 1035
bMagicAddRace: 1036
bMagicAddSize: 1037
bPerfectHitRate: 1038
bPerfectHitAddRate: 1039
bCriticalRate: 1040
bGetZenyNum: 1041
bAddGetZenyNum: 1042
bAddDamageClass: 1043
bAddMagicDamageClass: 1044
bAddDefClass: 1045
bAddMdefClass: 1046
bAddMonsterDropItem: 1047
bDefRatioAtkEle: 1048
bDefRatioAtkRace: 1049
bUnbreakableGarment: 1050
bHitRate: 1051
bFleeRate: 1052
bFlee2Rate: 1053
bDefRate: 1054
bDef2Rate: 1055
bMdefRate: 1056
bMdef2Rate: 1057
bSplashRange: 1058
bSplashAddRange: 1059
bAutoSpell: 1060
bHPDrainRate: 1061
bSPDrainRate: 1062
bShortWeaponDamageReturn: 1063
bLongWeaponDamageReturn: 1064
bWeaponComaEle: 1065
bWeaponComaRace: 1066
bAddEff2: 1067
bBreakWeaponRate: 1068
bBreakArmorRate: 1069
bAddStealRate: 1070
bMagicDamageReturn: 1071
bAllStats: 1073
bAgiVit: 1074
bAgiDexStr: 1075
bPerfectHide: 1076
bNoKnockback: 1077
bClassChange: 1078
bHPDrainValue: 1079
bSPDrainValue: 1080
bWeaponAtk: 1081
bWeaponAtkRate: 1082
bDelayrate: 1083
bHPDrainRateRace: 1084
bSPDrainRateRace: 1085
bIgnoreMdefRate: 1086
bIgnoreDefRate: 1087
bSkillHeal2: 1088
bAddEffOnSkill: 1089
bHealPower: 1090
bHealPower2: 1091
bHPVanishRate: 1092
bRestartFullRecover: 2000
bNoCastCancel: 2001
bNoSizeFix: 2002
bNoMagicDamage: 2003
bNoWeaponDamage: 2004
bNoGemStone: 2005
bNoCastCancel2: 2006
bNoMiscDamage: 2007
bUnbreakableWeapon: 2008
bUnbreakableArmor: 2009
bUnbreakableHelm: 2010
bUnbreakableShield: 2011
bLongAtkRate: 2012
bCritAtkRate: 2013
bCriticalAddRace: 2014
bNoRegen: 2015
bAddEffWhenHit: 2016
bAutoSpellWhenHit: 2017
bSkillAtk: 2018
bUnstripable: 2019
bAutoSpellOnSkill: 2020
bSPGainValue: 2021
bHPRegenRate: 2022
bHPLossRate: 2023
bAddRace2: 2024
bHPGainValue: 2025
bSubSize: 2026
bHPDrainValueRace: 2027
bAddItemHealRate: 2028
bSPDrainValueRace: 2029
bExpAddRace: 2030
bSPGainRace: 2031
bSubRace2: 2032
bUnbreakableShoes: 2033
bUnstripableWeapon: 2034
bUnstripableArmor: 2035
bUnstripableHelm: 2036
bUnstripableShield: 2037
bIntravision: 2038
bAddMonsterDropChainItem: 2039
bSPLossRate: 2040
bAddSkillBlow: 2041
bSPVanishRate: 2042
bMagicSPGainValue: 2043
bMagicHPGainValue: 2044
bAddClassDropItem: 2045
bMatk: 2046
bSPGainRaceAttack: 2047
bHPGainRaceAttack: 2048
bSkillUseSPrate: 2049
bSkillCooldown: 2050
bSkillFixedCast: 2051
bSkillVariableCast: 2052
bFixedCastrate: 2053
bVariableCastrate: 2054
bSkillUseSP: 2055
bMagicAtkEle: 2056
bFixedCast: 2057
bVariableCast: 2058
bSetDefRace: 2059
bSetMDefRace: 2060
bAddRaceTolerance: 2061
bAddMaxWeight: 2062
comment__: "Equip index"
/* reference to script.c::script_defaults():equip[] array used for easy-conversion */
EQI_HEAD_TOP: 1
EQI_ARMOR: 2
EQI_HAND_L: 3
EQI_HAND_R: 4
EQI_GARMENT: 5
EQI_SHOES: 6
EQI_ACC_L: 7
EQI_ACC_R: 8
EQI_HEAD_MID: 9
EQI_HEAD_LOW: 10
EQI_COSTUME_HEAD_LOW: 11
EQI_COSTUME_HEAD_MID: 12
EQI_COSTUME_HEAD_TOP: 13
EQI_COSTUME_GARMENT: 14
EQI_SHADOW_ARMOR: 15
EQI_SHADOW_WEAPON: 16
EQI_SHADOW_SHIELD: 17
EQI_SHADOW_SHOES: 18
EQI_SHADOW_ACC_R: 19
EQI_SHADOW_ACC_L: 20
comment__: "Status effects"
Eff_Stone: 0
Eff_Freeze: 1
Eff_Stun: 2
Eff_Sleep: 3
Eff_Poison: 4
Eff_Curse: 5
Eff_Silence: 6
Eff_Confusion: 7
Eff_Blind: 8
Eff_Bleeding: 9
Eff_DPoison: 10
Eff_Fear: 11
Eff_Cold: 12
Eff_Burning: 13
Eff_Deepsleep: 14
comment__: "Elements"
Ele_Neutral: 0
Ele_Water: 1
Ele_Earth: 2
Ele_Fire: 3
Ele_Wind: 4
Ele_Holy: 6
Ele_Dark: 7
Ele_Ghost: 8
Ele_All: 255
// Compatibility, legacy, DO NOT USE
Ele_Nature: 5
Ele_Poison: 5
Ele_Undead: 9
Ele_System: 9
comment__: "Attack Types"
HARM_PHYS: 1
HARM_MAGI: 2
HARM_MISC: 4
comment__: "Races"
RC_Formless: 0
RC_Undead: 1
RC_Brute: 2
RC_Plant: 3
RC_Insect: 4
RC_Mineral: 5 // Fish
RC_Unused: 6 // DM
RC_DemiHuman: 7
RC_Legendary: 8 // Angel
RC_Dragon: 9
RC_Player: 10
RC_Boss: 11
RC_NonBoss: 12
RC_NonDemiHuman: 14
RC_NonPlayer: 15
RC_DemiPlayer: 16
RC_NonDemiPlayer: 17
RC_All: 255
comment__: "Subraces"
RC2_None: 0
RC2_Goblin: 1
RC2_Kobold: 2
RC2_Orc: 3
RC2_Golem: 4
RC2_Guardian: 5
RC2_Ninja: 6
RC2_Scaraba: 7
RC2_Turtle: 8
comment__: "Sizes"
Size_Small: 0
Size_Medium: 1
Size_Large: 2
comment__: "Battle Flags"
BF_WEAPON: 0x0001
BF_MAGIC: 0x0002
BF_MISC: 0x0004
BF_SHORT: 0x0010
BF_LONG: 0x0040
BF_SKILL: 0x0100
BF_NORMAL: 0x0200
comment__: "Attack Flags"
ATF_SELF: 0x01
ATF_TARGET: 0x02
ATF_SHORT: 0x04
ATF_LONG: 0x08
ATF_WEAPON: 0x10
ATF_MAGIC: 0x20
ATF_MISC: 0x40
ATF_SKILL: 0x60
comment__: "Status Changes"
SC_ALL: -1
SC_STONE: 0
SC_FREEZE: 1
SC_STUN: 2
SC_SLEEP: 3
SC_POISON: 4
SC_CURSE: 5
SC_SILENCE: 6
SC_CONFUSION: 7
SC_BLIND: 8
SC_BLOODING: 9
SC_DPOISON: 10
SC_FEAR: 11
SC_COLD: 12
SC_BURNING: 13
SC_DEEP_SLEEP: 14
SC_PROVOKE: 20
SC_ENDURE: 21
SC_TWOHANDQUICKEN: 22
SC_CONCENTRATION: 23
SC_HIDING: 24
SC_CLOAKING: 25
SC_ENCHANTPOISON: 26
SC_POISONREACT: 27
SC_QUAGMIRE: 28
SC_ANGELUS: 29
SC_BLESSING: 30
SC_CRUCIS: 31
SC_INC_AGI: 32
SC_DEC_AGI: 33
SC_SLOWPOISON: 34
SC_IMPOSITIO: 35
SC_SUFFRAGIUM: 36
SC_ASPERSIO: 37
SC_BENEDICTIO: 38
SC_KYRIE: 39
SC_MAGNIFICAT: 40
SC_GLORIA: 41
SC_LEXAETERNA: 42
SC_ADRENALINE: 43
SC_WEAPONPERFECT: 44
SC_OVERTHRUST: 45
SC_MAXIMIZEPOWER: 46
SC_TRICKDEAD: 47
SC_SHOUT: 48
SC_ENERGYCOAT: 49
SC_BROKENARMOR: 50
SC_BROKENWEAPON: 51
SC_ILLUSION: 52
SC_WEIGHTOVER50: 53
SC_WEIGHTOVER90: 54
SC_ATTHASTE_POTION1: 55
SC_ATTHASTE_POTION2: 56
SC_ATTHASTE_POTION3: 57
SC_ATTHASTE_INFINITY: 58
SC_MOVHASTE_HORSE: 59
SC_MOVHASTE_INFINITY: 60
SC_PLUSATTACKPOWER: 61
SC_PLUSMAGICPOWER: 62
SC_WEDDING: 63
SC_SLOWDOWN: 64
SC_ANKLESNARE: 65
SC_KEEPING: 66
SC_BARRIER: 67
SC_NOEQUIPWEAPON: 68
SC_NOEQUIPSHIELD: 69
SC_NOEQUIPARMOR: 70
SC_NOEQUIPHELM: 71
SC_PROTECTWEAPON: 72
SC_PROTECTSHIELD: 73
SC_PROTECTARMOR: 74
SC_PROTECTHELM: 75
SC_AUTOGUARD: 76
SC_REFLECTSHIELD: 77
SC_SPLASHER: 78
SC_PROVIDENCE: 79
SC_DEFENDER: 80
SC_MAGICROD: 81
SC_SPELLBREAKER: 82
SC_AUTOSPELL: 83
SC_SIGHTTRASHER: 84
SC_AUTOBERSERK: 85
SC_SPEARQUICKEN: 86
SC_AUTOCOUNTER: 87
SC_SIGHT: 88
SC_SAFETYWALL: 89
SC_RUWACH: 90
SC_EXTREMITYFIST: 91
SC_EXPLOSIONSPIRITS: 92
SC_COMBOATTACK: 93
SC_BLADESTOP_WAIT: 94
SC_BLADESTOP: 95
SC_PROPERTYFIRE: 96
SC_PROPERTYWATER: 97
SC_PROPERTYWIND: 98
SC_PROPERTYGROUND: 99
SC_VOLCANO: 100
SC_DELUGE: 101
SC_VIOLENTGALE: 102
SC_SUB_WEAPONPROPERTY: 103
SC_ARMOR: 104
SC_ARMORPROPERTY: 105
SC_NOCHAT: 106
SC_BABY: 107
SC_AURABLADE: 108
SC_PARRYING: 109
SC_LKCONCENTRATION: 110
SC_TENSIONRELAX: 111
SC_BERSERK: 112
SC_FURY: 113
SC_GOSPEL: 114
SC_ASSUMPTIO: 115
SC_BASILICA: 116
SC_GUILDAURA: 117
SC_MAGICPOWER: 118
SC_EDP: 119
SC_TRUESIGHT: 120
SC_WINDWALK: 121
SC_MELTDOWN: 122
SC_CARTBOOST: 123
SC_CHASEWALK: 124
SC_SWORDREJECT: 125
SC_MARIONETTE_MASTER: 126
SC_MARIONETTE: 127
SC_PROPERTYUNDEAD: 128
SC_JOINTBEAT: 129
SC_MINDBREAKER: 130
SC_MEMORIZE: 131
SC_FOGWALL: 132
SC_SPIDERWEB: 133
SC_DEVOTION: 134
SC_SACRIFICE: 135
SC_STEELBODY: 136
SC_ORCISH: 137
SC_STORMKICK_READY: 138
SC_DOWNKICK_READY: 139
SC_TURNKICK_READY: 140
SC_COUNTERKICK_READY: 141
SC_DODGE_READY: 142
SC_RUN: 143
SC_PROPERTYDARK: 144
SC_ADRENALINE2: 145
SC_PROPERTYTELEKINESIS: 146
SC_KAIZEL: 147
SC_KAAHI: 148
SC_KAUPE: 149
SC_ONEHANDQUICKEN: 150
SC_PRESERVE: 151
SC_GDSKILL_BATTLEORDER: 152
SC_GDSKILL_REGENERATION: 153
SC_DOUBLECASTING: 154
SC_GRAVITATION: 155
SC_OVERTHRUSTMAX: 156
SC_LONGING: 157
SC_HERMODE: 158
SC_TAROTCARD: 159
SC_CR_SHRINK: 160
SC_WZ_SIGHTBLASTER: 161
SC_DC_WINKCHARM: 162
SC_RG_CCONFINE_M: 163
SC_RG_CCONFINE_S: 164
SC_DANCING: 165
SC_ARMOR_PROPERTY: 166
SC_RICHMANKIM: 167
SC_ETERNALCHAOS: 168
SC_DRUMBATTLE: 169
SC_NIBELUNGEN: 170
SC_ROKISWEIL: 171
SC_INTOABYSS: 172
SC_SIEGFRIED: 173
SC_WHISTLE: 174
SC_ASSNCROS: 175
SC_POEMBRAGI: 176
SC_APPLEIDUN: 177
SC_MODECHANGE: 178
SC_HUMMING: 179
SC_DONTFORGETME: 180
SC_FORTUNE: 181
SC_SERVICEFORYOU: 182
SC_STOP: 183
SC_STRUP: 184
SC_SOULLINK: 185
SC_COMA: 186
SC_CLAIRVOYANCE: 187
SC_INCALLSTATUS: 188
SC_CHASEWALK2: 189
SC_INCAGI: 190
SC_INCVIT: 191
SC_INCINT: 192
SC_INCDEX: 193
SC_INCLUK: 194
SC_INCHIT: 195
SC_INCHITRATE: 196
SC_INCFLEE: 197
SC_INCFLEERATE: 198
SC_INCMHPRATE: 199
SC_INCMSPRATE: 200
SC_INCATKRATE: 201
SC_INCMATKRATE: 202
SC_INCDEFRATE: 203
SC_FOOD_STR: 204
SC_FOOD_AGI: 205
SC_FOOD_VIT: 206
SC_FOOD_INT: 207
SC_FOOD_DEX: 208
SC_FOOD_LUK: 209
SC_FOOD_BASICHIT: 210
SC_FOOD_BASICAVOIDANCE: 211
SC_BATKFOOD: 212
SC_WATKFOOD: 213
SC_MATKFOOD: 214
SC_SCRESIST: 215
SC_XMAS: 216
SC_WARM: 217
SC_SUN_COMFORT: 218
SC_MOON_COMFORT: 219
SC_STAR_COMFORT: 220
SC_FUSION: 221
SC_SKILLRATE_UP: 222
SC_SKE: 223
SC_KAITE: 224
SC_SWOO: 225
SC_SKA: 226
SC_EARTHSCROLL: 227
SC_MIRACLE: 228
SC_GS_MADNESSCANCEL: 229
SC_GS_ADJUSTMENT: 230
SC_GS_ACCURACY: 231
SC_GS_GATLINGFEVER: 232
SC_NJ_TATAMIGAESHI: 233
SC_NJ_UTSUSEMI: 234
SC_NJ_BUNSINJYUTSU: 235
SC_NJ_KAENSIN: 236
SC_NJ_SUITON: 237
SC_NJ_NEN: 238
SC_KNOWLEDGE: 239
SC_SMA_READY: 240
SC_FLING: 241
SC_HLIF_AVOID: 242
SC_HLIF_CHANGE: 243
SC_HAMI_BLOODLUST: 244
SC_HLIF_FLEET: 245
SC_HLIF_SPEED: 246
SC_HAMI_DEFENCE: 247
SC_INCASPDRATE: 248 // <-
SC_PLUSAVOIDVALUE: 249
SC_JAILED: 250
SC_ENCHANTARMS: 251
SC_MAGICALATTACK: 252
SC_STONESKIN: 253
SC_CRITICALWOUND: 254
SC_MAGICMIRROR: 255
SC_SLOWCAST: 256
SC_SUMMER: 257
SC_CASH_PLUSEXP: 258
SC_CASH_RECEIVEITEM: 259
SC_CASH_BOSS_ALARM: 260
SC_CASH_DEATHPENALTY: 261 // !!
SC_CRITICALPERCENT: 262
SC_PROTECT_MDEF: 266
SC_HEALPLUS: 268
SC_PNEUMA: 269
SC_AUTOTRADE: 270
SC_KSPROTECTED: 271
SC_ARMOR_RESIST: 272
SC_ATKER_BLOOD: 273
SC_TARGET_BLOOD: 274
SC_TK_SEVENWIND: 275
SC_PROTECT_DEF: 276
SC_WALKSPEED: 278
SC_MER_FLEE: 279
SC_MER_ATK: 280
SC_MER_HP: 281
SC_MER_SP: 282
SC_MER_HIT: 283
SC_MER_QUICKEN: 284
SC_REBIRTH: 285
SC_S_LIFEPOTION: 291
SC_L_LIFEPOTION: 292
SC_CASH_PLUSONLYJOBEXP: 293
SC_HELLPOWER: 295
SC_INVINCIBLE: 296
SC_INVINCIBLEOFF: 297
SC_MANU_ATK: 298
SC_MANU_DEF: 299
SC_SPL_ATK: 300
SC_SPL_DEF: 301
SC_MANU_MATK: 302
SC_SPL_MATK: 303
SC_FOOD_STR_CASH: 304
SC_FOOD_AGI_CASH: 305
SC_FOOD_VIT_CASH: 306
SC_FOOD_DEX_CASH: 307
SC_FOOD_INT_CASH: 308
SC_FOOD_LUK_CASH: 309
SC_FROSTMISTY: 311
SC_ENCHANTBLADE: 312
SC_DEATHBOUND: 313
SC_MILLENNIUMSHIELD: 314
SC_CRUSHSTRIKE: 315
SC_REFRESH: 316
SC_REUSE_REFRESH: 317
SC_GIANTGROWTH: 318
SC_STONEHARDSKIN: 319
SC_VITALITYACTIVATION: 320
SC_STORMBLAST: 321
SC_FIGHTINGSPIRIT: 322
SC_ABUNDANCE: 323
SC_ADORAMUS: 324
SC_EPICLESIS: 325
SC_ORATIO: 326
SC_LAUDAAGNUS: 327
SC_LAUDARAMUS: 328
SC_RENOVATIO: 329
SC_EXPIATIO: 330
SC_DUPLELIGHT: 331
SC_SECRAMENT: 332
SC_WHITEIMPRISON: 333
SC_MARSHOFABYSS: 334
SC_RECOGNIZEDSPELL: 335
SC_STASIS: 336
SC_SUMMON1: 337
SC_SUMMON2: 338
SC_SUMMON3: 339
SC_SUMMON4: 340
SC_SUMMON5: 341
SC_READING_SB: 342
SC_FREEZINGSP: 343
SC_FEARBREEZE: 344
SC_ELECTRICSHOCKER: 345
SC_WUGDASH: 346
SC_WUGBITE: 347
SC_CAMOUFLAGE: 348
SC_ACCELERATION: 349
SC_HOVERING: 350
SC_SHAPESHIFT: 351
SC_INFRAREDSCAN: 352
SC_ANALYZE: 353
SC_MAGNETICFIELD: 354
SC_NEUTRALBARRIER: 355
SC_NEUTRALBARRIER_MASTER: 356
SC_STEALTHFIELD: 357
SC_STEALTHFIELD_MASTER: 358
SC_OVERHEAT: 359
SC_OVERHEAT_LIMITPOINT: 360
SC_VENOMIMPRESS: 361
SC_POISONINGWEAPON: 362
SC_WEAPONBLOCKING: 363
SC_CLOAKINGEXCEED: 364
SC_HALLUCINATIONWALK: 365
SC_HALLUCINATIONWALK_POSTDELAY: 366
SC_ROLLINGCUTTER: 367
SC_TOXIN: 368
SC_PARALYSE: 369
SC_VENOMBLEED: 370
SC_MAGICMUSHROOM: 371
SC_DEATHHURT: 372
SC_PYREXIA: 373
SC_OBLIVIONCURSE: 374
SC_LEECHESEND: 375
SC_LG_REFLECTDAMAGE: 376
SC_FORCEOFVANGUARD: 377
SC_SHIELDSPELL_DEF: 378
SC_SHIELDSPELL_MDEF: 379
SC_SHIELDSPELL_REF: 380
SC_EXEEDBREAK: 381
SC_PRESTIGE: 382
SC_BANDING: 383
SC_BANDING_DEFENCE: 384
SC_EARTHDRIVE: 385
SC_INSPIRATION: 386
SC_SPELLFIST: 387
SC_STRIKING: 389
SC_WARMER: 390
SC_VACUUM_EXTREME: 391
SC_PROPERTYWALK: 392
SC_SWING: 393
SC_SYMPHONY_LOVE: 394
SC_MOONLIT_SERENADE: 395
SC_RUSH_WINDMILL: 396
SC_ECHOSONG: 397
SC_HARMONIZE: 398
SC_SIREN: 399
SC_SIRCLEOFNATURE: 401
SC_GLOOMYDAY: 402
SC_GLOOMYDAY_SK: 403
SC_SONG_OF_MANA: 404
SC_DANCE_WITH_WUG: 405
SC_SATURDAY_NIGHT_FEVER: 406
SC_LERADS_DEW: 407
SC_MELODYOFSINK: 408
SC_BEYOND_OF_WARCRY: 409
SC_UNLIMITED_HUMMING_VOICE: 410
SC_SITDOWN_FORCE: 411
SC_NETHERWORLD: 412
SC_CRESCENTELBOW: 413
SC_CURSEDCIRCLE_ATKER: 414
SC_CURSEDCIRCLE_TARGET: 415
SC_LIGHTNINGWALK: 416
SC_RAISINGDRAGON: 417
SC_GENTLETOUCH_ENERGYGAIN: 418
SC_GENTLETOUCH_CHANGE: 419
SC_GENTLETOUCH_REVITALIZE: 420
SC_GN_CARTBOOST: 421
SC_THORNS_TRAP: 422
SC_BLOOD_SUCKER: 423
SC_FIRE_EXPANSION_SMOKE_POWDER: 424
SC_FIRE_EXPANSION_TEAR_GAS: 425
SC_MANDRAGORA: 426
SC_STOMACHACHE: 427
SC_MYSTERIOUS_POWDER: 428
SC_MELON_BOMB: 429
SC_BANANA_BOMB: 430
SC_BANANA_BOMB_SITDOWN_POSTDELAY: 431
SC_SAVAGE_STEAK: 432
SC_COCKTAIL_WARG_BLOOD: 433
SC_MINOR_BBQ: 434
SC_SIROMA_ICE_TEA: 435
SC_DROCERA_HERB_STEAMED: 436
SC_PUTTI_TAILS_NOODLES: 437
SC_BOOST500: 438
SC_FULL_SWING_K: 439
SC_MANA_PLUS: 440
SC_MUSTLE_M: 441
SC_LIFE_FORCE_F: 442
SC_EXTRACT_WHITE_POTION_Z: 443
SC_VITATA_500: 444
SC_EXTRACT_SALAMINE_JUICE: 445
SC__REPRODUCE: 446
SC__AUTOSHADOWSPELL: 447
SC__SHADOWFORM: 448
SC__BODYPAINT: 449
SC__INVISIBILITY: 450
SC__DEADLYINFECT: 451
SC__ENERVATION: 452
SC__GROOMY: 453
SC__IGNORANCE: 454
SC__LAZINESS: 455
SC__UNLUCKY: 456
SC__WEAKNESS: 457
SC__STRIPACCESSARY: 458
SC__MANHOLE: 459
SC__BLOODYLUST: 460
SC_CIRCLE_OF_FIRE: 461
SC_CIRCLE_OF_FIRE_OPTION: 462
SC_FIRE_CLOAK: 463
SC_FIRE_CLOAK_OPTION: 464
SC_WATER_SCREEN: 465
SC_WATER_SCREEN_OPTION: 466
SC_WATER_DROP: 467
SC_WATER_DROP_OPTION: 468
SC_WATER_BARRIER: 469
SC_WIND_STEP: 470
SC_WIND_STEP_OPTION: 471
SC_WIND_CURTAIN: 472
SC_WIND_CURTAIN_OPTION: 473
SC_ZEPHYR: 474
SC_SOLID_SKIN: 475
SC_SOLID_SKIN_OPTION: 476
SC_STONE_SHIELD: 477
SC_STONE_SHIELD_OPTION: 478
SC_POWER_OF_GAIA: 479
SC_PYROTECHNIC: 480
SC_PYROTECHNIC_OPTION: 481
SC_HEATER: 482
SC_HEATER_OPTION: 483
SC_TROPIC: 484
SC_TROPIC_OPTION: 485
SC_AQUAPLAY: 486
SC_AQUAPLAY_OPTION: 487
SC_COOLER: 488
SC_COOLER_OPTION: 489
SC_CHILLY_AIR: 490
SC_CHILLY_AIR_OPTION: 491
SC_GUST: 492
SC_GUST_OPTION: 493
SC_BLAST: 494
SC_BLAST_OPTION: 495
SC_WILD_STORM: 496
SC_WILD_STORM_OPTION: 497
SC_PETROLOGY: 498
SC_PETROLOGY_OPTION: 499
SC_CURSED_SOIL: 500
SC_CURSED_SOIL_OPTION: 501
SC_UPHEAVAL: 502
SC_UPHEAVAL_OPTION: 503
SC_TIDAL_WEAPON: 504
SC_TIDAL_WEAPON_OPTION: 505
SC_ROCK_CRUSHER: 506
SC_ROCK_CRUSHER_ATK: 507
SC_LEADERSHIP: 508
SC_GLORYWOUNDS: 509
SC_SOULCOLD: 510
SC_HAWKEYES: 511
SC_ODINS_POWER: 512
SC_FIRE_INSIGNIA: 513
SC_WATER_INSIGNIA: 514
SC_WIND_INSIGNIA: 515
SC_EARTH_INSIGNIA: 516
SC_PUSH_CART: 517
SC_SPELLBOOK1: 518
SC_SPELLBOOK2: 519
SC_SPELLBOOK3: 520
SC_SPELLBOOK4: 521
SC_SPELLBOOK5: 522
SC_SPELLBOOK6: 523
SC_SPELLBOOK7: 524
SC_INCMHP: 525
SC_INCMSP: 526
SC_PARTYFLEE: 527
SC_MEIKYOUSISUI: 528
SC_KO_JYUMONJIKIRI: 529
SC_KYOUGAKU: 530
SC_IZAYOI: 531
SC_ZENKAI: 532
SC_KG_KAGEHUMI: 533
SC_KYOMU: 534
SC_KAGEMUSYA: 535
SC_ZANGETSU: 536
SC_GENSOU: 537
SC_AKAITSUKI: 538
SC_STYLE_CHANGE: 539
SC_GOLDENE_FERSE: 540
SC_ANGRIFFS_MODUS: 541
SC_ERASER_CUTTER: 542
SC_OVERED_BOOST: 543
SC_LIGHT_OF_REGENE: 544
SC_VOLCANIC_ASH: 545
SC_GRANITIC_ARMOR: 546
SC_MAGMA_FLOW: 547
SC_PYROCLASTIC: 548
SC_NEEDLE_OF_PARALYZE: 549
SC_PAIN_KILLER: 550
SC_EXTREMITYFIST2: 551
SC_RAID: 552
SC_DARKCROW: 553
SC_FULL_THROTTLE: 554
SC_REBOUND: 555
SC_UNLIMIT: 556
SC_KINGS_GRACE: 557
SC_TELEKINESIS_INTENSE: 558
SC_OFFERTORIUM: 559
SC_FRIGG_SONG: 560
SC_ALL_RIDING: 561
SC_HANBOK: 562
SC_MONSTER_TRANSFORM: 563
SC_ANGEL_PROTECT: 564
SC_ILLUSIONDOPING: 565
SC_MTF_ASPD: 566
SC_MTF_RANGEATK: 567
SC_MTF_MATK: 568
SC_MTF_MLEATKED: 569
SC_MTF_CRIDAMAGE: 570
SC_MOONSTAR: 571
SC_SUPER_STAR: 572
SC_OKTOBERFEST: 573
SC_STRANGELIGHTS: 574
SC_DECORATION_OF_MUSIC: 575
SC__MAELSTROM: 576
SC__CHAOS: 577
SC__FEINTBOMB_MASTER: 578
SC_FALLENEMPIRE: 579
SC_FLASHCOMBO: 580
SC_DEFSET: 581
SC_MDEFSET: 582
SC_NO_SWITCH_EQUIP: 583
// 2014 Halloween Event
SC_MTF_MHP: 584
SC_MTF_MSP: 585
SC_MTF_PUMPKIN: 586
SC_MTF_HITFLEE: 587
SC_LJOSALFAR: 588
SC_MERMAID_LONGING: 589
SC_ACARAJE: 590
SC_TARGET_ASPD: 591
// Geffen Scrolls
SC_SKELSCROLL: 592
SC_DISTRUCTIONSCROLL: 593
SC_ROYALSCROLL: 594
SC_IMMUNITYSCROLL: 595
SC_MYSTICSCROLL: 596
SC_BATTLESCROLL: 597
SC_ARMORSCROLL: 598
SC_FREYJASCROLL: 599
SC_SOULSCROLL: 600
// Eden Crystal Synthesis
SC_QUEST_BUFF1: 601
SC_QUEST_BUFF2: 602
SC_QUEST_BUFF3: 603
// Geffen Magic Tournament
SC_GEFFEN_MAGIC1: 604
SC_GEFFEN_MAGIC2: 605
SC_GEFFEN_MAGIC3: 606
SC_FENRIR_CARD: 607
SC_ATKER_ASPD: 608
SC_ATKER_MOVESPEED: 609
SC_FOOD_CRITICALSUCCESSVALUE: 610
SC_CUP_OF_BOZA: 611
SC_OVERLAPEXPUP: 612
SC_MORA_BUFF: 613
// MVP Scrolls
SC_MVPCARD_TAOGUNKA: 614
SC_MVPCARD_MISTRESS: 615
SC_MVPCARD_ORCHERO: 616
SC_MVPCARD_ORCLORD: 617
SC_HAT_EFFECT: 618
SC_FLOWERSMOKE: 619
SC_FSTONE: 620
SC_HAPPINESS_STAR: 621
SC_MAPLE_FALLS: 622
SC_TIME_ACCESSORY: 623
SC_MAGICAL_FEATHER: 624
SC_BLOSSOM_FLUTTERING: 625
SC_GM_BATTLE: 626
SC_GM_BATTLE2: 627
SC_2011RWC: 628
SC_STR_SCROLL: 629
SC_INT_SCROLL: 630
SC_STEAMPACK: 631
SC_MOVHASTE_POTION: 632
SC_MOVESLOW_POTION: 633
SC_BUCHEDENOEL: 634
SC_PHI_DEMON: 635
SC_PROMOTE_HEALTH_RESERCH: 636
SC_ENERGY_DRINK_RESERCH: 637
SC_MAGIC_CANDY: 638
SC_M_LIFEPOTION: 639
SC_G_LIFEPOTION: 640
SC_MYSTICPOWDER: 641
// Summoner
SC_SUHIDE: 642
SC_SU_STOOP: 643
SC_SPRITEMABLE: 644
SC_CATNIPPOWDER: 645
SC_SV_ROOTTWIST: 646
SC_BITESCAR: 647
SC_ARCLOUSEDASH: 648
SC_TUNAPARTY: 649
SC_SHRIMP: 650
SC_FRESHSHRIMP: 651
SC_DAILYSENDMAILCNT: 653
// Summer 2 Costume
SC_DRESS_UP: 652
// Clan System
SC_CLAN_INFO: 654
SC_SIT: 655
SC_MOON: 656
SC_TING: 657
SC_DEVIL1: 658
SC_RIDING: 659
SC_FALCON: 660
SC_WUGRIDER: 661
SC_POSTDELAY: 662
SC_ON_PUSH_CART: 663
SC_RESIST_PROPERTY_WATER: 664
SC_RESIST_PROPERTY_GROUND: 665
SC_RESIST_PROPERTY_FIRE: 666
SC_RESIST_PROPERTY_WIND: 667
SC_CLIENT_ONLY_EQUIP_ARROW: 668
comment__: "petstat"
comment__: "petstat - deprecated, use *getpetinfo"
PET_CLASS: {
Value: 1
Deprecated: true
}
PET_NAME: {
Value: 2
Deprecated: true
}
PET_LEVEL: {
Value: 3
Deprecated: true
}
PET_HUNGRY: {
Value: 4
Deprecated: true
}
PET_INTIMATE: {
Value: 5
Deprecated: true
}
comment__: "getmonsterinfo"
MOB_NAME: 0
MOB_LV: 1
MOB_MAXHP: 2
MOB_BASEEXP: 3
MOB_JOBEXP: 4
MOB_ATK1: 5
MOB_ATK2: 6
MOB_DEF: 7
MOB_MDEF: 8
MOB_STR: 9
MOB_AGI: 10
MOB_VIT: 11
MOB_INT: 12
MOB_DEX: 13
MOB_LUK: 14
MOB_RANGE: 15
MOB_RANGE2: 16
MOB_RANGE3: 17
MOB_SIZE: 18
MOB_RACE: 19
MOB_ELEMENT: 20
MOB_MODE: 21
MOB_MVPEXP: 22
MOB_DMG_TAKEN_RATE: 23
comment__: "mercenary guilds"
ARCH_MERC_GUILD: 0
SPEAR_MERC_GUILD: 1
SWORD_MERC_GUILD: 2
comment__: "Hercules Effects"
EF_NONE: -1
EF_HIT1: 0
EF_SNOW: 162
EF_SAKURA: 163
EF_CLOUD3: 233
EF_POKJUK: 297
EF_THROWITEM2: 299
EF_POKJUK_SOUND: 301
EF_MAPLE: 333
EF_GUARD: 336
EF_ANGEL2: 338
EF_ENTRY2: 344
EF_BABY: 408
EF_BABYBODY: 420
EF_BABYBODY2: 421
EF_GIANTBODY: 422
EF_GIANTBODY2: 423
EF_ATTACKENERGY2: 438
EF_GRANDCROSS2: 450
EF_STORMKICK4: 462
EF_CLOUD4: 515
EF_CLOUD5: 516
EF_TAROTCARD1: 523
EF_TAROTCARD2: 524
EF_TAROTCARD3: 525
EF_TAROTCARD4: 526
EF_TAROTCARD5: 527
EF_TAROTCARD6: 528
EF_HO_UP: 568
EF_COOKING_OK: 608
EF_COOKING_FAIL: 609
comment__: "NPC sprite IDs"
FAKE_NPC: -1
WARPNPC: 45
EFFECTLAUNCHER: 104
HIDDEN_NPC: 111
HIDDEN_WARP_NPC: 139
MOB_TOMB: 565
GUILD_FLAG: 722
1_SHADOW_NPC: 723
TW_TOWER: 812
2_BOARD1: 835
2_BOARD2: 836
2_BULLETIN_BOARD: 837
CLEAR_NPC: 844
PORTAL: 10007
4_SYSTEM_BOX: 10248
comment__: "Mercenary IDs"
MER_LIF: 6001
MER_AMISTR: 6002
MER_FILIR: 6003
MER_VANILMIRTH: 6004
MER_LIF2: 6005
MER_AMISTR2: 6006
MER_FILIR2: 6007
MER_VANILMIRTH2: 6008
MER_LIF_H: 6009
MER_AMISTR_H: 6010
MER_FILIR_H: 6011
MER_VANILMIRTH_H: 6012
MER_LIF_H2: 6013
MER_AMISTR_H2: 6014
MER_FILIR_H2: 6015
MER_VANILMIRTH_H2: 6016
MER_ARCHER01: 6017
MER_ARCHER02: 6018
MER_ARCHER03: 6019
MER_ARCHER04: 6020
MER_ARCHER05: 6021
MER_ARCHER06: 6022
MER_ARCHER07: 6023
MER_ARCHER08: 6024
MER_ARCHER09: 6025
MER_ARCHER10: 6026
MER_LANCER01: 6027
MER_LANCER02: 6028
MER_LANCER03: 6029
MER_LANCER04: 6030
MER_LANCER05: 6031
MER_LANCER06: 6032
MER_LANCER07: 6033
MER_LANCER08: 6034
MER_LANCER09: 6035
MER_LANCER10: 6036
MER_SWORDMAN01: 6037
MER_SWORDMAN02: 6038
MER_SWORDMAN03: 6039
MER_SWORDMAN04: 6040
MER_SWORDMAN05: 6041
MER_SWORDMAN06: 6042
MER_SWORDMAN07: 6043
MER_SWORDMAN08: 6044
MER_SWORDMAN09: 6045
MER_SWORDMAN10: 6046
comment__: "checkquest"
HAVEQUEST: 0
PLAYTIME: 1
HUNTING: 2
comment__: "questinfo"
QTYPE_NONE: 0x270f
QTYPE_QUEST: 0x00
QTYPE_QUEST2: 0x01
QTYPE_JOB: 0x02
QTYPE_JOB2: 0x03
QTYPE_EVENT: 0x04
QTYPE_EVENT2: 0x05
QTYPE_WARG: 0x06
QTYPE_CLICKME: 0x06
QTYPE_DAILYQUEST: 0x07
QTYPE_WARG2: 0x08
QTYPE_EVENT3: 0x08
QTYPE_JOBQUEST: 0x09
QTYPE_JUMPING_PORING: 0xA
comment__: "Font weight"
FW_DONTCARE: 0
FW_THIN: 100
FW_EXTRALIGHT: 200
FW_LIGHT: 300
FW_NORMAL: 400
FW_MEDIUM: 500
FW_SEMIBOLD: 600
FW_BOLD: 700
FW_EXTRABOLD: 800
FW_HEAVY: 900
comment__: "old setlook (use LOOK_* constants instead)"
VAR_HEAD: {
Value: 1
Deprecated: true // Use LOOK_HAIR
}
VAR_WEAPON: {
Value: 2
Deprecated: true // Use LOOK_WEAPON
}
VAR_HEAD_TOP: {
Value: 3
Deprecated: true // Use LOOK_HEAD_TOP
}
VAR_HEAD_MID: {
Value: 4
Deprecated: true // Use LOOK_HEAD_MID
}
VAR_HEAD_BOTTOM: {
Value: 5
Deprecated: true // Use LOOK_HEAD_BOTTOM
}
VAR_HEADPALETTE: {
Value: 6
Deprecated: true // Use LOOK_HAIR_COLOR
}
VAR_BODYPALETTE: {
Value: 7
Deprecated: true // Use LOOK_CLOTHES_COLOR
}
VAR_SHIELD: {
Value: 8
Deprecated: true // Use LOOK_SHIELD
}
VAR_SHOES: {
Value: 9
Deprecated: true // Use LOOK_SHOES
}
comment__: "Directions"
DIR_NORTH: 0
DIR_NORTHWEST: 1
DIR_WEST: 2
DIR_SOUTHWEST: 3
DIR_SOUTH: 4
DIR_SOUTHEAST: 5
DIR_EAST: 6
DIR_NORTHEAST: 7
comment__: "Item types"
IT_HEALING: 0
IT_USABLE: 2
IT_ETC: 3
IT_WEAPON: 4
IT_ARMOR: 5
IT_CARD: 6
IT_PETEGG: 7
IT_PETARMOR: 8
IT_AMMO: 10
IT_DELAYCONSUME: 11
IT_CASH: 18
comment__: "queueopt"
QUEUEOPT_LOGOUT: 1
QUEUEOPT_DEATH: 2
QUEUEOPT_MAPCHANGE: 3
comment__: "Instance owner type"
IOT_NONE: 0
IOT_CHAR: 1
IOT_PARTY: 2
IOT_GUILD: 3
comment__: "strcharinfo"
PC_NAME: 0
PC_PARTY: 1
PC_GUILD: 2
PC_MAP: 3
PC_CLAN: 4
comment__: "strnpcinfo"
NPC_NAME: 0
NPC_NAME_VISIBLE: 1
NPC_NAME_HIDDEN: 2
NPC_NAME_UNIQUE: 3
NPC_MAP: 4
comment__: "getcharid"
CHAR_ID_CHAR: 0
CHAR_ID_PARTY: 1
CHAR_ID_GUILD: 2
CHAR_ID_ACCOUNT: 3
CHAR_ID_BG: 4
CHAR_ID_CLAN: 5
comment__: "sc_start"
SCFLAG_NONE: 0x00
SCFLAG_NOAVOID: 0x01
SCFLAG_FIXEDTICK: 0x02
SCFLAG_LOADED: 0x04
SCFLAG_FIXEDRATE: 0x08
SCFLAG_NOICON: 0x10
comment__: "Mount types"
MOUNT_NONE: 0
MOUNT_PECO: 1
MOUNT_WUG: 2
MOUNT_MADO: 3
MOUNT_DRAGON: 4
MOUNT_DRAGON_GREEN: 4
MOUNT_DRAGON_BROWN: 5
MOUNT_DRAGON_GRAY: 6
MOUNT_DRAGON_BLUE: 7
MOUNT_DRAGON_RED: 8
comment__: "Gettime Types"
GETTIME_SECOND: 1
GETTIME_MINUTE: 2
GETTIME_HOUR: 3
GETTIME_WEEKDAY: 4
GETTIME_DAYOFMONTH: 5
GETTIME_MONTH: 6
GETTIME_YEAR: 7
GETTIME_DAYOFYEAR: 8
comment__: "gettimer"
TIMER_COUNT: 0
TIMER_TICK_NEXT: 1
TIMER_TICK_LAST: 2
comment__: "unit types"
UNITTYPE_PC: 0
UNITTYPE_NPC: 1
UNITTYPE_PET: 2
UNITTYPE_MOB: 3
UNITTYPE_HOM: 4
UNITTYPE_MER: 5
UNITTYPE_ELEM: 6
comment__: "Unit AI Types"
AI_NONE: 0 //0: Normal mob.
AI_ATTACK: 1 //1: Standard summon, attacks mobs.
AI_SPHERE: 2 //2: Alchemist Marine Sphere
AI_FLORA: 3 //3: Alchemist Summon Flora
AI_ZANZOU: 4 //4: Summon Zanzou
comment__: "Colors"
C_AQUA: 0x00FFFF
C_BLACK: 0x000000
C_BLUE: 0x0000FF
C_GRAY: 0x808080
C_GREEN: 0x008000
C_LIME: 0x00FF00
C_MAROON: 0x800000
C_NAVY: 0x000080
C_OLIVE: 0x808000
C_ORANGE: 0xFFA500
C_PURPLE: 0x800080
C_RED: 0xFF0000
C_SILVER: 0xC0C0C0
C_SPRINGGREEN: 0x00FF99
C_TEAL: 0x008080
C_WHITE: 0xFFFFFF
C_YELLOW: 0xFFFF00
C_PINK: 0xFFC0CB
C_CHOCOLATE: 0xD2691E
C_GOLD: 0xFFD700
C_VIOLET: 0xEE82EE
comment__: "Genders"
SEX_FEMALE: 0
SEX_MALE: 1
SEX_ANY: 2
comment__: "inventory expansion"
INVENTORY_INCREASE_STEP: 10
// for disable warning
//ITMCHAIN_ORE: 1
/* ==================================================== */
/** evol constants **/
comment__: "API codes"
API_DISCORD: 301
API_PINCODE: 302
API_SENDMAIL: 501
API_FLUSHVAULT: 607
comment__: "outdated constants. must be removed"
// >>>
equip_head: 1
equip_shield: 2
equip_hand2: 3
equip_hand1: 4
equip_gloves: 5
equip_shoes: 6
equip_misc1: 7
equip_misc2: 8
equip_torso: 9
equip_legs: 10
// <<<
comment__: "guild permissions"
GPERM_INVITE: 1
GPERM_EXPEL: 16
GPERM_ALL: 17
comment__: "guild positions"
GPOS_GUILDMASTER: 0
GPOS_VICELEADER: 1 // pos2
GPOS_RECRUITER: 2 // pos3
GPOS_TREASURER: 3 // pos4
GPOS_MEMBER: 4 // pos5
GPOS_6: 5 // pos6
GPOS_NEWBIE: 19
comment__: "guild exchange"
GEX_fruit1: 1
GEX_fruit2: 2
GEX_fruit3: 4
GEX_fruit4: 8
GEX_fruit5: 16
GEX_merc1: 32
GEX_merc2: 64
GEX_merc3: 128
GEX_merc4: 256
GEX_merc5: 512
GEX_blue1: 1024
GEX_blue2: 2048
GEX_blue3: 4096
GEX_blue4: 8192
GEX_blue5: 16384
GEX_arcmage1: 32768
GEX_arcmage2: 65536
GEX_arcmage3: 131072
GEX_arcmage4: 262144
GEX_arcmage5: 524288
GEX_elixir1: 1048576
GEX_elixir2: 2097152
GEX_elixir3: 4194304
GEX_elixir4: 8388608
GEX_elixir5: 16777216
GEX_scholar1: 33554432
GEX_scholar2: 67108864
GEX_scholar3: 134217728
GEX_scholar4: 268435456
GEX_scholar5: 536870912
// TOTAL 1073741824 : The last valid slot
GEX_fruitMAX: -1
GEX_mercMAX: -2
GEX_blueMAX: -3
GEX_arcmageMAX: -4
GEX_elixirMAX: -5
GEX_scholarMAX: -6
comment__: "genders"
G_FEMALE: 0
G_MALE: 1
G_OTHER: 3
comment__: "races"
Human: 0
MedHu: 1
DarkHu: 2
Elven: 3
Orc: 4
Raijin: 5
Tritan: 6
Ukar: 7
Redy: 8
Savior: 9
comment__: "directions"
DOWN: 0
DOWNLEFT: 1
LEFT: 2
UPLEFT: 3
UP: 4
UPRIGHT: 5
RIGHT: 6
DOWNRIGHT: 7
comment__: "seasons"
WINTER: 0
SPRING: 1
SUMMER: 2
AUTUMN: 3
comment__: "magic subclass"
CL_PALADIN: 1
CL_TANKER: 2
CL_BERSERKER: 4
CL_RANGER: 8
CL_SNIPER: 16
CL_WIZARD: 32
CL_SAGE: 64
CL_PRIEST: 128
comment__: "Heroes Hold Floors"
HH_NOVICE: 1
HH_INTERMEDIARY: 2
HH_ADVANCED: 4
HH_EXPERT: 8
HH_MASTER: 16
HH_ULTIMATE: 32
HH_SUPREME: 64
HH_SAULC: 128
HH_MOUBOO: 256
HH_MOUBOOTAUR: 512
// Composed Variable for optimization
HH_REQUISITE: 15
comment__: "difficulty levels"
EASY: 0
MEDIUM: 1
HARD: 2
comment__: "map masks"
MASK_NONE: 1
MASK_MATTACK: 2
MASK_EVILSANCTUM: 4
MASK_NIGHT: 8
MASK_RAIN: 16
MASK_SANDSTORM: 32
MASK_SNOW: 64
MASK_CHRISTMAS: 128
MASK_AUTUMN: 256
MASK_UNUSED: 512
MASK_SPECIAL: 1024
comment__: "Real Estate Collisions"
RES_UTILITIES: 1
RES_LUXURY: 3
RES_DECORATION: 2
RES_SITTABLE: 4
RES_OBJECTS: 5
RES_WALLDECORATION: 6
comment__: "speechflags"
S_FIRST_BLANK_LINE: 1
S_LAST_BLANK_LINE: 2
S_LAST_NEXT: 4
S_NO_NPC_NAME: 8
comment__: "npcs"
NPC_KNIVES: 100
NPC_REDY_MAN: 101
NPC_HAT_BOX: 102
NPC_RAIJIN_MAN: 103
NPC_ORC_MAN: 104
NPC_REDY_MAN_SITTING: 105
NPC_ELVEN_MAN_BLONDE: 106
NPC_ELVEN_MAN_RED: 107
NPC_ELVEN_MAN_TRADER: 108
NPC_SHOP_BAG: 109
NPC_ELVEN_MAN_STANDING: 110
NPC_TRITAN_MAN_SAILOR: 111
NPC_ELVEN_MAN_TRADER_SITTING: 112
NPC_TRITAN_MAN_SAILOR2: 113
NPC_REDY_MAN_SITTING_BOOTS: 114
NPC_REDY_MAN_SITTING_UNDER_TREE: 115
NPC_PAPER_NOTE: 116
NPC_ELVEN_FEMALE_ARMOR_SHOP: 117
NPC_ELVEN_MAN_MOUBOO_SHOP: 118
NPC_HUMAN_FEMALE_NOOB: 119
NPC_REDY_MALE_SWORD: 120
NPC_ELVEN_FEMALE_READING: 121
NPC_HUMAN_MALE_OLD: 122
NPC_RAIJIN_GIRL: 123
NPC_HUMAN_MALE_CHIEF: 124
NPC_SALEM: 125
NPC_LLOYD: 126
NPC_IVAN: 127
NPC_ALIGE_OUTSIDE_BARREL: 128
NPC_MERLIN: 129
NPC_Q_ANON: 130
NPC_SAMANTHA: 131
NPC_SERENA: 132
//NPC_NARRATOR: 133
NPC_FLOPPED_NOBLEMAN: 133
NPC_ARTAXE: 134
NPC_LUCAS: 135
NPC_CALYPSAN: 136
NPC_KAYLO: 137
NPC_LYDON: 138
// Reserved HIDDEN_WARP_NPC
NPC_QPID: 140
NPC_JANUS: 141
NPC_CHRISTOPHER: 142
NPC_ROBIN: 143
NPC_LEONARD: 144
NPC_OSCAR: 145
NPC_SHOP_BAG_TEST: 146
NPC_RED: 147
// TMW-BR
NPC_CHILD1: 148
NPC_CHILD2: 149
NPC_CHILD3: 150
NPC_CHILD4: 151
NPC_CHILD5: 152
NPC_CHILD6: 153
NPC_CHILD7: 154
NPC_CHILD8: 155
NPC_CHILD9: 156
NPC_CHILD0: 157
NPC_TRAP: 158
NPC_TRAP_ONLINE: 159
NPC_TRAP_TRIGGERED: 160
NPC_FANCY_CIRCLE: 161
NPC_FAKIR: 162
NPC_EASTER: 163
// Statues
NPC_STATUE_FAFA: 164
NPC_STATUE_BACCHUS: 165
NPC_STATUE_BANKER: 166
NPC_STATUE_ANDREI: 167
NPC_STATUE_EVILMAN: 168
NPC_STATUE_GUARD: 169
NPC_STATUE_WIZARD: 170
NPC_STATUE_CONTRIBUTOR: 171
NPC_STATUE_2018: 172
NPC_STATUE_2019: 173
NPC_STATUE_2020: 174
NPC_STATUE_2021: 175
NPC_STATUE_R176: 176
NPC_STATUE_R177: 177
NPC_STATUE_R178: 178
NPC_STATUE_EMPTY: 179
// Not animated NPCs
NPC_CONSTR_WORKER: 180
NPC_BOWMASTER: 181
NPC_LUMBERJACK: 182
NPC_KOGA: 183
NPC_MOUBOOHUNTER: 184
NPC_HALBERDBARBARIAN: 185
NPC_SCORPIONKINGLANCE: 186
NPC_LIGHTBRINGER: 187
NPC_TEDDYGIRL: 188
NPC_CROPS: 189
NPC_BLOSSOM: 190
NPC_THORN_NPC: 191 // NPC_THORNS is for Dungeon
NPC_GOLDPOT: 192
NPC_SAGRATHA: 193
NPC_BLUESAGEWORKER_MA: 194
NPC_BLUESAGEWORKER_FA: 195
NPC_BLUESAGEWORKER_MB: 196
NPC_BLUESAGEWORKER_FB: 197
NPC_BLUESAGE: 198
NPC_BLUESAGEWORKER_MC: 199
// LoF Non Animated NPCs
NPC_FORTIUN: 200
NPC_FUSUS: 201
NPC_AULDSBEL: 202
NPC_FEMALE_WORKER: 203
NPC_GEORGE: 205
NPC_SILVERSMITH: 207
NPC_TECH_EXPLORER: 208
NPC_CHEF: 210
NPC_GLASS_OLD_LADY: 211
NPC_PURPLE_WIZARD_F: 212
NPC_BARD_TRUMP: 213
NPC_INJURIED_MOUBOO: 215
NPC_KATZE: 216
NPC_LEGACY_GUARD_B: 217
NPC_LEGACY_GUARD_C: 218
NPC_SITTED_NINJA: 219
NPC_SCAMMER: 220
NPC_CRUSADER: 221
NPC_LEGACY_GUARD_A: 222
NPC_LOF_RICH: 223
NPC_BARD_DRUMS: 227
NPC_LOF_DOCTOR: 228
NPC_SWORDS_SIGN: 229
NPC_SWORDS_SIGN2: 230
NPC_TOMBOY: 231
NPC_LOF_BARKEEPER: 232
NPC_LOF_TRAVMERC: 233
NPC_LOF_STRANGER: 234
NPC_LOF_NOBLEMAN: 235
NPC_SHEILA: 236
NPC_DIMOND: 240
NPC_BARD_HARPS: 241
NPC_VAULT: 243
NPC_INDIGENOUS_YOUNG: 244
NPC_INDIGENOUS_OLD: 245
NPC_INDIGENOUS_CHIEF: 246
NPC_INDIGENOUS_WIFE: 247
NPC_INDIGENOUS_ANY: 248
NPC_LEGACY_GUARD_D: 249
NPC_CINDY_CAGE: 250
NPC_CINDY_UNCAGE: 251
NPC_CINDY: 252
NPC_ICE_CAGE: 253
NPC_INJURIED_GIRL: 254
NPC_BARBARA_CRY: 255
NPC_KING_ARTHUR: 256
NPC_PIOU_SPEARMAN: 257
NPC_PIOU_VIKING: 258
NPC_PIOU_SERVER: 259
NPC_PIOU_BANKER: 260
NPC_PIOU_CAPTAIN: 261
NPC_PIOU_BARBER: 262
NPC_PIOU_GUARD: 263
NPC_PIOU_COOK: 264
NPC_PIOU_NURSE: 265
NPC_PIOU_MAGE: 266
NPC_PIOU_QUEEN: 267
NPC_PIOU_KNIGHT_L: 268
NPC_PIOU_KNIGHT_R: 260
NPC_PIOU_ALCHEMIST: 270
NPC_DUCK_ELDER: 271
NPC_GUINEVERE: 272
NPC_MANATREE: 273
NPC_TRAP_B: 274
NPC_TRAP_ONLINE_B: 275
NPC_HENRY: 276
NPC_ELLI: 277
NPC_LEGACY_LIEUTENANT: 278
NPC_OMAR: 279
NPC_JOANA: 280
NPC_KADIYA: 281
NPC_SASHA: 282
// TMW-BR Non Animated NPCs
NPC_SHOPPAKEP: 301
NPC_OLDPIRATE: 304
NPC_BRGUARD_SWORD: 306
NPC_BRGUARD_SPEAR: 307
NPC_BRGUARD_BOW: 308
NPC_JOURNALMAN: 309
NPC_FISHERMAN_HALI: 311
NPC_DARK_SORCERER_F: 312
NPC_ANSELMO_BR: 315
NPC_FAIRY_A: 316
NPC_FAIRY_B: 317
NPC_FAIRY_C: 318
NPC_GNOME_A: 319
NPC_GNOME_B: 320
NPC_GNOME_C: 321
NPC_WEIRDGREEN: 322
NPC_MIRAJ: 323
NPC_BELLA: 324
NPC_RED_WIZARD_F: 325
NPC_CRYSTAL: 326
NPC_POOH: 327
NPC_ERNANDO: 328
NPC_ANDREI: 329
NPC_MOUBOOTAUR: 330
NPC_BLACKALCHEMIST: 331
NPC_BLACKWIZARD: 332
NPC_BLUESABER: 333
NPC_REDSABER: 334
NPC_DARKSABER: 335
NPC_DWARF_TRADER: 336
NPC_DWARF_CRAFTMASTER: 337
NPC_LILIT: 338
// Animated NPCs
NPC_CONFUSED_TREE: 400
NPC_ALIGE: 401
NPC_ORC_SAILOR: 402
NPC_RATTO_SAILOR: 403
NPC_JULIA: 404
NPC_SAILORS: 405
NPC_NARD: 406
NPC_MAGIC_ARPAN: 407
NPC_PIOU_ROCKET: 408
NPC_ELMO: 409
NPC_HAMMOC: 410
NPC_BILLY_BONS: 411
NPC_SILVIO: 412
NPC_GUGLI: 413
NPC_SAPARTAN: 414
NPC_TARLAN: 415
NPC_CHEST: 416
NPC_CHEST_BIG: 417
NPC_CHEF_GADO: 418
NPC_COOKIE_MASTER: 419
NPC_HARBOUR_WHEEL: 420
NPC_HARBOUR_WHEEL_BOX: 421
NPC_FLASK: 422
NPC_TERRY: 423
NPC_BEUSS: 424
NPC_ELMO_ARTIS: 425
NPC_QONAN: 426
NPC_ELVEN_FEMALE: 427
NPC_EUGENE: 428
NPC_NICHOLAS: 429
NPC_EDOUARD: 430
NPC_UKAR_MALE_LEGION_ARTIS: 431
NPC_REDY_MALE_LEGION_ARTIS: 432
NPC_RAIJIN_FEMALE_LEGION_ARTIS: 433
NPC_HUMAN_MALE_LEGION_ARTIS: 434
NPC_HUMAN_FEMALE_LEGION_ARTIS: 435
NPC_RAIJIN_FEMALE_WAITRESS: 436
NPC_MARKET_PIOU: 437
NPC_FLYING_PIOU: 440
NPC_WATER_SPLASH: 441
NPC_ALIGE_BARREL: 442
NPC_BACCHUS: 443
NPC_RUMLY: 444
NPC_RUMLY_FEMALE: 445
NPC_HUMAN_M_ARTIS: 446
NPC_BINKSAN: 447
NPC_DEVIS_ARTIS: 448
NPC_MOUBOO: 449
NPC_MONA: 450
NPC_GUARD1: 451
NPC_GUARD2: 452
NPC_SUMMONING_CIRC: 453
NPC_YETI_KING: 454
NPC_LOF_FURNACE: 455
NPC_PET_TAMER: 456
NPC_YETI: 457
NPC_KENTON: 458
NPC_GUARD_DEAD: 459
NPC_LEGACY_CHEST: 416
NPC_BEEKEEPER: 461
NPC_EURNI: 462
NPC_MONSTERKING: 500
NPC_AIRSHIP: 501
NPC_POLITICS: 502
NPC_GAMEMASTER: 503
NPC_GAMEMISTRESS: 504
NPC_WOUNDEDSOLDIER: 505
NPC_ACADEMY_HF: 506
NPC_DEMURE: 507
NPC_YETIFLY: 508
NPC_SOUL_NORMAL: 700
NPC_SOUL_DESERT: 701
NPC_SOUL_SNOW: 702
NPC_SOUL_CAVE: 703
NPC_SOUL_CLEAN: 704
NPC_SOUL_OLD: 705
NPC_SOUL_MOSS: 706
NPC_SOUL_CURSED: 707
NPC_MANA_STONE: 708
NPC_TEST1: 800
NPC_PLAYER: 801
NPC_FEMALE: 802
NPC_ELF: 803
NPC_ELF_F: 804
NPC_SAVIOR: 805
NPC_SAVIOR_F: 806
NPC_ORC: 820
NPC_ORC_F: 821
NPC_RAIJIN: 822
NPC_RAIJIN_F: 823
NPC_UKAR: 824
NPC_UKAR_F: 825
NPC_PLAYER_TONORI: 830
NPC_FEMALE_TONORI: 831
NPC_PLAYER_ARGAES: 832
NPC_FEMALE_ARGAES: 833
NPC_M_SHOPKEEPER: 811
NPC_F_SHOPKEEPER: 812
NPC_M_COINKEEPER: 813
NPC_F_COINKEEPER: 814
NPC_SAVE_POINT: 901
NPC_LEFT_HAMMOCK: 904
NPC_RIGHT_HAMMOCK: 905
NPC_ARTIS_DOOR: 906
NPC_ARTIS_IN_DOOR: 907
NPC_ARTIS_DOOR_WOOD: 908
NPC_TREE_LEAF: 909
NPC_FINAL_POINT: 910
NPC_KATJA_TREE: 911
NPC_DAN_NOTE: 912
NPC_SLOTMACHINE: 913
NPC_SWITCH_OFFLINE: 914
NPC_SWITCH_ONLINE: 915
NPC_ROLLINGSTONE: 916
// Avatars (1000+)
AVATAR_CARDA: 1000
AVATAR_CARD2: 1001
AVATAR_CARD3: 1002
AVATAR_CARD4: 1003
AVATAR_CARD5: 1004
AVATAR_CARD6: 1005
AVATAR_CARD7: 1006
AVATAR_CARD8: 1007
AVATAR_CARD9: 1008
AVATAR_CARD10: 1009
AVATAR_CARDJ: 1010
AVATAR_CARDQ: 1011
AVATAR_CARDK: 1012
AVATAR_CARD_JOKER: 1013
AVATAR_CARD_COVER: 1015
AVATAR_SEQBOARD: 1200
AVATAR_SEQBOARD_FAIL: 1205
AVATAR_SEQBOARD_WELL: 1206
comment__: "special npcs"
NPC_EMPTY: -1
NPC_WARP: 45
NPC_WARP_HIDDEN: 139
NPC_UNUSED__MOBTOMB: 565
NPC_WARP_DEBUG: 722
NPC_UNUSED__FLAG: 722
NPC_OFFSET_NO_SPRITE: 998
NPC_NO_SPRITE: 999
NPC_HIDDEN: 32767
comment__: "Walk masks"
WALK_DEFAULT: 0
WALK_WALL: 1
WALK_WATER: 2
WALK_AIR: 4
comment__: "Cell masks"
CELLS_WALKABLE : 0
CELLS_WALL : 1
CELLS_AIR : 2
CELLS_WATER : 3
CELLS_NOPLAYER : 5
CELLS_NOMONSTER : 6
comment__: "INN enum"
NO_INN: 0
CURRENT_INN: 2
comment__: "CRAFT enum"
CRAFT_COOKING: 4
CRAFT_ALCHEMY: 8
CRAFT_EQUIPMENT: 16
comment__: "CRAFT Scope enum"
CRAFT_NPC: 4
CRAFT_PLAYER: 8
CRAFT_GUILD: 16
comment__: "CRAFT Rarity enum"
CRAFT_BASIC: 1
CRAFT_INTERMEDIARY: 2
CRAFT_ADVANCED: 4
CRAFT_EXPERT: 8
CRAFT_MASTER: 16
comment__: "CRAFT Bonus Correction enum"
CSYS_ARMOR: 1
CSYS_ZWEIHANDER: 2
CSYS_BRAWLING: 4
CSYS_RANGED: 8
CSYS_MAGICAL: 16
CSYS_SPECIAL: 32
CSYS_OTHER: 64
CSYS_SAVIOR: 128
CSYS_SHIELD: 256
CSYS_LEGENDARY: 512
comment__: "Easter eggs enum"
EE_NONE: 0
EE_SAXSO: 1
EE_DEMURE: 2
EE_PRSM: 4
EE_MAGICSCHOOL: 8
EE_THEATER: 16
EE_JAK1: 32
EE_MANATAURO: 64
EE_SEWERS: 128
EE_AETHYR: 256
EE_SNOWMAN: 512
EE_CRAZYFEFE: 1024
EE_SAULC: 2048
EE_GEMINI: 4096
comment__: "Teleporter enum"
TP_NONE: 0
TP_FROST: 1
TP_HALIN: 2
TP_TULIM: 4
TP_HURNS: 8
TP_NIVAL: 16
TP_LOF: 32
TP_FORT: 64
TP_BOSSR: 128
TP_LILIT: 256
TP_CANDOR: 512
TP_ARTIS: 1024
comment__: "Grand Collector Quest enum"
COLLECT_CHESTPLATE: 1
COLLECT_HEADGEAR: 2
COLLECT_PANTS: 4
COLLECT_SHOES: 8
COLLECT_NECKLACES: 16
COLLECT_RINGS: 32
COLLECT_ACESSORIES: 64
COLLECT_SCARFS: 128
COLLECT_GLOVES: 256
COLLECT_SHIELDS: 512
COLLECT_1HSWORDS: 1024
COLLECT_2HSWORDS: 2048
COLLECT_BOWS: 4096
COLLECT_FIREGUNS: 8192
COLLECT_WANDS: 16384
COLLECT_QUIVERS: 32768
COLLECT_MOUNTS: 65536
COLLECT_PETS: 131072
// Maximum 32 collectibles, currently used: 19
comment__: "Monster King Events"
MK_NONE: 0
MK_LOCKED: 1
MK_SIEGE_TULIM: 2
MK_SIEGE_HURNS: 3
MK_SIEGE_NIVAL: 4
MK_SIEGE_HALIN: 5
// Special
MK_SIEGE_DURATION: 790
MK_IDLE_DURATION: 30
MK_IDLE_VARIATION: 5
MK_SIEGE_TOTALPOWER: 1000
MK_FIRESOFSTEAM_START: 6
comment__: "Fortress Island Reqs"
MKIF_LV_0F: 3
MKIF_LV_B0F: 5
MKIF_LV_B1F: 7
MKIF_LV_B2F: 10
comment__: "Report Bug Flags"
RB_NONE: 0
RB_DISPBOTTOM: 1
RB_DEBUGMES: 2
RB_SPEECH: 4
RB_ISFATAL: 8
RB_PLEASEREPORT: 16
RB_IRCBROADCAST: 32
RB_GLOBALANNOUNCE: 64
RB_DEFAULT: 19 // dispbottom + debugmes + pleasereport
comment__: "Blue Sage Constants"
// Q - Quest / Investigation Quest
BS_QVISITOR: 1
BS_QHELPER: 2
// PM - Page Maker
BS_PMINK: 1
BS_PMBINDING: 2
BS_PMPAGE: 4
BS_PMGLUE: 8
BS_PMALL: 15
// N - Npc
BS_NPC01: 1
BS_NPC02: 2
BS_NPC03: 4
BS_NPC04: 8
BS_NPC05: 16
BS_NPC06: 32
BS_NPC07: 64
BS_NPCALL: 127
// S - Slime Nest
BS_SNEST1: 1
BS_SNEST2: 2
BS_SNEST3: 4
BS_SNEST4: 8
BS_SNEST5: 16
BS_SNEST6: 32
BS_SNEST7: 64
BS_SNEST8: 128
BS_SNEST9: 256
BS_SNESTALL: 511
comment__: "Homunculus deployment constants"
HCD_PIOUFIELDS: 1
HCD_HERBFIELDS: 2
HCD_OREMINES: 3
HCD_RAREMINES: 4
HCD_SLIMENEST: 5
HCD_SNAKEPIT: 6
HCD_DANGERAREA: 7
HCD_MKBASEMENT: 8
HCD_MARKET: 10
comment__: "Mirror Lake Server Identifiers"
WORLD_ID: 1
MLP_TMW: 3
comment__: "Mirror Lake Quest Constants"
MLP_TMW_CELESTIA: 1
MLP_TMW_YETIKING: 2
//MLP_................ 4
comment__: "Mirror Lake Local Quest Constants"
MLP_ML_NARD: 1
MLP_ML_JAK1: 2
//MLP_................ 4
comment__: "Being actions"
ACTION_STAND: 0
ACTION_MOVE: 1
ACTION_ATTACK: 2
ACTION_CAST: 3
ACTION_SIT: 4
ACTION_DEAD: 5
ACTION_HURT: 6
ACTION_SPAWN: 7
comment__: "Misc constants"
ASK_YES: 1
ASK_NO: 2
ASK_EXIT: 255
MODE_SOLO: 1
MODE_PARTY: 2
comment__: "craft skill groups IDs"
// Base tier
CRGROUP_BASE: 1
// First tier
CRGROUP_ATK: 2
CRGROUP_DEF: 4
CRGROUP_ACC: 8
CRGROUP_EVD: 16
// Second tier
CRGROUP_REGEN: 32
CRGROUP_SPEED: 64
CRGROUP_DOUBLE: 128
CRGROUP_MAXPC: 256
// Third tier
CRGROUP_SCRESIST: 512
CRGROUP_SCINFLICT: 1024
CRGROUP_MANAUSE: 2048
CRGROUP_BOSSATK: 4096
// Final tier
CRGROUP_FINAL: 8192
comment__: "Effects"
FX_BLVLUP: 0
FX_JLVLUP: 1
FX_WARPPOINT: 5
FX_HEALINGPART: 7
FX_POISON: 8
FX_AFK: 10
FX_CRITICAL: 11
FX_QUEST: 12
FX_HIT: 16
FX_MAGIC: 23
FX_SUCCESS: 27
FX_FAILURE: 28
FX_CUPID: 34
FX_HELLBLAZE: 36
FX_SMOKE: 50
FX_GRENADE: 51
FX_SMOKEBOMB: 52
FX_TORCH: 53
FX_GOLDSTAR: 54
FX_MGSHIELD: 60
FX_MGWARP: 64
FX_CIRCLE: 310
FX_LIGHTNING: 312
// Magic particles
FX_SPECIAL: 700
FX_BUFF: 701
FX_ATTACK: 702
FX_HEALING: 703
comment__: "Emotes"
// TMW2 Emotes
E_DISGUST: 1
E_SURPRISE: 2
E_HAPPY: 3
E_SAD: 4
E_EVIL: 5
E_WINK: 6
E_ANGEL: 7
E_BLUSH: 8
E_TONGUE: 9
E_GRIN: 10
E_UPSET: 11
E_PERTURBED: 12
E_SPEECH: 13
E_BLAH: 14
E_QUEST: 15
E_THUMBUP: 16
E_DOUBT: 17
// Mana Plus Emotes
E_KITTY: 101
E_XD: 102
E_JOY: 103
E_HEARTEYE: 104
E_GOLD: 105
E_SLEEPY: 106
E_ANNOY: 107
E_JADED: 108
E_SWEATFACE: 108
E_SURPRISED: 109
E_DEAD: 110
E_LOOKAWAY: 111
E_TIRED: 112
E_PALMHEAD: 113
E_FACEPALM: 113
E_EVILCROC: 114
E_FURIOUS: 114
E_ANGRY: 115
E_PURPLESAD: 116
E_INSULTBUBBLE: 117
E_HEART: 118
E_EMOTE: 119
E_PUMPKIN: 120
E_EVILFACELESS: 121
E_EPIC: 122
E_BADGEEK: 123
E_MIMI: 124
E_ALIEN: 125
E_TROLL: 126
E_METAL: 127
E_CRYING: 128
comment__: "Language function constants"
LANG_ON_SEA: 1
LANG_IN_SHIP: 2
// Language specs
LANG_ENUS: 0
LANG_PTBR: 1
LANG_FR: 2
LANG_DE: 3
LANG_ES: 4
MAX_LANG: 4
comment__: "Configuration constants"
MAX_CYCLE_PC: 40
CHEST_WAITTIME: 900 // 15 minutes
PVP_WAITTIME: 1800 // 30 minutes
PCBLOCK_HARD: 255 // Move+Attack+Skill+Item+Chat+Immune+SitStand+Commands
PCBLOCK_SOFT: 47 // Move+Attack+Skill+Item+Immune
CRAFT_MAXLV: 200
BCONFN_SPAWN: 70
BCONFD_SPAWN: 100
BCONFN_MOBHP: 95 // TODO: Maybe we don't want this constant? (ie. variable)
BCONFD_MOBHP: 85
BCONFB_EXPR: 100
BCONFN_EXPR: 5
BCONFD_EXPR: 0
BCONFB_DROP: 100
BCONFN_DROP: 7
BCONFD_DROP: 0
SHOPWAIT: 1750 // Time to wait for price initialization
INT_MAX: 2147483647
comment__: "Maze Domain constants"
MAZE_SIZE_S: 1
MAZE_SIZE_M: 2
MAZE_SIZE_G: 4
MAZE_SIZE_X: 8
MAZE_SIZE_A: 16
comment__: "Aurora Event constants"
FY_MISC: 0
FY_BP: 1
FY_WARP: 2
FY_POT: 3
FY_HEAL: 4
FY_ORE: 5
FY_MAGIC: 6
FY_GIFT: 7
comment__: "Magic v3 constants"
CLASS_OTHER: 0
CLASS_SUMMON: 1
CLASS_PHYSICAL: 2
CLASS_DESTRUCTION: 3
CLASS_TRICKS: 4
CLASS_SCHOLARSHIP: 5
CLASS_THIEVES: 6
ACADEMIC_LAYMAN: 0
ACADEMIC_STUDENT: 1
ACADEMIC_TECHNIC: 2
ACADEMIC_BACHELOR: 3
ACADEMIC_MASTER: 4
ACADEMIC_DOCTOR: 5
ACADEMIC_PHD: 6
ACADEMIC_SAGE: 7
ACADEMIC_GM: 8
comment__: "OnPCBonusEvent constants"
PCB_ATKBONUS: 1
PCB_MATKBONUS: 2
PCB_DEFBONUS: 4
PCB_MDEFBONUS: 8
PCB_EVDBONUS: 16
PCB_HITBONUS: 32
PCB_CRITBONUS: 64
PCB_DOUBLEATK: 128
PCB_ALLSTATS: 256
PCB_HPBONUS: 512
PCB_MPBONUS: 1024
PCB_ASPDBONUS: 2048
PCB_WSPDBONUS: 4096
PCB_WEIGHTBONUS: 8192
PCB_EXPBONUS: 16384
PCB_NOKNOCKBACK: 32768
PCB_SPLASHMASTER: 65536
PCB_RANGEMASTER: 131072
PCB_LEGENDARY: 262144
//PCB_MONEYDROP:
@include "db/si_config.conf"
@include "conf/import/constants.conf"
}
|