From ca217557a8f647f06e11a1d89592bc0b1c4d1b3e Mon Sep 17 00:00:00 2001 From: rud0lp20 Date: Wed, 9 Jan 2013 15:23:25 +0000 Subject: Fixed bugreport:7105 where pierce defense must ignore def and add (def/2) as additional ATK damage. Fixed bugreport:7148 where r17072 broke the ability of smiths to forge weapons. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17089 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/clif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/clif.c') diff --git a/src/map/clif.c b/src/map/clif.c index cc4100487..06c74a5f8 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -5239,7 +5239,7 @@ void clif_skill_estimation(struct map_session_data *sd,struct block_list *dst) /// 018d .W { .W { .W }*3 }* /// material id: /// unused by the client -void clif_skill_produce_mix_list(struct map_session_data *sd, uint16 skill_id , int trigger) +void clif_skill_produce_mix_list(struct map_session_data *sd, int skill_id , int trigger) { int i,c,view,fd; nullpo_retv(sd); @@ -5255,7 +5255,7 @@ void clif_skill_produce_mix_list(struct map_session_data *sd, uint16 skill_id , for(i=0,c=0;i 0 && skill_produce_db[i].req_skill == skill_id ) + ( skill_id > 0 && skill_produce_db[i].req_skill == skill_id || skill_id < 0 ) ){ if((view = itemdb_viewid(skill_produce_db[i].nameid)) > 0) WFIFOW(fd,c*8+ 4)= view; -- cgit v1.2.3-70-g09d2