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);