forked from github/server
rundungsfehler RESOURCE_QUANTITY verbessert
This commit is contained in:
parent
f3c7da7dbc
commit
e8801b5878
|
@ -1533,7 +1533,7 @@ sp_create_irongolem(castorder *co)
|
||||||
int cast_level = co->level;
|
int cast_level = co->level;
|
||||||
int force = co->force;
|
int force = co->force;
|
||||||
/* hier fehlt noch ein wenig zufall */
|
/* hier fehlt noch ein wenig zufall */
|
||||||
int number = 1+(int)(force*RESOURCE_QUANTITY)*8;
|
int number = 1+(int)(force*8*RESOURCE_QUANTITY);
|
||||||
|
|
||||||
if (rterrain(r) == T_SWAMP){
|
if (rterrain(r) == T_SWAMP){
|
||||||
cmistake(mage, strdup(co->order), 188, MSG_MAGIC);
|
cmistake(mage, strdup(co->order), 188, MSG_MAGIC);
|
||||||
|
|
Loading…
Reference in New Issue