Increased the maximum party member level from 6 to 10

Updated scripting documents.

* the game reserves 10 level-up messages for each party member. More
level-ups require either more hacks or renumbering all level-up messages
in misc.msg. Otherwise, one will start using others' lines (e.g. Sulik
says Lenny's lines after lv10).
This commit is contained in:
NovaRain
2026-04-11 00:02:23 +08:00
parent c42bed9ee4
commit d4c223a313
2 changed files with 6 additions and 5 deletions
@@ -120,6 +120,7 @@ FUNCTION REFERENCE
#### `void inc_npc_level(int pid/string name)`
- Takes a party member PID or an NPC name (deprecated, for compatibility with sfall 4.1.5/3.8.15 or earlier) as an argument. The NPC must be in your party.
- This function ignores the player's minimum level and the required number of level-ups between NPC level gains. It also ignores the random element, regardless of sfall's **NPCAutoLevel** or **PartyMemberNonRandomLevelUp** setting.
- Starting from sfall 4.4.10/3.8.50, the maximum possible NPC level is 10.
-----
#### `int get_npc_level(int pid/string name)`