summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-27 15:11:50 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-27 15:11:50 +0000
commitfa995fd30d78c8f8fda192ca314bf8dd0efa8d31 (patch)
tree16d91ec8cc41b639f38fded6b245ff365778cb5b
parentfaff32634e6f27c02cfb429851eafaed4c567a45 (diff)
downloadhercules-fa995fd30d78c8f8fda192ca314bf8dd0efa8d31.tar.gz
hercules-fa995fd30d78c8f8fda192ca314bf8dd0efa8d31.tar.bz2
hercules-fa995fd30d78c8f8fda192ca314bf8dd0efa8d31.tar.xz
hercules-fa995fd30d78c8f8fda192ca314bf8dd0efa8d31.zip
- Cleaned up item_misc.txt
- Fixed a bug which makes the group heal bonus be applied as many times as the item is in that group. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9578 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--db/Changelog.txt3
-rw-r--r--db/item_misc.txt317
-rw-r--r--src/map/itemdb.c4
4 files changed, 46 insertions, 280 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 4408f9f5b..89c517cb7 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/12/27
+ * Fixed a bug which makes the group heal bonus be applied as many times as
+ the item is in that group.
* Applied Rayce's suggestion to improve the script hash size usage. eA now
uses a hash of 1024.
* Full Buster's auto-blind chance is now reducable by stats/items.
diff --git a/db/Changelog.txt b/db/Changelog.txt
index 5b9f205d5..8cbec0820 100644
--- a/db/Changelog.txt
+++ b/db/Changelog.txt
@@ -19,6 +19,9 @@
-----
========================
+
+12/27
+ * Cleaned up item_misc.txt [Skotlex]
12/23
* Fixed some autospell bonuses thanks to NLZ [Playtester]
12/21
diff --git a/db/item_misc.txt b/db/item_misc.txt
index d62b1a549..f9addce1e 100644
--- a/db/item_misc.txt
+++ b/db/item_misc.txt
@@ -1,92 +1,24 @@
//GroupID,ItemID,Rate
//
// Potions
+8,501,5 //Red Potion
+8,502,5 //Orange Potion
+8,503,5 //Yellow Potion
+8,504,5 //White Potion
+8,505,5 //Blue Potion
+8,506,5 //Green Potion
+8,545,5 //Condensed Red Potion
+8,546,5 //Condensed Yellow Potion
+8,547,5 //Condensed White Potion
+8,605,5 //Anodyne
+8,645,5 //Concentration Potion
+8,656,5 //Awakening Potion
+8,657,5 //Berserk Potion
+8,569,5 //Novice Potion
8,678,1 //Poison Bottle
-8,501,1 //Red Potion
-8,502,1 //Orange Potion
-8,503,1 //Yellow Potion
-8,12017,1 //Slow Potion
-8,504,1 //White Potion
-8,505,1 //Blue Potion
-8,506,1 //Green Potion
-8,545,1 //Condensed Red Potion
-8,546,1 //Condensed Yellow Potion
-8,547,1 //Condensed White Potion
-8,12020,1 //Cursed_Water
-8,645,1 //Concentration Potion
-8,656,1 //Awakening Potion
-8,657,1 //Berserk Potion
-8,569,1 //Novice Potion
-8,605,1 //Anodyne
-8,12016,1 //Speed Potion
-8,501,1 //Red Potion
-8,502,1 //Orange Potion
-8,503,1 //Yellow Potion
-8,12017,1 //Slow Potion
-8,504,1 //White Potion
-8,505,1 //Blue Potion
-8,506,1 //Green Potion
-8,545,1 //Condensed Red Potion
-8,546,1 //Condensed Yellow Potion
-8,547,1 //Condensed White Potion
-8,12020,1 //Cursed_Water
-8,645,1 //Concentration Potion
-8,656,1 //Awakening Potion
-8,657,1 //Berserk Potion
-8,569,1 //Novice Potion
-8,605,1 //Anodyne
-8,12016,1 //Speed Potion
-8,501,1 //Red Potion
-8,502,1 //Orange Potion
-8,503,1 //Yellow Potion
-8,12017,1 //Slow Potion
-8,504,1 //White Potion
-8,505,1 //Blue Potion
-8,506,1 //Green Potion
-8,545,1 //Condensed Red Potion
-8,546,1 //Condensed Yellow Potion
-8,547,1 //Condensed White Potion
-8,12020,1 //Cursed_Water
-8,645,1 //Concentration Potion
-8,656,1 //Awakening Potion
-8,657,1 //Berserk Potion
-8,569,1 //Novice Potion
-8,605,1 //Anodyne
-8,12016,1 //Speed Potion
-8,501,1 //Red Potion
-8,502,1 //Orange Potion
-8,503,1 //Yellow Potion
-8,12017,1 //Slow Potion
-8,504,1 //White Potion
-8,505,1 //Blue Potion
-8,506,1 //Green Potion
-8,545,1 //Condensed Red Potion
-8,546,1 //Condensed Yellow Potion
-8,547,1 //Condensed White Potion
-8,12020,1 //Cursed_Water
-8,645,1 //Concentration Potion
-8,656,1 //Awakening Potion
-8,657,1 //Berserk Potion
-8,569,1 //Novice Potion
-8,605,1 //Anodyne
-8,12016,1 //Speed Potion
-8,501,1 //Red Potion
-8,502,1 //Orange Potion
-8,503,1 //Yellow Potion
-8,12017,1 //Slow Potion
-8,504,1 //White Potion
-8,505,1 //Blue Potion
-8,506,1 //Green Potion
-8,545,1 //Condensed Red Potion
-8,546,1 //Condensed Yellow Potion
-8,547,1 //Condensed White Potion
-8,12020,1 //Cursed_Water
-8,645,1 //Concentration Potion
-8,656,1 //Awakening Potion
-8,657,1 //Berserk Potion
-8,569,1 //Novice Potion
-8,605,1 //Anodyne
-8,12016,1 //Speed Potion
+8,12016,5 //Speed Potion
+8,12017,5 //Slow Potion
+8,12020,5 //Cursed_Water
// Herbs
9,507,1
9,508,1
@@ -377,203 +309,32 @@
25,5090,1 //Goblin Leader Mask
25,5121,1 //Zherlthsh Mask
//accessory
-26,2604,1 //Glove
-26,2610,1 //Gold Ring
-26,2617,1 //Celebrant's Mitten
-26,2612,1 //Flower Ring
-26,2603,1 //Necklace
-26,2623,1 //Necklace
-26,2628,1 //Novice Armlet
-26,2613,1 //Diamond Ring
-26,2609,1 //Skull Ring
-26,2619,1 //Bow Thimble
-26,2608,1 //Rosary
-26,2601,1 //Ring
-26,2618,1 //Matyr's Leash
-26,2627,1 //Belt
-26,2605,1 //Brooch
-26,2658,1 //Nile Rose
-26,2611,1 //Silver Ring
-26,2607,1 //Clip
-26,2602,1 //Earring
-26,2604,1 //Glove
-26,2610,1 //Gold Ring
-26,2617,1 //Celebrant's Mitten
-26,2612,1 //Flower Ring
-26,2603,1 //Necklace
-26,2623,1 //Necklace
-26,2628,1 //Novice Armlet
-26,2613,1 //Diamond Ring
-26,2609,1 //Skull Ring
-26,2619,1 //Bow Thimble
-26,2608,1 //Rosary
-26,2601,1 //Ring
-26,2618,1 //Matyr's Leash
-26,2627,1 //Belt
-26,2605,1 //Brooch
-26,2658,1 //Nile Rose
-26,2611,1 //Silver Ring
-26,2607,1 //Clip
-26,2602,1 //Earring
-26,2604,1 //Glove
-26,2610,1 //Gold Ring
-26,2617,1 //Celebrant's Mitten
-26,2612,1 //Flower Ring
-26,2603,1 //Necklace
-26,2623,1 //Necklace
-26,2628,1 //Novice Armlet
-26,2613,1 //Diamond Ring
-26,2609,1 //Skull Ring
-26,2619,1 //Bow Thimble
-26,2608,1 //Rosary
-26,2601,1 //Ring
-26,2618,1 //Matyr's Leash
-26,2627,1 //Belt
-26,2605,1 //Brooch
-26,2658,1 //Nile Rose
-26,2611,1 //Silver Ring
-26,2607,1 //Clip
-26,2602,1 //Earring
-26,2604,1 //Glove
-26,2610,1 //Gold Ring
-26,2617,1 //Celebrant's Mitten
-26,2612,1 //Flower Ring
-26,2603,1 //Necklace
-26,2623,1 //Necklace
-26,2628,1 //Novice Armlet
-26,2613,1 //Diamond Ring
-26,2609,1 //Skull Ring
-26,2619,1 //Bow Thimble
-26,2608,1 //Rosary
-26,2601,1 //Ring
-26,2618,1 //Matyr's Leash
-26,2627,1 //Belt
-26,2605,1 //Brooch
-26,2658,1 //Nile Rose
-26,2611,1 //Silver Ring
-26,2607,1 //Clip
-26,2602,1 //Earring
-26,2604,1 //Glove
-26,2610,1 //Gold Ring
-26,2617,1 //Celebrant's Mitten
-26,2612,1 //Flower Ring
-26,2603,1 //Necklace
-26,2623,1 //Necklace
-26,2628,1 //Novice Armlet
-26,2613,1 //Diamond Ring
-26,2609,1 //Skull Ring
-26,2619,1 //Bow Thimble
-26,2608,1 //Rosary
-26,2601,1 //Ring
-26,2618,1 //Matyr's Leash
-26,2627,1 //Belt
-26,2605,1 //Brooch
-26,2658,1 //Nile Rose
-26,2611,1 //Silver Ring
-26,2607,1 //Clip
-26,2602,1 //Earring
-26,2604,1 //Glove
-26,2610,1 //Gold Ring
-26,2617,1 //Celebrant's Mitten
-26,2612,1 //Flower Ring
-26,2603,1 //Necklace
-26,2623,1 //Necklace
-26,2628,1 //Novice Armlet
-26,2613,1 //Diamond Ring
-26,2609,1 //Skull Ring
-26,2619,1 //Bow Thimble
-26,2608,1 //Rosary
-26,2601,1 //Ring
-26,2618,1 //Matyr's Leash
-26,2627,1 //Belt
-26,2605,1 //Brooch
-26,2658,1 //Nile Rose
-26,2611,1 //Silver Ring
-26,2607,1 //Clip
-26,2602,1 //Earring
-26,2604,1 //Glove
-26,2610,1 //Gold Ring
-26,2617,1 //Celebrant's Mitten
-26,2612,1 //Flower Ring
-26,2603,1 //Necklace
-26,2623,1 //Necklace
-26,2628,1 //Novice Armlet
-26,2613,1 //Diamond Ring
-26,2609,1 //Skull Ring
-26,2619,1 //Bow Thimble
-26,2608,1 //Rosary
-26,2601,1 //Ring
-26,2618,1 //Matyr's Leash
-26,2627,1 //Belt
-26,2605,1 //Brooch
-26,2658,1 //Nile Rose
-26,2611,1 //Silver Ring
-26,2607,1 //Clip
-26,2602,1 //Earring
-26,2604,1 //Glove
-26,2610,1 //Gold Ring
-26,2617,1 //Celebrant's Mitten
-26,2612,1 //Flower Ring
-26,2603,1 //Necklace
-26,2623,1 //Necklace
-26,2628,1 //Novice Armlet
-26,2613,1 //Diamond Ring
-26,2609,1 //Skull Ring
-26,2619,1 //Bow Thimble
-26,2608,1 //Rosary
-26,2601,1 //Ring
-26,2618,1 //Matyr's Leash
-26,2627,1 //Belt
-26,2605,1 //Brooch
-26,2658,1 //Nile Rose
-26,2611,1 //Silver Ring
-26,2607,1 //Clip
-26,2602,1 //Earring
-26,2604,1 //Glove
-26,2610,1 //Gold Ring
-26,2617,1 //Celebrant's Mitten
-26,2612,1 //Flower Ring
-26,2603,1 //Necklace
-26,2623,1 //Necklace
-26,2628,1 //Novice Armlet
-26,2613,1 //Diamond Ring
-26,2609,1 //Skull Ring
-26,2619,1 //Bow Thimble
-26,2608,1 //Rosary
-26,2601,1 //Ring
-26,2618,1 //Matyr's Leash
-26,2627,1 //Belt
-26,2605,1 //Brooch
-26,2658,1 //Nile Rose
-26,2611,1 //Silver Ring
-26,2607,1 //Clip
-26,2602,1 //Earring
-26,2604,1 //Glove
-26,2610,1 //Gold Ring
-26,2617,1 //Celebrant's Mitten
-26,2612,1 //Flower Ring
-26,2603,1 //Necklace
-26,2623,1 //Necklace
-26,2628,1 //Novice Armlet
-26,2613,1 //Diamond Ring
-26,2609,1 //Skull Ring
-26,2619,1 //Bow Thimble
-26,2608,1 //Rosary
-26,2601,1 //Ring
-26,2618,1 //Matyr's Leash
-26,2627,1 //Belt
-26,2605,1 //Brooch
-26,2658,1 //Nile Rose
-26,2611,1 //Silver Ring
-26,2607,1 //Clip
-26,2602,1 //Earring
+26,2601,10 //Ring
+26,2602,10 //Earring
+26,2603,10 //Necklace
+26,2604,10 //Glove
+26,2605,10 //Brooch
+26,2607,10 //Clip
+26,2608,10 //Rosary
+26,2609,10 //Skull Ring
+26,2610,10 //Gold Ring
+26,2611,10 //Silver Ring
+26,2612,10 //Flower Ring
+26,2613,10 //Diamond Ring
26,2615,1 //Safety Ring
26,2616,1 //Critical Ring
-26,2624,1 //Glove
+26,2617,10 //Celebrant's Mitten
+26,2618,10 //Matyr's Leash
+26,2619,10 //Bow Thimble
26,2621,1 //Ring
-26,2626,1 //Rosary
-26,2625,1 //Brooch
26,2622,1 //Earring
+26,2623,10 //Necklace
+26,2624,1 //Glove
+26,2625,1 //Brooch
+26,2626,1 //Rosary
+26,2627,10 //Belt
+26,2628,10 //Novice Armlet
+26,2658,10 //Nile Rose
// jewels
27,718,1
27,719,1
diff --git a/src/map/itemdb.c b/src/map/itemdb.c
index 63aaa0bcf..32a8f7d48 100644
--- a/src/map/itemdb.c
+++ b/src/map/itemdb.c
@@ -125,9 +125,9 @@ int itemdb_group_bonus(struct map_session_data *sd, int itemid)
continue;
for (j=0; j < itemgroup_db[i].qty; j++) {
if (itemgroup_db[i].nameid[j] == itemid)
- {
+ {
bonus += sd->itemgrouphealrate[i];
- continue;
+ break;
}
}
}