Planeshift
|
This class holds one loot possibility for a killed npc. More...
#include <spawnmanager.h>
Public Attributes | |
psItemStats * | item |
int | max_item |
The maximum amount of these items. More... | |
int | max_money |
int | min_item |
The minimal amount of these items. More... | |
int | min_money |
float | probability |
bool | randomize |
float | randomizeProbability |
The probability that if this item was picked it will be randomized. More... | |
This class holds one loot possibility for a killed npc.
The npc_spawn_rule has a ptr to an array of these.
Definition at line 225 of file spawnmanager.h.
psItemStats* LootEntry::item |
Definition at line 227 of file spawnmanager.h.
int LootEntry::max_item |
The maximum amount of these items.
Definition at line 229 of file spawnmanager.h.
int LootEntry::max_money |
Definition at line 232 of file spawnmanager.h.
int LootEntry::min_item |
The minimal amount of these items.
Definition at line 228 of file spawnmanager.h.
int LootEntry::min_money |
Definition at line 231 of file spawnmanager.h.
float LootEntry::probability |
Definition at line 230 of file spawnmanager.h.
bool LootEntry::randomize |
Definition at line 233 of file spawnmanager.h.
float LootEntry::randomizeProbability |
The probability that if this item was picked it will be randomized.
Definition at line 234 of file spawnmanager.h.