summaryrefslogtreecommitdiff
path: root/src/map/mob.h
diff options
context:
space:
mode:
authorgepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-31 20:06:57 +0000
committergepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-31 20:06:57 +0000
commit93c79a7017522d87e06b67af1959ecccff32cb7e (patch)
tree1ef1ed7b4a2c27499da24c7da7ecee67a3a1d760 /src/map/mob.h
parent2a3063c4e48c78fc4f778a06349a6e87dae89f50 (diff)
downloadhercules-93c79a7017522d87e06b67af1959ecccff32cb7e.tar.gz
hercules-93c79a7017522d87e06b67af1959ecccff32cb7e.tar.bz2
hercules-93c79a7017522d87e06b67af1959ecccff32cb7e.tar.xz
hercules-93c79a7017522d87e06b67af1959ecccff32cb7e.zip
* Fixes and improvements related to MVP rewards (bugreport:1259):
- removed obsolete (since r1!) ExpPer column from mob_db - official way to drop MVP rewards (always starts from first slot) - added MAX_MVP_DROP as define for max possible MVP reward slots * Updated mob_db SQL scripts. * Removed some renewal only monsters from pre-RE mob_db (were commented out anyway). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15531 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.h')
-rw-r--r--src/map/mob.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/mob.h b/src/map/mob.h
index 2c6d882c9..0ad95ff19 100644
--- a/src/map/mob.h
+++ b/src/map/mob.h
@@ -20,6 +20,7 @@
//The number of drops all mobs have and the max drop-slot that the steal skill will attempt to steal from.
#define MAX_MOB_DROP 10
+#define MAX_MVP_DROP 3
#define MAX_STEAL_DROP 7
//Min time between AI executions
@@ -89,12 +90,12 @@ struct spawn_info {
struct mob_db {
char sprite[NAME_LENGTH],name[NAME_LENGTH],jname[NAME_LENGTH];
unsigned int base_exp,job_exp;
- unsigned int mexp,mexpper;
+ unsigned int mexp;
short range2,range3;
short race2; // celest
unsigned short lv;
struct { int nameid,p; } dropitem[MAX_MOB_DROP];
- struct { int nameid,p; } mvpitem[3];
+ struct { int nameid,p; } mvpitem[MAX_MVP_DROP];
struct status_data status;
struct view_data vd;
short option;