diff options
author | Fate <fate-tmw@googlemail.com> | 2009-01-31 11:44:17 -0700 |
---|---|---|
committer | Fate <fate-tmw@googlemail.com> | 2009-01-31 11:44:17 -0700 |
commit | 22fd73c222888ceba66afc2f5336cc1834d48dc9 (patch) | |
tree | e754dc83ce4eb4dad2d4ba648370058c834701bf | |
parent | d06310b227ddb32d7ec67ead6803bcb5f4836196 (diff) | |
download | serverdata-22fd73c222888ceba66afc2f5336cc1834d48dc9.tar.gz serverdata-22fd73c222888ceba66afc2f5336cc1834d48dc9.tar.bz2 serverdata-22fd73c222888ceba66afc2f5336cc1834d48dc9.tar.xz serverdata-22fd73c222888ceba66afc2f5336cc1834d48dc9.zip |
Attack spells now install the default attack spell icon
-rw-r--r-- | conf/magic.conf.template | 4 |
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); |