From b4aacb7be5c3a3b1183335cb9505972f6cac8c6b Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 25 Jul 2019 20:42:41 +0200 Subject: [PATCH] - fixed: The numcommands value in A_KoraxCommand needs to be decremented by one because the max parameter of the random function is inclusive. --- wadsrc/static/zscript/actors/hexen/korax.zs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wadsrc/static/zscript/actors/hexen/korax.zs b/wadsrc/static/zscript/actors/hexen/korax.zs index e19ff0457..692b6cb9c 100644 --- a/wadsrc/static/zscript/actors/hexen/korax.zs +++ b/wadsrc/static/zscript/actors/hexen/korax.zs @@ -363,11 +363,11 @@ class Korax : Actor if (health <= (SpawnHealth() >> 1)) { - numcommands = 5; + numcommands = 4; } else { - numcommands = 4; + numcommands = 3; } ACS_Execute(250 + (random[KoraxCommand](0, numcommands)), 0);