From 007fa7314b040275ad68932a87437aeaac7c04c9 Mon Sep 17 00:00:00 2001 From: NovaRain Date: Tue, 18 Oct 2022 08:58:09 +0800 Subject: [PATCH] Minor edit to hookscripts.md --- artifacts/scripting/hooks.yml | 2 +- artifacts/scripting/hookscripts.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/artifacts/scripting/hooks.yml b/artifacts/scripting/hooks.yml index f0d702e5..fb9e4b21 100644 --- a/artifacts/scripting/hooks.yml +++ b/artifacts/scripting/hooks.yml @@ -112,7 +112,7 @@ int arg3 - The amount of damage to the attacker int arg4 - The special effect flags for the target (use bwand DAM_* to check specific flags) int arg5 - The special effect flags for the attacker (use bwand DAM_* to check specific flags) - int arg6 - The weapon used in the attack + Item arg6 - The weapon used in the attack int arg7 - The bodypart that was struck int arg8 - Damage Multiplier (this is divided by 2, so a value of 3 does 1.5x damage, and 8 does 4x damage. Usually it's 2; for critical hits, the value is taken from the critical table; with Silent Death perk and the corresponding attack conditions, the value will be doubled) int arg9 - Number of bullets actually hit the target (1 for melee attacks) diff --git a/artifacts/scripting/hookscripts.md b/artifacts/scripting/hookscripts.md index 2c9d81d4..037f1a01 100644 --- a/artifacts/scripting/hookscripts.md +++ b/artifacts/scripting/hookscripts.md @@ -193,7 +193,7 @@ int arg2 - The amount of damage to the target int arg3 - The amount of damage to the attacker int arg4 - The special effect flags for the target (use bwand DAM_* to check specific flags) int arg5 - The special effect flags for the attacker (use bwand DAM_* to check specific flags) -int arg6 - The weapon used in the attack +Item arg6 - The weapon used in the attack int arg7 - The bodypart that was struck int arg8 - Damage Multiplier (this is divided by 2, so a value of 3 does 1.5x damage, and 8 does 4x damage. Usually it's 2; for critical hits, the value is taken from the critical table; with Silent Death perk and the corresponding attack conditions, the value will be doubled) int arg9 - Number of bullets actually hit the target (1 for melee attacks)