GenerateBossTreasure(object, object)
Generates boss-level treasure.
void GenerateBossTreasure( object oLastOpener, object oCreateOn = OBJECT_INVALID );
Parameters
oLastOpener
PC who opened a container.
oCreateOn
A container to create the treasure in. (Default: OBJECT_INVALID)
Description
This function is part of the NWN Treasure Distribution System and used for generated boss-level treasure for a PC. Treasure generated in this manner is usually custom tailored to the PC (in this case oLastOpener); i.e. a 3rd level Fighter with the Weapon Focus in the Longsword might find a Longsword +1.
Requirements
#include "nw_o2_coninclude"
Version
1.28
See Also
categories: | Item Creation Functions |
author: Michael Nork, editor: Charles Feduke, additional contributor(s): LeegleechN