From 611350370ef3ecf8fc939005df37a14b55a8f69c Mon Sep 17 00:00:00 2001 From: rud0lp20 Date: Sat, 18 Aug 2012 07:52:11 +0000 Subject: Implemented Renewal Casting System. Fixed bugreport:2018 where CH_PALMSTRIKE deals damage to hidden targets. Fixed bugreport:6473, bugreport:6325 SC_DEADLYINFECT should now spread status ailments properly. Fixed bugreport:5541, bugreport:6179, bugreport:6281 where self buff skill is transfer to targets when doing a combo. Updated AC_VULTURE where in renewal it doesn't show the hit bonus anymore in the status window. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16661 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/script.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/map/script.c') diff --git a/src/map/script.c b/src/map/script.c index e33e1c643..79668f736 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -7718,6 +7718,7 @@ BUILDIN_FUNC(bonus) case SP_SKILL_COOLDOWN: case SP_SKILL_FIXEDCAST: case SP_SKILL_VARIABLECAST: + case SP_VARCASTRATE: case SP_SKILL_USE_SP: // these bonuses support skill names val1 = ( script_isstring(st,3) ? skill_name2id(script_getstr(st,3)) : script_getnum(st,3) ); @@ -16886,20 +16887,13 @@ BUILDIN_FUNC(checkre) #endif break; case 5: - #ifdef RENEWAL_CAST_VMIN - script_pushint(st, 1); - #else - script_pushint(st, 0); - #endif - break; - case 6: #ifdef RENEWAL_EDP script_pushint(st, 1); #else script_pushint(st, 0); #endif break; - case 7: + case 6: #ifdef RENEWAL_ASPD script_pushint(st, 1); #else -- cgit v1.2.3-70-g09d2