summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorkenpachi2k11 <kenpachi2k11@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-21 22:15:28 +0000
committerkenpachi2k11 <kenpachi2k11@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-21 22:15:28 +0000
commit653ba172167466374794140277e34969ae544eaf (patch)
treef3ed3c317454c35609fdaca79245fc1243a5c778 /src/map/script.c
parentee6ca5d682f79c8946fa778802cd709f1110f7fb (diff)
downloadhercules-653ba172167466374794140277e34969ae544eaf.tar.gz
hercules-653ba172167466374794140277e34969ae544eaf.tar.bz2
hercules-653ba172167466374794140277e34969ae544eaf.tar.xz
hercules-653ba172167466374794140277e34969ae544eaf.zip
Renamed bUseSPrateSkill to bSkillUseSPrate.
Added bSkillUseSP. Added documentation for bSkillUseSPrate(bUseSPrateSkill), bSkillUseSP, bSkillCooldown, bSkillFixedCast, bSkillVariableCast, bSkillFixedCast and bVariableCastrate. (bugreport:6193) Fixed Enriched White PotionZs (#12428) and Enrich Celermine Juices (#12437) bonus script. (bugreport:5790) Fixed Mental Sticks (#1654) bonus script. (bugreport:6071) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16466 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 68baecc23..0329f4928 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -7354,10 +7354,11 @@ BUILDIN_FUNC(bonus)
case SP_ADD_SKILL_BLOW:
case SP_CASTRATE:
case SP_ADDEFF_ONSKILL:
- case SP_SP_RATE_SKILL:
+ case SP_SKILL_USE_SP_RATE:
case SP_SKILL_COOLDOWN:
case SP_SKILL_FIXEDCAST:
case SP_SKILL_VARIABLECAST:
+ 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) );
break;