# UOX3 Script Engine

### API and Event handling

### Skill related functions

MakeMenu
Prototype |
    MakeMenu( sock, mnu );
Purpose | Opens up make menu mnu and sends it to sock
Example of Usage |
    MakeMenu( sock, 1 );

MakeItem
Prototype |
    MakeItem( sock, player, itemNum );
Purpose | Player makes the item itemNum. itemNum points to a create.scp (SECTION ITEM itemNum) entry. Sock can be -1
Example of Usage |
    MakeItem( sock, player, 1 );

CalcRank
Prototype |
    NOT IMPLEMENTED YET - int CalcRank( minRank, maxRank, minSkill, skillNum, playerChar );
Purpose | NOT IMPLEMENTED YET - Calculates the rankage of a player char when making an item with skill skillNum.
Example of Usage |
    NOT IMPLEMENTED YET

ApplyRank
Prototype |
    void ApplyRank( rank, maxRank );
Purpose | Modifies item properties based on item's rank (could be calculated based on player's crafting skill, but is always 10 if rank system not enabled. Higher values will increase base properties of item, lower will decrease base properties). maxRank is the maximum amount of ranks in the rank system (10 by default).
Example of Usage |
    tItem.ApplyRank( 5, 10 );

©Copyright 2000-2001 WWW.UOX3.NET (Daniel Stratton/Matthew Randall)