forked from github/server
Mindestzeit für den Gesang der Friedfertigkeit war zu kurz.
This commit is contained in:
parent
4f7bfb65ab
commit
5094c5ea2a
|
@ -3066,20 +3066,6 @@ teure_talente (const struct unit * u)
|
||||||
void
|
void
|
||||||
attrib_init(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 */
|
/* Alle speicherbaren Attribute müssen hier registriert werden */
|
||||||
at_register(&at_unitdissolve);
|
at_register(&at_unitdissolve);
|
||||||
at_register(&at_shiptrail);
|
at_register(&at_shiptrail);
|
||||||
|
|
|
@ -4416,8 +4416,7 @@ sp_song_of_peace(castorder *co)
|
||||||
int cast_level = co->level;
|
int cast_level = co->level;
|
||||||
double force = co->force;
|
double force = co->force;
|
||||||
|
|
||||||
if (force < 2) duration = 0;
|
duration = 2 + lovar(force/2);
|
||||||
else duration = lovar(force/2);
|
|
||||||
|
|
||||||
create_curse(mage,&r->attribs, ct_find("peacezone"), force, duration, 1,0);
|
create_curse(mage,&r->attribs, ct_find("peacezone"), force, duration, 1,0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue