Jump to content
Sign in to follow this  
jianjian

The old man can provide a 125 level LUA script

Recommended Posts

You didn't explained it well, but if u meaning a script to level up a character to lv125 here you are. It will work for lv1 characters only and make sure you have DEXP calculated till lv125.

 

function ItemUse_Lv125Scroll(role, Item)
	local Cha_Boat				= 0
	Cha_Boat					= GetCtrlBoat(role)
	if Cha_Boat ~= nil then 
		SystemNotice(role, "Cannot use while sailing!") 
		UseItemFailed(role) 
		return 
	end
	
	local chaLv			= Lv(role)
	local expAdd		= DEXP[125]
	if chaLv > 1 then
		SystemNotice(role, "Only newborn characters can use Level Up Scroll!")
		UseItemFailed(role)
		return
	else
		SetChaAttrI(role, ATTR_CEXP, expAdd)
	end
end

 


lelouch_signature_by_vahntheknight-d4uafwj.png

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