From 5094c5ea2a317d096f01aa86a0f25c96853d0b1a Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Mon, 7 Mar 2005 21:16:26 +0000 Subject: [PATCH] =?UTF-8?q?http://eressea.upb.de/mantis/view.php=3Fid=3D27?= =?UTF-8?q?5=20Mindestzeit=20f=C3=BCr=20den=20Gesang=20der=20Friedfertigke?= =?UTF-8?q?it=20war=20zu=20kurz.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/kernel/eressea.c | 14 -------------- src/common/kernel/spell.c | 3 +-- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/src/common/kernel/eressea.c b/src/common/kernel/eressea.c index da798dfd1..0d33c77fc 100644 --- a/src/common/kernel/eressea.c +++ b/src/common/kernel/eressea.c @@ -3066,20 +3066,6 @@ teure_talente (const struct unit * u) void attrib_init(void) { -/* these are non-persistent attributes ! - at_register(&at_showitem); - at_register(&at_reportspell); - at_register(&at_horseluck); - at_register(&at_peasantluck); - at_register(&at_alias); - at_register(&at_target); - at_register(&at_potionuser); - at_register(&at_contact); - at_register(&at_lighthouse); - at_register(&at_prayer_effect); - at_register(&at_skillmod); -*/ - /* Alle speicherbaren Attribute müssen hier registriert werden */ at_register(&at_unitdissolve); at_register(&at_shiptrail); diff --git a/src/common/kernel/spell.c b/src/common/kernel/spell.c index 6ade9fd4a..99956958c 100644 --- a/src/common/kernel/spell.c +++ b/src/common/kernel/spell.c @@ -4416,8 +4416,7 @@ sp_song_of_peace(castorder *co) int cast_level = co->level; double force = co->force; - if (force < 2) duration = 0; - else duration = lovar(force/2); + duration = 2 + lovar(force/2); create_curse(mage,&r->attribs, ct_find("peacezone"), force, duration, 1,0);