summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-21 19:12:11 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-21 19:12:11 +0000
commit960b1a24a32c93a220e9fc2ef41cdbc7b05f9030 (patch)
treed264294f1a8bf582338383e4899d288280e72f93 /src/map/script.c
parenta5e971eb69f5df3360ad86bc7d8310427e890342 (diff)
downloadhercules-960b1a24a32c93a220e9fc2ef41cdbc7b05f9030.tar.gz
hercules-960b1a24a32c93a220e9fc2ef41cdbc7b05f9030.tar.bz2
hercules-960b1a24a32c93a220e9fc2ef41cdbc7b05f9030.tar.xz
hercules-960b1a24a32c93a220e9fc2ef41cdbc7b05f9030.zip
- Updated the autospell bonus scripts so you don't have to specify all the attack type criteria. If neither of BF_LONG/BF_SHORT is specified, the spell will trigger on both. If neither of BF_WEAPON/BF_MAGIC/BF_MISC is specified, the spell will trigger on BF_WEAPON, if neither of BF_NORMAL/BF_SKILL is specified, BF_SKILL is used if the trigger is BF_MAGIC/BF_MISC and BF_NORMAL is used if the attack is BF_WEAPON. This way the default when nothing is specified is BF_NORMAL|BF_WEAPON|BF_SHORT|BF_LONG.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10300 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 691334802..47203beb5 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -6560,7 +6560,7 @@ BUILDIN_FUNC(statusup2)
/// bonus2 <bonus type>,<val1>,<val2>
/// bonus3 <bonus type>,<val1>,<val2>,<val3>
/// bonus4 <bonus type>,<val1>,<val2>,<val3>,<val4>
-/// bonus4 <bonus type>,<val1>,<val2>,<val3>,<val4>,<val5>
+/// bonus5 <bonus type>,<val1>,<val2>,<val3>,<val4>,<val5>
BUILDIN_FUNC(bonus)
{
int type;