From bfd1739a63608608ba2dd816acbd3c504c283071 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lilian=20J=C3=B3nsd=C3=B3ttir?= Date: Sat, 25 Jul 2020 21:51:06 -0700 Subject: [PATCH] clarification --- MWSE/mods/celediel/MoreAttentiveGuards/sneak.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/MWSE/mods/celediel/MoreAttentiveGuards/sneak.lua b/MWSE/mods/celediel/MoreAttentiveGuards/sneak.lua index 0b51020..38b3990 100644 --- a/MWSE/mods/celediel/MoreAttentiveGuards/sneak.lua +++ b/MWSE/mods/celediel/MoreAttentiveGuards/sneak.lua @@ -20,6 +20,7 @@ local function calculateFollowTime() -- Modified formula from RubberMan's "Inquisitive Guards" -- https://www.nexusmods.com/morrowind/mods/46538 local sneak = tes3.mobilePlayer.sneak.value and tes3.mobilePlayer.sneak.value or tes3.mobilePlayer.sneak.base + -- if player sneak is greater than 100, guards won't follow at all local max = tes3.hasCodePatchFeature(110) and (sneak <= 100 and 101 or 0) or 101 local value = (max - sneak) / 3 -- round to nearest integer