about summary refs log tree commit diff stats
path: root/src/com/fourisland
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2012-06-04 11:29:41 -0400
committerStarla Insigna <hatkirby@fourisland.com>2012-06-04 11:29:41 -0400
commitf0a7403875a840f2eedcf03aec53461eb1fbdc1a (patch)
tree9215672e111ef098733de4809046e050cbbf81c8 /src/com/fourisland
parenta9d7a2e1960f9d7404d28feec6669d3b247098a4 (diff)
downloadfrigidearth-f0a7403875a840f2eedcf03aec53461eb1fbdc1a.tar.gz
frigidearth-f0a7403875a840f2eedcf03aec53461eb1fbdc1a.tar.bz2
frigidearth-f0a7403875a840f2eedcf03aec53461eb1fbdc1a.zip
Fixed experience bug
Previously, you needed 1001 exp to grow a level. This has been fixed.
Diffstat (limited to 'src/com/fourisland')
-rw-r--r--src/com/fourisland/frigidearth/MapViewGameState.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/fourisland/frigidearth/MapViewGameState.java b/src/com/fourisland/frigidearth/MapViewGameState.java index b77803b..732f340 100644 --- a/src/com/fourisland/frigidearth/MapViewGameState.java +++ b/src/com/fourisland/frigidearth/MapViewGameState.java
@@ -795,7 +795,7 @@ public class MapViewGameState implements GameState
795 experience += (mob.getBaseExperience()/level); 795 experience += (mob.getBaseExperience()/level);
796 mobs.remove(mob); 796 mobs.remove(mob);
797 797
798 if (experience > 1000) 798 if (experience >= 1000)
799 { 799 {
800 level++; 800 level++;
801 experience -= 1000; 801 experience -= 1000;