ROGUE_MAXTOTAL = strength*2, ISMANY -> 1

This commit is contained in:
jl777
2019-02-18 21:15:47 -11:00
parent 6019a16cf1
commit aa60acbf27
3 changed files with 15 additions and 5 deletions

View File

@@ -166,16 +166,16 @@ int32_t num_packitems(struct rogue_state *rs)
if ( list->o_packch != 0 )
{
n++;
total += list->o_count;
total += rogue_total(list);
}
}
if ( rs->guiflag != 0 )
{
char str[MAXSTR];
sprintf(str,"strength*3 %d vs total.%d vs %d inventory letters\n",pstats.s_str*3,total,n);
sprintf(str,"strength*2 %d vs total.%d vs %d inventory letters\n",ROGUE_MAXTOTAL,total,n);
add_line(rs,"%s",str);
}
if ( total > pstats.s_str*3 )
if ( total > ROGUE_MAXTOTAL )
return(MAXPACK);
return(n);
}