Jump to content
Sign in to follow this  
Billy

Extended Make Item

Recommended Posts

Usage:

 

ExtendedMakeItem(role,ID,AttrTable)

 

Role is the player who will be given the item.

ID is the ID of the item to be given.

AttrTable is a table of attributes for the item. (example tables are included)

 

This allows making of items with 5 editable stats, or to give items already gemmed /fused etc.

 

Example table:

 

	ExampleFairyTable = {
	Attr1 = 26,
	Attr1Num = 2,
	Attr2 = 27,
	Attr2Num = 77,
	Attr3 = 28,
	Attr3Num = 9,
	Attr4 = 29,
	Attr4Num = 20,
	Attr5 = 47,
	Attr5Num = 1,
	MaxGrowth = 640,
	Growth = 620,
	MaxStamina = 32000,
	Stamina = 16000
	}

A fairy created with this table has editable str/agi/acc/con/PR , 26 str, 77 agi, 9 acc, 20 con, 1 pr, 640 max growth, 640 max stamina.

 

Making an item this way overwrites the default editable stats, so if you wanted to give a fairy with editable str, but no base str stats, you would need to have an attr for 26 and num as 0.

 

 

Download :

Extended Make Item.lua

Edited by 7n6
Updated link
  • Like 2

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...