GenerateBossTreasure

From NWN Lexicon



Contents

[edit] GenerateBossTreasure(object, object)

Generates boss-level treasure.

void GenerateBossTreasure(
    object oLastOpener,
    object oCreateOn = OBJECT_INVALID
);

[edit] Parameters

oLastOpener

PC who opened a container.

oCreateOn

A container to create the treasure in. (Default: OBJECT_INVALID)


[edit] 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.



[edit] Requirements

#include " nw_o2_coninclude "

[edit] Version

1.28

[edit] See Also



 author: Michael Nork, editor: Charles Feduke, additional contributor(s): LeegleechN
 

Personal tools
Categories