forked from github/server
- Fixes
This commit is contained in:
parent
f530f30cb7
commit
ced9653fa6
|
@ -59,6 +59,8 @@
|
|||
/* attributes inclues */
|
||||
#include <attributes/matmod.h>
|
||||
|
||||
#include <items/catapultammo.h>
|
||||
|
||||
#define NEW_TAVERN
|
||||
#define STONERECYCLE 50
|
||||
/* Name, MaxGroesse, MinBauTalent, Kapazitaet, {Eisen, Holz, Stein, BauSilber,
|
||||
|
@ -232,7 +234,7 @@ siege(region * r, unit * u)
|
|||
/* meldung, schaden anrichten */
|
||||
if (d && !(is_cursed(b->attribs, C_MAGICSTONE, 0))) {
|
||||
b->size -= d;
|
||||
new_use_pooled(au, &rt_catapultammo, GET_SLACK|GET_RESERVE|GET_POOLED_SLACK, d);
|
||||
new_use_pooled(u, &rt_catapultammo, GET_SLACK|GET_RESERVE|GET_POOLED_SLACK, d);
|
||||
d = 100 * d / b->size;
|
||||
} else d = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue