• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Small modification

Darted450

New Member
Joined
Apr 28, 2014
Messages
54
Reaction score
1
I would like to make it so the upgrade's name is in the item's description, and not in it's name, eg:

What I currently have:
09:34 You see a nidalees spear UPGRADED (Atk:100).
It can only be wielded properly by paladins of level 8 or higher.

What I want:
09:34 You see a nidalees spear (Atk:100).
It can only be wielded properly by paladins of level 8 or higher. UPGRADED

Code:
setItemName(itemEx.uid, getItemNameById(itemEx.itemid)..'UPGRADED'..slot)
addEvent(doPlayerSendTextMessage,500,cid, 24,"Your item has been enchanted!")
doSendMagicEffect(toPosition, 12)
 
Back
Top