IsValidBaseItem(object, int)
Checks to see if the baseitem type matches the one in the array AND if the item is "magical"
int IsValidBaseItem( object oItem, int nIndex );
Parameters
oItem
The item to check whether or not matches
nIndex
The array position to check for match in
Description
Used for forging items, it checks if oItem matches the one in the “array” and if it is magical.if the baseitem type matches
Remarks
Found in nw_o0_itemmaker.nss on line 212
The check to see whether an item is magical is done by the function GetIsMagical, which has certain limitations. I suggest you read its description.
Requirements
#include "nw_o0_itemmaker"
Version
1.28
See Also
functions: | GetIsMagical |
categories: | Get Data from Object Functions | Item Creation Functions |
author: Lilac Soul, additional contributor(s): Lilac Soul