Class: OutcomeProbabilities

HungryGames~ OutcomeProbabilities


new OutcomeProbabilities( [kill] [, wound] [, thrive] [, revive] [, nothing])

Probabilities of each possible outcome from an Event. All probabilities are relative to eachother. For example, if `revive` is 6, and `nothing` is 60, then `nothing` is 10x more likey to be chosen than `revive`. Similarly, if `revive` is 0.6 and `nothing` is 6, `nothing` is still 10x more likely.
Parameters:
Name Type Argument Description
kill number <optional>
Kill probability.
wound number <optional>
Wound probability.
thrive number <optional>
Thrive probability.
revive number <optional>
Revive probability.
nothing number <optional>
Probability of no outcome change.
Source:

Members


kill :number

The probability of an event being chosen that kills players.
Type:
  • number
Source:

nothing :number

The probability of an event being chosen that does not have any effect on players.
Type:
  • number
Source:

revive :number

The probability of an event being chosen that revives players.
Type:
  • number
Source:

thrive :number

The probability of an event being chosen that heals players.
Type:
  • number
Source:

wound :number

The probability of an event being chosen that wounds players.
Type:
  • number
Source: