Class: OutcomeProbabilities

HungryGames~ OutcomeProbabilities


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

Create an object storing relative probabilities.
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: