From 5bb68970dece3052f5bf82d53bec8c6eeac60e15 Mon Sep 17 00:00:00 2001 From: Fate Date: Sun, 23 Nov 2008 23:30:51 -0700 Subject: Magic: looping over spells, spell field access, is-equipped check --- src/map/magic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/magic.c') diff --git a/src/map/magic.c b/src/map/magic.c index 5225ede..8800bb3 100644 --- a/src/map/magic.c +++ b/src/map/magic.c @@ -56,7 +56,7 @@ int magic_message(character_t *caster, char *spell_, size_t spell_len) { - int power = caster->status.base_level + (caster->status.int_ * 2) + caster->spellpower_bonus_current; + int power = caster->matk1; char *invocation_base = spell_ + 8; char *source_invocation = strchr(invocation_base, ':'); spell_t *spell; -- cgit v1.2.3-70-g09d2