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. | |
int | max_money |
int | min_item |
The minimal amount of these items. | |
int | min_money |
float | probability |
bool | randomize |
float | randomizeProbability |
The probability that if this item was picked it will be randomized. |
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.
Definition at line 227 of file spawnmanager.h.
The maximum amount of these items.
Definition at line 229 of file spawnmanager.h.
Definition at line 232 of file spawnmanager.h.
The minimal amount of these items.
Definition at line 228 of file spawnmanager.h.
Definition at line 231 of file spawnmanager.h.
Definition at line 230 of file spawnmanager.h.
bool LootEntry::randomize |
Definition at line 233 of file spawnmanager.h.
The probability that if this item was picked it will be randomized.
Definition at line 234 of file spawnmanager.h.