From 4392adfde660a4e082a8ad803c4a854e5bc45a34 Mon Sep 17 00:00:00 2001 From: WizardNymeria Date: Fri, 21 Feb 2025 04:21:02 +0400 Subject: [PATCH 1/4] Update thief.c Stealing adds Adrenaline --- cmd/live/thief.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/live/thief.c b/cmd/live/thief.c index 06e8645..ba4c263 100644 --- a/cmd/live/thief.c +++ b/cmd/live/thief.c @@ -1065,6 +1065,8 @@ steal(string str) /* We're stealing, apply cost */ this_player()->add_mana(-F_STEAL_MANA); this_player()->add_fatigue(-F_STEAL_FATIGUE); + /* Stealing gives us adrenaline */ + this_player()->update_combat_time(); /* Setup the thieves base chances.. */ tmp = this_player()->query_skill(SS_SNEAK); From 73fdcc31f758f638c7ba44dcc2ddb65dc972cb8a Mon Sep 17 00:00:00 2001 From: Nymeria Date: Sat, 22 Feb 2025 15:29:37 +0400 Subject: [PATCH 2/4] Update state_desc.h Added 2 Levels to stat comparison: example: about the same strength, barely stronger, somewhat stronger, stronger, clearly stronger, much stronger avg_stat has grown, thus the difference indicated by "a bit" has grown to be almost useless as a comparison. --- sys/state_desc.h | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/sys/state_desc.h b/sys/state_desc.h index 23413b4..e689704 100644 --- a/sys/state_desc.h +++ b/sys/state_desc.h @@ -202,19 +202,23 @@ "degraded", "somewhat degraded", "slightly degraded", "in full vigour" }) #define SD_COMPARE_STR ({ "about the same strength as", \ - "a bit stronger than", "stronger than", \ - "much stronger than"}) + "barely stronger than", "somewhat stronger than", "stronger than", \ + "clearly stronger than", "much stronger than"}) #define SD_COMPARE_DEX ({ "about as agile as", \ - "a bit better coordinated than", \ - "more agile than", "much more agile than" }) -#define SD_COMPARE_CON ({ "about as healthy as", "a bit healthier than", \ - "healthier than", "much healthier than"}) -#define SD_COMPARE_INT ({ "about as smart as", "a bit smarter than", \ - "smarter than", "much smarter than"}) -#define SD_COMPARE_WIS ({ "about as wise as", "a bit wiser than", \ - "wiser than", "much wiser than"}) -#define SD_COMPARE_DIS ({ "about as brave as", "a bit braver than", \ - "braver than", "much braver than"}) + "barely better coordinated than", "somewhat more agile than", \ + "more agile than", "clearly more agile", "much more agile than" }) +#define SD_COMPARE_CON ({ "about as healthy as", "barely healthier than", \ + "somewhat healthier than", "healthier than", "clearly healthier than", \ + "much healthier than"}) +#define SD_COMPARE_INT ({ "about as smart as", "barely smarter than", \ + "somewhat smarter than", "smarter than", \ + "clearly smarter than", "much smarter than"}) +#define SD_COMPARE_WIS ({ "about as wise as", "barely wiser than", \ + "somewhat wiser than", "wiser than", \ + "clearly wiser than", "much wiser than"}) +#define SD_COMPARE_DIS ({ "about as brave as", "barely braver than", \ + "somewhat braver than", "braver than", \ + "clearly braver than", "much braver than"}) #define SD_COMPARE_AC ({ "about the same protection as", \ "a bit more protection than", \ "more protection than", \ From d73e58105554f5292ce02c796219ca3f166d203f Mon Sep 17 00:00:00 2001 From: Nymeria Date: Sat, 22 Feb 2025 15:58:56 +0400 Subject: [PATCH 3/4] Update state.c High precision on compare living up to 4x skill vs 3x skill to accomodate larger player/npc sizes. --- cmd/live/state.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/live/state.c b/cmd/live/state.c index b525cf1..818313d 100644 --- a/cmd/live/state.c +++ b/cmd/live/state.c @@ -422,8 +422,8 @@ adverbs(string str) void compare_living(object living1, object living2) { - /* Allow the player high precision up to 3x their skill vs stat average */ - int skill = this_player()->query_skill(SS_APPR_MON) * 3; + /* Allow the player high precision up to 4x their skill vs stat average */ + int skill = this_player()->query_skill(SS_APPR_MON) * 4; int seed = atoi(OB_NUM(living1)) + atoi(OB_NUM(living2)); int index = -1; int stat1; From b7213d873bf1d96967e8e69d77fa4903d15528e2 Mon Sep 17 00:00:00 2001 From: Nymeria Date: Mon, 24 Feb 2025 02:30:56 +0400 Subject: [PATCH 4/4] Update state_desc.h --- sys/state_desc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/state_desc.h b/sys/state_desc.h index e689704..dba5ff5 100644 --- a/sys/state_desc.h +++ b/sys/state_desc.h @@ -206,7 +206,7 @@ "clearly stronger than", "much stronger than"}) #define SD_COMPARE_DEX ({ "about as agile as", \ "barely better coordinated than", "somewhat more agile than", \ - "more agile than", "clearly more agile", "much more agile than" }) + "more agile than", "clearly more agile than", "much more agile than" }) #define SD_COMPARE_CON ({ "about as healthy as", "barely healthier than", \ "somewhat healthier than", "healthier than", "clearly healthier than", \ "much healthier than"})