From 28cb3975efe89522bc6b57302b3937ecc2236584 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 8 Jul 2018 21:44:27 -0300 Subject: Allow vit to interfer on tired time. --- npc/items/shovel.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/items') diff --git a/npc/items/shovel.txt b/npc/items/shovel.txt index f17a554f8..7d2cb072d 100644 --- a/npc/items/shovel.txt +++ b/npc/items/shovel.txt @@ -89,7 +89,7 @@ function script shovel_scatter { return 0; .@tick = gettimetick(1); - .@playertick = .PlayerTiredTime - (readparam(bStr)/5); + .@playertick = .PlayerTiredTime - (readparam(bStr)/5) - (readparam(bVit)/10); if (@ShovelLastUsed + max(5, .@playertick) > .@tick) { mes ""; mesc lg("You are exhausted, you should rest a bit."); -- cgit v1.2.3-70-g09d2