Public Member Functions | |
CEncounterGroup () | |
uint | GetModifiedQuantity (uint quantity) |
Gets the modified quantity for the group, basing on the value passed from zone. | |
uint | GetCost (int ratio) |
Gets value needed to spawn group, knowing the ratio. | |
void | SetAverageCost () |
Sets the average vaule of the group, derived from ratio and objects. | |
CEncounterObject@ | NewObject () |
CEncounterObject@ | AddCritter (uint16 pid) |
CEncounterObject@ | AddItem (uint16 pid) |
Public Attributes | |
uint | Index |
uint | TeamNum |
uint | Position |
uint | Spacing |
uint | DistMin |
uint | DistMax |
uint | RatioMin |
uint | RatioMax |
uint | Cost |
float | QuantityNight |
float | QuantityDay |
array< CEncounterObject > | Objects |
CEncounterGroup | ( | ) |
uint GetModifiedQuantity | ( | uint | quantity | ) |
Gets the modified quantity for the group, basing on the value passed from zone.
uint GetCost | ( | int | ratio | ) |
Gets value needed to spawn group, knowing the ratio.
void SetAverageCost | ( | ) |
Sets the average vaule of the group, derived from ratio and objects.
It must be called every time the group is defined, see InitGroupsCost().
CEncounterObject@ NewObject | ( | ) |
CEncounterObject@ AddCritter | ( | uint16 | pid | ) |
CEncounterObject@ AddItem | ( | uint16 | pid | ) |
uint Index |
uint TeamNum |
uint Position |
uint Spacing |
uint DistMin |
uint DistMax |
uint RatioMin |
uint RatioMax |
uint Cost |
float QuantityNight |
float QuantityDay |
array<CEncounterObject> Objects |