Hello guys!
Just having a problem with levelable items with XML,running with the latest repo of Servuo and latest client.
I apply the levelable item deed on the weapon and then show the Level 1 tag,and Information sub-menu,but when attacking monsters the weapon dotn gain exp,any known issue?Thanks a lot!
 
Basecreature.cs


OnDamage method add:

Code:
 //Level System
            if (willKill && En.Enabled)
            LevelHandler.Set(from, this);
            //End Level System
 
Thank you so much!Finally got the problem solved,just needed to add this code:


#region XmlSpawner
if (!Summoned && willKill && from != null)
{
LevelItemManager.CheckItems(from, this);
}
#endregion
In the same place you are saying.Thank you!
 

Attachments

  • ai64.tinypic.com_2qwilts.png
    ai64.tinypic.com_2qwilts.png
    6.8 KB · Views: 22
Last edited:
Ah yeah, sorry for the mistake i did it on phone checking some github repo lol. I pasted wrong level system hahaha
 
Back