Minor edits to code and documents

This commit is contained in:
NovaRain
2022-12-01 08:40:39 +08:00
parent 9ecd598544
commit 024a13c6a8
10 changed files with 21 additions and 20 deletions
+1 -1
View File
@@ -752,7 +752,7 @@ AIBestWeaponFix=1
AIDrugUsePerfFix=0
;Set to 1 to fix the bug of using First Aid/Doctor skills when using them on the player
;This will cause the party member to apply his/her skills when you use First Aid/Doctor skills on the player, but only if
;This will cause the party member to perform First Aid/Doctor skills when you use them on the player, but only if
;the player is standing next to the party member
;Note that because the related engine function is not fully implemented, enabling this option without a global script
;that overrides First Aid/Doctor functions has very limited usefulness
+2 -2
View File
@@ -603,7 +603,7 @@
```
Obj arg0 - the object
int ret0 - a pointer to the new text received by using "get_string_pointer" function
int ret0 - a pointer to the new text received by using the get_string_pointer function
```
- name: UseSkillOn
@@ -619,7 +619,7 @@
int arg2 - skill being used
int ret0 - a new critter to override the user critter. Pass -1 to cancel the skill use, pass 0 to skip this return value
int ret1 - pass 1 to allow the skill being used in combat (only for dude_obj or critter being controlled by the player)
int ret1 - pass 1 to allow the skill to be used in combat (only for dude_obj or critter being controlled by the player)
```
- name: OnExplosion
+2 -2
View File
@@ -692,7 +692,7 @@ Does not run if the script of the object overrides the description.
```
Obj arg0 - the object
int ret0 - a pointer to the new text received by using get_string_pointer function
int ret0 - a pointer to the new text received by using the get_string_pointer function
```
-------------------------------------------
@@ -709,7 +709,7 @@ Obj arg1 - the target object/critter
int arg2 - skill being used
int ret0 - a new critter to override the user critter. Pass -1 to cancel the skill use, pass 0 to skip this return value
int ret1 - pass 1 to allow the skill being used in combat (only for dude_obj or critter being controlled by the player)
int ret1 - pass 1 to allow the skill to be used in combat (only for dude_obj or critter being controlled by the player)
```
-------------------------------------------