From 66d7cc0fdf8ee6fdac851fa6bfea6247d95e69cf Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Tue, 20 May 2008 10:03:23 +0000 Subject: [PATCH] http://eressea.upb.de/mantis/view.php?id=1412 "keine zauberwirkung trotz korrektem befehl " - added a message when number of ships cursed < wanted --- src/common/spells/spells.c | 4 ++++ src/res/messages.xml | 9 ++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/common/spells/spells.c b/src/common/spells/spells.c index 3c237b125..4a60ea90c 100644 --- a/src/common/spells/spells.c +++ b/src/common/spells/spells.c @@ -2232,6 +2232,10 @@ sp_stormwinds(castorder *co) } } } + if (erfolglength) { + ADDMSG(&mage->faction->msgs, msg_message("stormwinds_reduced", + "unit ships maxships", mage, erfolg, pa->length)); + } /* melden, 1x pro Partei auf Schiff und für den Magier */ fset(mage->faction, FFL_SELECT); for (u = r->units; u; u = u->next ) { diff --git a/src/res/messages.xml b/src/res/messages.xml index f65d48ece..dd973100d 100644 --- a/src/res/messages.xml +++ b/src/res/messages.xml @@ -6305,13 +6305,20 @@ "$unit($unit) wird kurz von einem magischen Licht umhüllt." "$unit($unit) is briefly surrounded by a magical light." + + + + + + + "$unit($unit) konnte nur $int($ships) von $int($maxships) Schiffen verzaubern." + "$unit($unit) beschwört einen magischen Wind, der die Schiffe über das Wasser treibt." "$unit($unit) calls up a magical storm that whips the ship over the waters." - "$unit($unit) calls up a magical storm that whips the ship over the waters."