summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authormalufett <malufett.eat.my.binaries@gmail.com>2013-02-05 19:12:39 +0800
committermalufett <malufett.eat.my.binaries@gmail.com>2013-02-05 19:13:18 +0800
commitc69e4b6cf853d31f18ef9c2f04d2bc965f4ad158 (patch)
tree7e881232e12e393e6b8ad26119221d35655b9e42 /src/map/script.c
parentf9d5d4fccc25a4309dc714a3c57ad82da8b31d6c (diff)
downloadhercules-c69e4b6cf853d31f18ef9c2f04d2bc965f4ad158.tar.gz
hercules-c69e4b6cf853d31f18ef9c2f04d2bc965f4ad158.tar.bz2
hercules-c69e4b6cf853d31f18ef9c2f04d2bc965f4ad158.tar.xz
hercules-c69e4b6cf853d31f18ef9c2f04d2bc965f4ad158.zip
Fix Bug # 7049
Added new item bonuses bFixedCast, bVariableCast & bFixedCastrate. (see 'doc/item_bonus.txt' for info) Added new conf for max walk path.(Bug Report # 7042) http://hercules.ws/board/tracker/issue-7049-do-we-need-new-bonus/?gopid=16578#entry16578
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 60a61654a..0b649f990 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -7860,6 +7860,7 @@ BUILDIN_FUNC(bonus)
case SP_SKILL_FIXEDCAST:
case SP_SKILL_VARIABLECAST:
case SP_VARCASTRATE:
+ case SP_FIXCASTRATE:
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) );