method
Percent.apply
Percent.apply(value, p) -> fixed
Scales value by a clamped fraction p — for example, applying a damage-reduction percentage.
Example
program Demo {
handler Step phase Update {
let dealt = Percent.apply(damage, 0.75)
}
}