diff options
author | Starla Insigna <hatkirby@fourisland.com> | 2012-06-04 11:29:41 -0400 |
---|---|---|
committer | Starla Insigna <hatkirby@fourisland.com> | 2012-06-04 11:29:41 -0400 |
commit | f0a7403875a840f2eedcf03aec53461eb1fbdc1a (patch) | |
tree | 9215672e111ef098733de4809046e050cbbf81c8 | |
parent | a9d7a2e1960f9d7404d28feec6669d3b247098a4 (diff) | |
download | frigidearth-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.
-rw-r--r-- | src/com/fourisland/frigidearth/MapViewGameState.java | 2 |
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; |