summaryrefslogtreecommitdiff
path: root/src/game-server/monster.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <crush@themanaworld.org>2009-10-26 21:27:26 +0100
committerPhilipp Sehmisch <crush@themanaworld.org>2009-10-26 21:28:18 +0100
commitb7481331c65a08d54d5e2ae286923627195076ce (patch)
tree62e9a7391f074913652d8d2dedc1cdc28cb53124 /src/game-server/monster.cpp
parentecefeb60244e6ad9c5d043f8bdf086ac89889b9e (diff)
downloadmanaserv-b7481331c65a08d54d5e2ae286923627195076ce.tar.gz
manaserv-b7481331c65a08d54d5e2ae286923627195076ce.tar.bz2
manaserv-b7481331c65a08d54d5e2ae286923627195076ce.tar.xz
manaserv-b7481331c65a08d54d5e2ae286923627195076ce.zip
Added optional optimal level mechanic which reduces exp gain of certain sources after a certain skill level.
Diffstat (limited to 'src/game-server/monster.cpp')
-rw-r--r--src/game-server/monster.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/monster.cpp b/src/game-server/monster.cpp
index 08ddb2aa..c6b6079e 100644
--- a/src/game-server/monster.cpp
+++ b/src/game-server/monster.cpp
@@ -463,7 +463,7 @@ void Monster::died()
int expPerSkill = int(expPerChar / skillSet->size());
for (iSkill = skillSet->begin(); iSkill != skillSet->end(); iSkill++)
{
- character->receiveExperience(*iSkill, expPerSkill);
+ character->receiveExperience(*iSkill, expPerSkill, mSpecy->getOptimalLevel());
}
}
}