GetStaminaPercentage

From the CreationKit Wiki
Revision as of 14:19, 23 July 2018 by imported>DavidJCobb (A re-read of the assembly establishes THIS as the problem, and testing confirms it.)
Jump to navigation Jump to search

This condition function is broken. It is supposed to return the subject actor's current stamina as a percentage of the maximum. Instead, it always returns 1.0 unless the actor's maximum stamina is zero, in which case it returns the result of a division by zero.

See the Papyrus function GetActorValuePercentage - Actor for a working alternative.