Skip to content

Commit 19f4ea8

Browse files
AmbratolmAmbratolm
authored andcommitted
Farm: Increased XP per Word from 0.5 to 1.
1 parent c9fc852 commit 19f4ea8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bot/cogs/game_cogs/farm_cog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ async def on_message(self, message: Message):
326326
actor.xp += xp_reward
327327
print(f"👤 @{member.name} earned {xp_reward} xp.")
328328

329-
# Log xp gain to a "log" named channel
329+
# Accumulate xp gain to log later
330330
if xp_reward > 0:
331331
guild_id = message.guild.id
332332
user_id = member.id

utils/xp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Experience:
1313
XP_PER_MESSAGE_BASE: int = 1
1414

1515
# XP per "valid" word (meeting criteria below)
16-
XP_PER_WORD: float = 0.5
16+
XP_PER_WORD: float = 1
1717

1818
# Maximum number of words to count for XP (prevents wall-of-text exploit)
1919
XP_WORD_COUNT_CAP: int = 500

0 commit comments

Comments
 (0)