summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-03-12 15:07:42 -0700
committerJared Adams <jaxad0127@gmail.com>2010-03-12 18:22:42 -0700
commitef3685ef63999b7132fa7b6f8ebc9a3387972e53 (patch)
treeb770f306cf37b25fd2424391b7f225ee0b517134 /src/net
parent781b3c9f17708cc5fe08eb3c9ee38d596364d97c (diff)
downloadmana-ef3685ef63999b7132fa7b6f8ebc9a3387972e53.tar.gz
mana-ef3685ef63999b7132fa7b6f8ebc9a3387972e53.tar.bz2
mana-ef3685ef63999b7132fa7b6f8ebc9a3387972e53.tar.xz
mana-ef3685ef63999b7132fa7b6f8ebc9a3387972e53.zip
Add an optional offset property to monsters.xml
And remove the hardcoded offset from eAthena's BeingHandler. Reviewed-by: Freeyorp
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/beinghandler.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp
index dbfc0f3b..d3f6dd0e 100644
--- a/src/net/ea/beinghandler.cpp
+++ b/src/net/ea/beinghandler.cpp
@@ -80,10 +80,7 @@ Being *createBeing(int id, short job)
else if (job >= 46 && job <= 1000)
type = Being::NPC;
else if (job > 1000 && job <= 2000)
- {
type = Being::MONSTER;
- job -= 1002;
- }
Being *being = beingManager->createBeing(id, type, job);