From 22fd73c222888ceba66afc2f5336cc1834d48dc9 Mon Sep 17 00:00:00 2001 From: Fate Date: Sat, 31 Jan 2009 11:44:17 -0700 Subject: Attack spells now install the default attack spell icon --- conf/magic.conf.template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'conf') 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); -- cgit v1.2.3-70-g09d2