diff options
author | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-02-15 19:30:58 +0000 |
---|---|---|
committer | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-02-15 19:30:58 +0000 |
commit | 35c7324f5f2f1a5f1dc4fa690020fcbd0c18d891 (patch) | |
tree | 32e1f80a817a307254862698e8d81127684ed748 /src/map/pc.c | |
parent | 89b9949be05475aff1be28ef1e3a2a18add12cf2 (diff) | |
download | hercules-35c7324f5f2f1a5f1dc4fa690020fcbd0c18d891.tar.gz hercules-35c7324f5f2f1a5f1dc4fa690020fcbd0c18d891.tar.bz2 hercules-35c7324f5f2f1a5f1dc4fa690020fcbd0c18d891.tar.xz hercules-35c7324f5f2f1a5f1dc4fa690020fcbd0c18d891.zip |
fixed spawn of treasure boxes
fixed present_log
Mobs drops: expanded 8 slots into 10 (except READING info from TXT / SQL dbs. But added a plug - to make eA work with old DBs)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1115 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 80d15187d..8cfebbaf2 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -2614,9 +2614,9 @@ int pc_steal_item(struct map_session_data *sd,struct block_list *bl) if(0 < skill) { - for(count = 8; count <= 8 && count != 0; count--) + for(count = 10; count <= 10 && count != 0; count--) //8 -> 10 Lupus { - i = rand()%8; + i = rand()%10; //8 -> 10 Lupus itemid = mob_db[md->class_].dropitem[i].nameid; if(itemid > 0 && itemdb_type(itemid) != 6) |