double floatFromBuff(String key, IBuffInfo buff) { buff.key = key; double target = buff.value as double; return target; }