Running Fatigue

Running Fatigue 1.1.0

No permission to download
Running Fatigue

With this script, characters get tired regardless of their level when they run by foot.

screenshot.png


As it can unbalance UO combat, it's recommended only for RP shards.

Staff members are not affected.

Install

Drop this script anywhere inside your Scripts folder.

Then open Scripts/Misc/WeightOverloading.cs and, inside EventSink_Movement method, find:
Code:
if (((from.Stam * 100) / Math.Max(from.StamMax, 1)) < 10)
        --from.Stam;

if (from.Stam == 0)
{
        from.SendLocalizedMessage(500110); // You are too fatigued to move.
        e.Blocked = true;
        return;
}

if (from is PlayerMobile)
{
        int amt = (from.Mounted ? 48 : 16);
        PlayerMobile pm = (PlayerMobile)from;

        if ((++pm.StepsTaken % amt) == 0)
                --from.Stam;
}

Replace this block with the following:
Code:
Felladrin.Automations.RunningFatigue.Apply(from);
Author
Felladrin
Downloads
50
Views
1,452
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Felladrin

Back