Planeshift
Public Attributes

LootEntry Struct Reference

This class holds one loot possibility for a killed npc. More...

#include <spawnmanager.h>

List of all members.

Public Attributes

psItemStatsitem
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.

Detailed Description

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.


Member Data Documentation

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.

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.


The documentation for this struct was generated from the following file: