diff options
author | Fate <fate-tmw@googlemail.com> | 2008-11-23 23:30:51 -0700 |
---|---|---|
committer | Fate <fate-tmw@googlemail.com> | 2008-11-23 23:30:51 -0700 |
commit | 5bb68970dece3052f5bf82d53bec8c6eeac60e15 (patch) | |
tree | c1ca7cf0d8f5f88f35b1bccdaf844e716066d62c /src/map/magic.c | |
parent | 8678e872c4a8f5ce67f135bf2f5e6b44b4ba2997 (diff) | |
download | tmwa-5bb68970dece3052f5bf82d53bec8c6eeac60e15.tar.gz tmwa-5bb68970dece3052f5bf82d53bec8c6eeac60e15.tar.bz2 tmwa-5bb68970dece3052f5bf82d53bec8c6eeac60e15.tar.xz tmwa-5bb68970dece3052f5bf82d53bec8c6eeac60e15.zip |
Magic: looping over spells, spell field access, is-equipped check
Diffstat (limited to 'src/map/magic.c')
-rw-r--r-- | src/map/magic.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |