Hello guys,
let's get right into it.
To fix SP +20, you need a new content for the sl info packet.
So first, go into:
OpenNos.DAL.EF > ItemInstance.cs
Now add a new byte or int
After that, go into: OpenNos.Data > ItemInstanceDTO.cs and do the same as above
Now you implemented it into the database. Now, to let it safe properly you have to implement it.
Go to OpenNos.Mapper > ItemInstanceMapper.cs
Now add:
ON TOP AND ON THE BOTTOM PART! (ToItemInstance and ToItemInstanceDTO)
Now head to OpenNos.GameObject > Item > Instance > ItemInstance.cs and add:
And now, for the final "fix"
Search for:
at the End of the String, you will find
go to the end of that line, and add
Now, you can rightclick the SP and use it properly.
If you want any other Tutorials or anything else, comment down below or add me on Discord: XV50 | Brix#1233
let's get right into it.
To fix SP +20, you need a new content for the sl info packet.
So first, go into:
OpenNos.DAL.EF > ItemInstance.cs
Now add a new byte or int
Code:
public int Plus20Buff { get; set; }
After that, go into: OpenNos.Data > ItemInstanceDTO.cs and do the same as above
Code:
public int Plus20Buff { get; set; }
Go to OpenNos.Mapper > ItemInstanceMapper.cs
Now add:
Code:
output.Plus20Buff = input.Plus20Buff;
Now head to OpenNos.GameObject > Item > Instance > ItemInstance.cs and add:
Code:
Plus20Buff = input.Plus20Buff;
Search for:
Code:
public string GenerateSlInfo(ClientSession session = null)
Code:
return $"slinfo
Code:
{Plus20Buff}
Now, you can rightclick the SP and use it properly.
If you want any other Tutorials or anything else, comment down below or add me on Discord: XV50 | Brix#1233