Hello guys, hope you are all good.
I'm planning on add a feature to my custom server that a weapon can be crafted with a different amount of damage, for example:
Player craft dragon hammer and it can have 30 atk, or 31 atk, or 32 atk... With a range of +-5 atk varying.
The way I came up to do this is to add the same sprite of dragon hammer +4 times and create 5 different dragon hammers with different ids to vary the atk, however that's a lot work for a simple feature. Is there a easier way where I can do this through .lua?
I'm planning on add a feature to my custom server that a weapon can be crafted with a different amount of damage, for example:
Player craft dragon hammer and it can have 30 atk, or 31 atk, or 32 atk... With a range of +-5 atk varying.
The way I came up to do this is to add the same sprite of dragon hammer +4 times and create 5 different dragon hammers with different ids to vary the atk, however that's a lot work for a simple feature. Is there a easier way where I can do this through .lua?