Edited the documents for set_world_map_heal_time

Minor code edits to Worldmap.cpp.
This commit is contained in:
NovaRain
2024-05-27 21:48:51 +08:00
parent d21225bd92
commit 5803dc6606
6 changed files with 24 additions and 14 deletions
@@ -1149,6 +1149,14 @@ sfall_funcX metarule functions
- `frame`: frame number, the first frame starts from zero
- `rotation`: rotation to get the frame for, useful when reading FRM files by path
----
#### set_worldmap_heal_time
`void sfall_func1("set_worldmap_heal_time", int minutes)`
- Sets the time interval in minutes for healing during world map travel
- Passing 0 will revert to 1 second in real time (vanilla engine behavior)
- Passing -1 will disable healing during travel
- The time interval will be reset each time the player reloads the game
****
_See other documentation files (arrays.md, hookscripts.md) for related functions reference._