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!

Resource icon

Mana Refreshing Potion 1.0.1

No permission to download
What Is This?
The Mana Refreshing Potion is a potion that will give the player 20 Mana ever 5 seconds or so.

At the moment I only have 1 potion with this pack. If anyone would like, I can make a lesser and greater potion to go with this pack.

How do I Install This?
Drop the "Mana Refreshing Potion" Folder in your Customs. You will also have to make an edit to BasePotion.cs

Should look like this Unedited.
C#:
    public enum PotionEffect
    {
        ...
        Parasitic,
        Darkglow,
    }

After Darkglow add another line "ManaRefresh" And it should look like this below.
C#:
    public enum PotionEffect
    {
        Nightsight,
        CureLesser,
        Cure,
        CureGreater,
        Agility,
        AgilityGreater,
        Strength,
        StrengthGreater,
        PoisonLesser,
        Poison,
        PoisonGreater,
        PoisonDeadly,
        Refresh,
        RefreshTotal,
        HealLesser,
        Heal,
        HealGreater,
        ExplosionLesser,
        Explosion,
        ExplosionGreater,
        Conflagration,
        ConflagrationGreater,
        MaskOfDeath,
        MaskOfDeathGreater,
        ConfusionBlast,
        ConfusionBlastGreater,
        Invisibility,
        Parasitic,
        Darkglow,
        ManaRefresh//Add This Line
    }

On use of the potion it will start the Mana Refreshing Timer. Every 5 seconds the player will gain +20 Mana. There is also a 30 second timer that is started after Initial use of the first potion.


If you have any questions or comments, Drop a Line or two Below.
Author
ThatDudeJBob
Downloads
20
Views
765
First release
Last update
Rating
0.00 star(s) 0 ratings

Latest updates

  1. Wrong potion hue

    I used a hue on the potion when i didn't mean to. Updated to reflect.
Top