Changed the option name of grave containers fix

Edited the code of tile_num function wrapper.
Reorganized the options in ddraw.ini.
Updated web document.
This commit is contained in:
NovaRain
2021-11-09 10:01:17 +08:00
parent 09813aeb86
commit cd3c220ef8
8 changed files with 77 additions and 74 deletions
+2 -2
View File
@@ -292,8 +292,8 @@
id: HOOK_AMMOCOST
doc: |
Runs when calculating ammo cost for a weapon. Doesn't affect damage, only how much ammo is spent.
By default, weapon will shoot when at least 1 round is left, regardless of ammo cost calculations.
To add proper check for ammo before shooting and proper calculation of number of burst rounds (hook type 1 and 2 in arg3), set **CheckWeaponAmmoCost=1** in **Misc** section of ddraw.ini.
By default, weapons can make attacks when at least 1 ammo is left, regardless of ammo cost calculations.
To add proper check for ammo before attacking and proper calculation of the number of burst rounds (hook type 1 and 2 in arg3), set **CheckWeaponAmmoCost=1** in **Misc** section of ddraw.ini.
```
Item arg0 - The weapon