summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2013-07-15 17:30:16 +0200
committerBardur Arantsson <bardur@scientician.net>2013-08-08 16:33:29 +0200
commit4e0b087706432e72753829db68265ef369428fe7 (patch)
treea34e9ae5f1ab2fe2d9b69f11e13f31cabe95c346 /src
parentbcfbd5d7c3d6a1485fd7f8ecab4f55235c0a3382 (diff)
!oExperience always grants 100K XP
If you're lucky enough to find it early, you should be able to take full advantage of it.
Diffstat (limited to 'src')
-rw-r--r--src/cmd6.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cmd6.c b/src/cmd6.c
index ce49b155..ab82bc17 100644
--- a/src/cmd6.c
+++ b/src/cmd6.c
@@ -2280,10 +2280,8 @@ static bool_ quaff_potion(int tval, int sval, int pval, int pval2)
{
if (p_ptr->exp < PY_MAX_EXP)
{
- s32b ee = (p_ptr->exp / 2) + 10;
- if (ee > 100000L) ee = 100000L;
msg_print("You feel more experienced.");
- gain_exp(ee);
+ gain_exp(100000L);
ident = TRUE;
}