"zauber-syntax in den cr aufnehmen"
This commit is contained in:
Enno Rehling 2007-02-10 10:20:18 +00:00
parent b5c8218c62
commit f60ec33f2a
1 changed files with 2 additions and 0 deletions

View File

@ -985,6 +985,8 @@ cr_reportspell(FILE * F, spell *sp, const struct locale * lang)
fprintf(F, "%d;level\n", sp->level);
fprintf(F, "%d;rank\n", sp->rank);
fprintf(F, "\"%s\";info\n", spell_info(sp, lang));
if (sp->syntax) fprintf(F, "\"%s\";syntax\n", sp->syntax);
else fputs(F, "\"\";syntax\n", F);
if (sp->sptyp & PRECOMBATSPELL) fputs("\"precombat\";class\n", F);
else if (sp->sptyp & COMBATSPELL) fputs("\"combat\";class\n", F);