Hi! There has often been confusion among dragon players if the metabolism has changed or not, and there's currently no way to find out your current focus. I think that the perceive self spell is the right place for the focus information, so I added the output there. It would be nice if you could include this in CVS. Bye Jochen ------------------ patch ----------------------- Index: spell_effect.c =================================================================== RCS file: /cvsroot/crossfire/crossfire/server/spell_effect.c,v retrieving revision 1.100 diff -u -r1.100 spell_effect.c --- spell_effect.c 25 Feb 2003 07:18:07 -0000 1.100 +++ spell_effect.c 1 Mar 2003 09:39:09 -0000 @@ -772,6 +772,25 @@ } } } + + if (is_dragon_pl(op)) + { + /* now grab the 'dragon_ability'-force from the player's inventory */ + for (tmp = op->inv; tmp != NULL; tmp = tmp->below) { + if (tmp->type == FORCE) { + if (strcmp(tmp->arch->name, "dragon_ability_force") == 0) { + if(tmp->stats.exp == 0) { + sprintf(buf, "Your metabolism isn't focused on anything."); + } else { + sprintf(buf, "Your metabolism is focused on %s.", change_resist_msg[tmp->stats.exp]); + } + new_draw_info(NDI_UNIQUE, 0,op, buf); + break; + } + } + } + } + return 1; } -- Jochen Suckfuell --- http://www.suckfuell.net/jochen/ --- _______________________________________________ crossfire-devel mailing list crossfire-devel at lists.real-time.com https://mailman.real-time.com/mailman/listinfo/crossfire-devel