summaryrefslogtreecommitdiff
path: root/npc/items
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-08 21:44:27 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-08 21:44:27 -0300
commit28cb3975efe89522bc6b57302b3937ecc2236584 (patch)
treeff5d300ee7218a6d6fbf7a2ee9d8ccdae148daa6 /npc/items
parent1c78fd9718d47b211868dcdd1c751e53b840b925 (diff)
downloadserverdata-28cb3975efe89522bc6b57302b3937ecc2236584.tar.gz
serverdata-28cb3975efe89522bc6b57302b3937ecc2236584.tar.bz2
serverdata-28cb3975efe89522bc6b57302b3937ecc2236584.tar.xz
serverdata-28cb3975efe89522bc6b57302b3937ecc2236584.zip
Allow vit to interfer on tired time.
Diffstat (limited to 'npc/items')
-rw-r--r--npc/items/shovel.txt2
1 files changed, 1 insertions, 1 deletions
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.");