summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-29 15:52:29 +0000
committerrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-29 15:52:29 +0000
commit86aafca6da0a843db09a33e74faf8d9bb77e2508 (patch)
treeae44006b9f05054ccdf479780b2d0a03743252e4 /src/map/script.c
parent05972632af5de3ddce35ea54797bf3a0598368b2 (diff)
downloadhercules-86aafca6da0a843db09a33e74faf8d9bb77e2508.tar.gz
hercules-86aafca6da0a843db09a33e74faf8d9bb77e2508.tar.bz2
hercules-86aafca6da0a843db09a33e74faf8d9bb77e2508.tar.xz
hercules-86aafca6da0a843db09a33e74faf8d9bb77e2508.zip
Implemented new item script bonuses:
- bSkillCooldown,n,x; - bSkillFixedCast,n,x; - *bSkillVariableCast,n,x; - bFixedCastrate,x; - *bVariableCastrate,x; *Pending until RE Casting system is fully implemented. ATM bCastrate is used to manipulate variable cast time where it should not. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16355 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c
index f83264315..4b2cedea4 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -7358,6 +7358,9 @@ BUILDIN_FUNC(bonus)
case SP_CASTRATE:
case SP_ADDEFF_ONSKILL:
case SP_SP_RATE_SKILL:
+ case SP_SKILL_COOLDOWN:
+ case SP_SKILL_FIXEDCAST:
+ case SP_SKILL_VARIABLECAST:
// these bonuses support skill names
val1 = ( script_isstring(st,3) ? skill_name2id(script_getstr(st,3)) : script_getnum(st,3) );
break;