From 4d97cf2f9fb46a540a7e4cfff9c4b81fdea1551e Mon Sep 17 00:00:00 2001 From: WALL OF JUSTICE <-> Date: Wed, 30 Oct 2024 22:36:18 +1100 Subject: [PATCH] * slime/gnome reduce base xp --- src/entity.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/entity.cpp b/src/entity.cpp index fbd52d7b9..5c0581e2d 100644 --- a/src/entity.cpp +++ b/src/entity.cpp @@ -12847,6 +12847,14 @@ void Entity::awardXP(Entity* src, bool share, bool root) { baseXp = 1 + local_rng.rand() % 2; } + else if ( srcStats->type == SLIME ) + { + baseXp = 5; + } + else if ( srcStats->type == GNOME ) + { + baseXp = 5; + } int xpGain = baseXp + local_rng.rand() % std::max(1, baseXp) + std::max(0, srcStats->LVL - destStats->LVL) * baseXp; if ( srcStats->MISC_FLAGS[STAT_FLAG_XP_PERCENT_AWARD] > 0 ) {