ServUO Version
Publish 58
Ultima Expansion
Endless Journey
Hello all, i am not an experienced coder and barely know what I'm doing but i am learning how to make new equipment and items. I've figured out how to make weapons and armour with some help. Currently i am working on some more kinds of horns akin to the fire horn but am having trouble figuring out how to replace the damage effect with a healing effect. any help is greatly appreciated!
 
Solution
You could take a look at GreaterHeal.cs

Or..
int toHeal = Utility.RandomMinMax(5,10); will heal for minimum 5, maximum 10

m.Hits += toHeal;

so m, being your targeted mobile, will be healed by 5 to 10 hp.
You could take a look at GreaterHeal.cs

Or..
int toHeal = Utility.RandomMinMax(5,10); will heal for minimum 5, maximum 10

m.Hits += toHeal;

so m, being your targeted mobile, will be healed by 5 to 10 hp.
 
Solution
Back