RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[RunUO SVN] Gain Potions

Duplex

Sorceror
Potions that give an increased skill gain chance over a time period.

These potions can be used to increase skill chance for all skills, one skill or any set of skills and for any chance multiplier or time duration (examples supplied)

Kinda like a customisable power hour in a bottle.

Requires XmlSpawner.

Requires 2 code changes:

BasePotion.cs
Code:
        ConfusionBlast,
        ConfusionBlastGreater
to
Code:
        ConfusionBlast,
        ConfusionBlastGreater,
        Gain

SkillCheck.cs
Code:
        gc*=skll.info.GainFactor
        if(gc<0.01)
        gc =0.01
under
Code:
        BaseGainPotion.CheckGain(from,skill,gc);
distros to merge supplied
 

Attachments

  • Gain Potion.zip
    49.6 KB · Views: 36

Iraq-

Sorceror
Yeah, good idea. Question: Do the effects stack? Like if I drink one and drink another, do they speed up?
 
Top