Template:M to ft

From Baldur's Gate 3 Wiki
Revision as of 22:16, 7 April 2024 by Taylan (talk | contribs) (Created page with "<includeonly>{{#expr: ({{{1|0}}} * 10 / 3) round 0 }}</includeonly><noinclude> Converts a value in meters to feet. What this actually does, '''in line with the game's logic,''' is multiply by <code>10/3</code> and then round the result to an integer. Here is some evidence that this is what the game seems to be doing: * 1.5m (melee range) becomes 5ft * 9m (standard movement speed) becomes 30ft * 10.5m (wood-elf movement speed) becomes 35ft * 36m (9m base speed + dash th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Converts a value in meters to feet. What this actually does, in line with the game's logic, is multiply by 10/3 and then round the result to an integer.

Here is some evidence that this is what the game seems to be doing:

  • 1.5m (melee range) becomes 5ft
  • 9m (standard movement speed) becomes 30ft
  • 10.5m (wood-elf movement speed) becomes 35ft
  • 36m (9m base speed + dash three times with thief) becomes 120ft
  • 12.5m (9m base speed + sabre-tooth wild shape) becomes 41.666... rounded to 42ft
  • 14m (wood-elf + sabre-tooth) becomes 46.666... rounded to 47ft

Note: The game probably doesn't round the value internally when calculating distance, but rather only for display purposes. Otherwise, switching units would lead to actually different distances. E.g. switching to imperial would slightly increase the sabre-tooth wild shape movement speed due to rounding up.

Example:

The sabre-tooth wild shape increases your movement speed by 3.5 meters ({{m to ft | 3.5}} feet).

Result:

The sabre-tooth wild shape increases your movement speed by 3.5 meters (12 feet).