summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/magic.conf.template4
1 files changed, 3 insertions, 1 deletions
diff --git a/conf/magic.conf.template b/conf/magic.conf.template
index 418b1741..b15defc9 100644
--- a/conf/magic.conf.template
+++ b/conf/magic.conf.template
@@ -53,6 +53,8 @@ CONST SCRIPT_HEALSPELL_MASK = 0xff
CONST SCRIPT_HEALSPELL_SHIFT = 24
CONST DEBUG = 0
+CONST ATTACK_ICON_GENERIC = 2000
+
# Default sfx on caster
PROCEDURE default_effect() =
sfx(caster, school - MAGIC + 2, 0);
@@ -181,7 +183,7 @@ PROCEDURE install_attack_spell(charges, base_delay, range, attack_animation) =
CALL default_effect();
attack_range = range;
override_attack(caster, charges, ((200 - agi(caster)) * base_delay) / 200,
- range, 0, attack_animation);
+ range, ATTACK_ICON_GENERIC, attack_animation);
PROCEDURE install_melee_spell(charges, base_delay, attack_animation) =
CALL install_attack_spell(charges, base_delay, 1, attack_animation);