summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-18 07:52:11 +0000
committerrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-18 07:52:11 +0000
commit611350370ef3ecf8fc939005df37a14b55a8f69c (patch)
tree1da4119c85685bed98adb79cad4cbcd144ca0ba8 /src/map/script.c
parent15e7b5f4c91f2bd50fdaee6edcaa19ef849d3875 (diff)
downloadhercules-611350370ef3ecf8fc939005df37a14b55a8f69c.tar.gz
hercules-611350370ef3ecf8fc939005df37a14b55a8f69c.tar.bz2
hercules-611350370ef3ecf8fc939005df37a14b55a8f69c.tar.xz
hercules-611350370ef3ecf8fc939005df37a14b55a8f69c.zip
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
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c10
1 files changed, 2 insertions, 8 deletions
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