def getCreditMultiplier(floorIndex):
    """
    Returns the skill credit multiplier appropriate for a particular
    floor in a building battle.  The floorIndex is 0 for the first
    floor, up through 4 for the top floor of a five-story building.
    """
    # Currently, this is 1 for the first floor (floor 0), 1.5 for the
    # second floor (floor 1), etc.
    return 1 + floorIndex * 0.5