Edited the description of inc_npc_level in scripting docs

Cosmetic edits: removed trailing spaces in some source files.
This commit is contained in:
NovaRain
2026-04-01 22:24:53 +08:00
parent c28d8c0d2b
commit 7cd30956a7
10 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -943,7 +943,7 @@
- name: inc_npc_level
detail: void inc_npc_level(int party_member_pid)
opcode: 0x81a5
doc: 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 player level requirements and the minimum 3 player level delay between NPC level gains. It also ignores the random element, regardless of sfall's `NPCAutoLevel` or `PartyMemberNonRandomLevelUp` setting.
doc: 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.
- name: get_npc_level
detail: int get_npc_level(string npc)
opcode: 0x8241
+1 -1
View File
@@ -119,7 +119,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 player level requirements and the minimum 3 player level delay between NPC level gains. It also ignores the random element, regardless of sfall's **NPCAutoLevel** or **PartyMemberNonRandomLevelUp** setting.
- 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.
-----
#### `int get_npc_level(int pid/string name)`
+1 -1
View File
@@ -21,7 +21,7 @@
#include <functional>
#include <vector>
namespace sfall
namespace sfall
{
// Simple multi-cast Delegate implementation.
+1 -1
View File
@@ -22,7 +22,7 @@
#include "Delegate.h"
namespace sfall
namespace sfall
{
extern bool useScrollWheel;
+1 -1
View File
@@ -2,7 +2,7 @@
#include "ModuleManager.h"
namespace sfall
namespace sfall
{
ModuleManager::ModuleManager() {
+1 -1
View File
@@ -20,7 +20,7 @@
#include "Module.h"
namespace sfall
namespace sfall
{
class Animations : public Module {
+1 -1
View File
@@ -20,7 +20,7 @@
#include "Module.h"
namespace sfall
namespace sfall
{
class BarBoxes : public Module {
+1 -1
View File
@@ -20,7 +20,7 @@
#include "Module.h"
namespace sfall
namespace sfall
{
class Books : public Module {
+1 -1
View File
@@ -2,7 +2,7 @@
// Hook scripts related to critter Death
namespace sfall
namespace sfall
{
void InitDeathHookScripts();
+1 -1
View File
@@ -1,6 +1,6 @@
#pragma once
namespace sfall
namespace sfall
{
template <typename T>