- int LocaleService_GetSkillPower(unsigned level)
- {
- #ifdef ENABLE_SKILLS_LEVEL_OVER_P
- static const unsigned SKILL_POWER_NUM = 60;
- #else
- static const unsigned SKILL_POWER_NUM = 50;
- #endif
- if (level >= SKILL_POWER_NUM)
- return 0;
- if (LocaleService_IsCHEONMA())
- {
- static unsigned CHEONMA_SKILL_POWERS[SKILL_POWER_NUM] =
- {
- 0,
- 5, 7, 9, 11, 13,
- 15, 17, 19, 20, 22,
- 24, 26, 28, 30, 32,
- 34, 36, 38, 40, 50, // master
- 52, 55, 58, 61, 63,
- 66, 69, 72, 75, 80, // grand_master
- 82, 84, 87, 90, 95,
- 100, 110, 120, 130, 150,// perfect_master
- 150,
- };
- return CHEONMA_SKILL_POWERS[level];
- }
- // 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
- static unsigned INTERNATIONAL_SKILL_POWERS[SKILL_POWER_NUM] =
- {
- 0,
- 5, 6, 8, 10, 12,
- 14, 16, 18, 20, 22,
- 24, 26, 28, 30, 32,
- 34, 36, 38, 40, 50, // master
- 52, 54, 56, 58, 60,
- 63, 66, 69, 72, 82, // grand_master
- 85, 88, 91, 94, 98,
- 102, 106, 110, 115, 125,// perfect_master
- 125,
- };
- static unsigned SKILL_POWERS[SKILL_POWER_NUM] =
- {
- 0,
- 5, 6, 8, 10, 12, 14, 16, 18, 20, 22,
- 24, 26, 28, 30, 32, 34, 36, 38, 40, 50, // Master
- 52, 54, 56, 58, 60, 63, 66, 69, 72, 82, // Grand
- 85, 88, 91, 94, 98, 102, 106, 110, 115, 130,// Perfect
- #ifdef ENABLE_SKILLS_LEVEL_OVER_P
- 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, // Sage
- 240,
- #else
- 130,
- #endif
- };
- return SKILL_POWERS[level];
- }
- const char* LocaleService_GetSecurityKey()
- {
- return __SECURITY_KEY_STRING__.c_str();
- }