Jump to content
Sign in to follow this  
gunnapong

110% Uppgrade Stone

Recommended Posts

function upgrade(role)
local Slot = 5
local Apparel = GetChaItem(role, 2,(Slot - 1))
	if Apparel == nil or GetItemAttr(Apparel, ITEMATTR_MAXURE) < 25000 then
		HelpInfo(role, 0, "There's no equipment on slot "..Slot.." of your inventory or it's not an apparel.")
		UseItemFailed(role)
		return
	end
	local ApparelID = GetItemID(Apparel)
	local ItemlID = GetItemAttr(Apparel,ITEMATTR_VAL_FUSIONID)
		SetItemAttr(Apparel, ITEMATTR_VAL_LEVEL, 15)
	RefreshCha(role)	
	HelpInfo(role, 0, "Apparel Upgraded to 110 successful Enjoy ")
	
end

 

  • Thanks 1

Share this post


Link to post
Share on other sites
19 hours ago, mkhzaleh said:

function upgrade(role)
local Slot = 5
local Apparel = GetChaItem(role, 2,(Slot - 1))
	if Apparel == nil or GetItemAttr(Apparel, ITEMATTR_MAXURE) < 25000 then
		HelpInfo(role, 0, "There's no equipment on slot "..Slot.." of your inventory or it's not an apparel.")
		UseItemFailed(role)
		return
	end
	local ApparelID = GetItemID(Apparel)
	local ItemlID = GetItemAttr(Apparel,ITEMATTR_VAL_FUSIONID)
		SetItemAttr(Apparel, ITEMATTR_VAL_LEVEL, 15)
	RefreshCha(role)	
	HelpInfo(role, 0, "Apparel Upgraded to 110 successful Enjoy ")
	
end

 

Thank . my friend

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...