CreateGenericExotic(object, object, int)
Creates an appropriate exotic weapon that fits the level of the PC, and places it in/on an object.
void CreateGenericExotic( object oTarget, object oAdventurer, int nModifier = 0 );
Parameters
oTarget
Object to receive the exotic weapon. (Most likely a placeable with an inventory.)
oAdventurer
PC who's total HD will be used to generate appropriate level of weapon.
nModifier
Additional HD levels you want to 'give' to the PC in determining level of weapon being spawned. (Default: 0)
Description
Creates one of a specific list of generic exotic weapons that a PC would find useful. This generic weapon is based off a random number and the total levels of the oAdventurer.
Remarks
This can be used to create the item in any object with an inventory.
Requirements
#include "NW_O2_CONINCLUDE"
Version
1.61
See Also
functions: | CreateGenericDruidWeapon | CreateGenericMonkWeapon | CreateGenericWizardWeapon | CreateItemOnObject |
categories: | Item Creation Functions |
author: Jody Fletcher, editor: Lilac Soul