From 93c79a7017522d87e06b67af1959ecccff32cb7e Mon Sep 17 00:00:00 2001 From: gepard1984 Date: Tue, 31 Jan 2012 20:06:57 +0000 Subject: * 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 --- src/map/mob.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/map/mob.h') 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; -- cgit v1.2.3-70-g09d2