From 05f6eec60d090c7322d1c0b4ffcdcdc0672aee27 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 5 Feb 2005 22:52:59 +0000 Subject: [PATCH] =?UTF-8?q?http://eressea.upb.de/mantis/view.php=3Fid=3D37?= =?UTF-8?q?9=20-=20STUFE=20n=20geht=20=5Fnicht=5F=20f=C3=BCr=20Kleines=20B?= =?UTF-8?q?lutopfer=20-=20Zauber=20ohne=20Stufenver=C3=A4nderung=20habben?= =?UTF-8?q?=20keine=20'*=20Stufe'=20Angabe=20in=20der=20Beschreibung=20meh?= =?UTF-8?q?r?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/gamecode/report.c | 12 +++++++++--- src/common/kernel/spell.c | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/common/gamecode/report.c b/src/common/gamecode/report.c index 8af7ec7b0..7b1cc94df 100644 --- a/src/common/gamecode/report.c +++ b/src/common/gamecode/report.c @@ -481,9 +481,15 @@ report_spell(FILE * F, spellid_t id, const struct locale * lang) itemanz = sp->komponenten[k][1]; costtyp = sp->komponenten[k][2]; if(itemanz > 0){ - sprintf(buf, " %d %s", itemanz, LOC(lang, resname(res, itemanz!=1))); - if (costtyp == SPC_LEVEL || costtyp == SPC_LINEAR ) - scat(" * Stufe"); + if (sp->sptyp & SPELLLEVEL) { + sprintf(buf, " %d %s", itemanz, LOC(lang, resname(res, itemanz!=1))); + if (costtyp == SPC_LEVEL || costtyp == SPC_LINEAR ) { + scat(" * Stufe"); + } + } else { + itemanz *= sp->level; + sprintf(buf, " %d %s", itemanz, LOC(lang, resname(res, itemanz!=1))); + } rps(F, buf); } } diff --git a/src/common/kernel/spell.c b/src/common/kernel/spell.c index f5049e07e..5afdf9a0b 100644 --- a/src/common/kernel/spell.c +++ b/src/common/kernel/spell.c @@ -8330,7 +8330,7 @@ static spell spelldaten[] = }, { SPL_BLOODSACRIFICE, "bloodsacrifice", NULL, NULL, NULL, - M_CHAOS, (ONSHIPCAST | SPELLLEVEL), 1, 4, + M_CHAOS, (ONSHIPCAST), 1, 4, { { R_HITPOINTS, 4, SPC_LEVEL }, { 0, 0, 0 },