From 02efda2130b68359b65c54c546187d027c5fc3e9 Mon Sep 17 00:00:00 2001 From: rud0lp20 Date: Fri, 11 Jan 2013 16:10:00 +0000 Subject: Fixed bugreport:7159 where cooking formula and creation effect is not working properly. Fixed bugreport:7129 where GN_MANDRAGORA is not working with other skills. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17093 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/skill.c') diff --git a/src/map/skill.c b/src/map/skill.c index 757165107..8c21b7eba 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -13840,7 +13840,7 @@ int skill_vfcastfix (struct block_list *bl, double time, uint16 skill_id, uint16 if( sd && ( skill_lv = pc_checkskill(sd, WL_RADIUS) ) && skill_id >= WL_WHITEIMPRISON && skill_id <= WL_FREEZE_SP ) fixcast_r = max(fixcast_r, 5 + skill_lv * 5); // Fixed cast non percentage bonuses - if( sc->data[SC_MANDRAGORA] && (skill_id >= SM_BASH && skill_id <= RETURN_TO_ELDICASTES) ) + if( sc->data[SC_MANDRAGORA] ) fixed += sc->data[SC_MANDRAGORA]->val1 * 1000 / 2; if (sc->data[SC_IZAYOI] && (skill_id >= NJ_TOBIDOUGU && skill_id <= NJ_ISSEN)) fixed = 0; -- cgit v1.2.3-70-g09d2