summaryrefslogtreecommitdiff
path: root/src/map/magic.c
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2009-09-26 18:08:42 +0000
committerFate <fate-tmw@googlemail.com>2009-09-26 18:08:42 +0000
commit3ef2cb492970da40f82df9643c4cfc570bc3aa62 (patch)
tree16e071b00b764db07d60f7872756bf79c6044dfe /src/map/magic.c
parentf9f63203fb461e69a9a422d160986daa78eecc51 (diff)
downloadtmwa-3ef2cb492970da40f82df9643c4cfc570bc3aa62.tar.gz
tmwa-3ef2cb492970da40f82df9643c4cfc570bc3aa62.tar.bz2
tmwa-3ef2cb492970da40f82df9643c4cfc570bc3aa62.tar.xz
tmwa-3ef2cb492970da40f82df9643c4cfc570bc3aa62.zip
Initial support for skill pools (available via at commands and
untested scripting commands.) These changes also affect the format of the skill_db.txt file.
Diffstat (limited to 'src/map/magic.c')
-rw-r--r--src/map/magic.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/map/magic.c b/src/map/magic.c
index 7567691..f70d9a6 100644
--- a/src/map/magic.c
+++ b/src/map/magic.c
@@ -95,11 +95,9 @@ magic_message(character_t *caster,
if (caster->status.option & OPTION_HIDE)
return 0; // No spellcasting while hidden
- MAP_LOG("PC%d %d:%d,%d CAST %s %s",
- caster->status.char_id, caster->bl.m, caster->bl.x, caster->bl.y,
- spell->name,
- effects? "SUCCESS" : "FAILURE");
-
+ MAP_LOG_PC(caster, "CAST %s %s",
+ spell->name,
+ effects? "SUCCESS" : "FAILURE");
if (effects) {
invocation_t *invocation = spell_instantiate(effects, env);