summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJedzkie <jedzkie13@rocketmail.com>2016-01-05 22:06:18 +0800
committerHaru <haru@dotalux.com>2016-01-05 16:20:53 +0100
commitddab7db291f714f03d1b553a649760474ac8cecd (patch)
treeb6ecfc0a53ee35d4c55519bedb7673c5cf846571
parentcba5a8c379b04daba61316cd0978a02481072e9f (diff)
downloadhercules-ddab7db291f714f03d1b553a649760474ac8cecd.tar.gz
hercules-ddab7db291f714f03d1b553a649760474ac8cecd.tar.bz2
hercules-ddab7db291f714f03d1b553a649760474ac8cecd.tar.xz
hercules-ddab7db291f714f03d1b553a649760474ac8cecd.zip
Change the leftover ItemID's in skills.
Closes #1067 as merged Signed-off-by: Haru <haru@dotalux.com>
-rw-r--r--src/map/itemdb.h1
-rw-r--r--src/map/skill.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/src/map/itemdb.h b/src/map/itemdb.h
index 5ea22b190..e312acf1f 100644
--- a/src/map/itemdb.h
+++ b/src/map/itemdb.h
@@ -64,6 +64,7 @@ enum item_itemid {
ITEMID_BRANCH_OF_DEAD_TREE = 604,
ITEMID_ANODYNE = 605,
ITEMID_ALOEBERA = 606,
+ ITEMID_POISON_BOTTLE = 678,
ITEMID_EMPTY_BOTTLE = 713,
ITEMID_EMPERIUM = 714,
ITEMID_YELLOW_GEMSTONE = 715,
diff --git a/src/map/skill.c b/src/map/skill.c
index 6795707fd..b5099750a 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -6733,7 +6733,7 @@ int skill_castend_nodamage_id(struct block_list *src, struct block_list *bl, uin
case AL_HOLYWATER:
if(sd) {
- if (skill->produce_mix(sd, skill_id, 523, 0, 0, 0, 1))
+ if (skill->produce_mix(sd, skill_id, ITEMID_HOLY_WATER, 0, 0, 0, 1))
clif->skill_nodamage(src,bl,skill_id,skill_lv,1);
else
clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0);
@@ -6762,7 +6762,7 @@ int skill_castend_nodamage_id(struct block_list *src, struct block_list *bl, uin
case ASC_CDP:
if(sd) {
clif->skill_nodamage(src,bl,skill_id,skill_lv,1);
- skill->produce_mix(sd, skill_id, 678, 0, 0, 0, 1); //Produce a Deadly Poison Bottle.
+ skill->produce_mix(sd, skill_id, ITEMID_POISON_BOTTLE, 0, 0, 0, 1); //Produce a Deadly Poison Bottle.
}
break;