1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Reduce speed with damage

Discussion in 'Script Support' started by Piotr, Jun 13, 2018.

  1. Piotr
    Offline

    Piotr Member

    Joined:
    Oct 1, 2016
    Messages:
    41
    Likes Received:
    2
    Hi,

    I wanted to disable NPC speed reduction when they're damaged, so I did this in BaseCreature.cs:

    Code (C#):
    1.  public virtual bool ReduceSpeedWithDamage { get { return false; } }
    but it didn't seem to work. Monsters still start moving slow as hell when damaged.

    What should I do to disable it completely, so they can always move at their normal speed rate?
     
  2. Rex
    Offline

    Rex Member

    Joined:
    Feb 4, 2015
    Messages:
    104
    Likes Received:
    15
    You may have to search for "override bool ReduceSpeedWithDamage" and find any custom overrides for things and disable them. There might be one in AI\BaseAI.cs
     
Similar Threads: Reduce speed
Forum Title Date
Script Support spawn timer reducer "crazy idea" Apr 19, 2018
Archived Bug Reports Juo'nar should reduce each skill 20%, not 33% Feb 27, 2017
Buy and Sell PS prices reduced, other spoils Mar 15, 2016
Archived Bug Reports Silver serpent speed EA vs OSI Jun 24, 2018
ServUO Discussion Silver Serpent Speed & Stygian Abyss exploration movie Jun 21, 2018
ServUO Discussion Speeding up the server (fast forward) Apr 2, 2018
ServUO Discussion Looking for "Boots of Speed" script, alias "fastFeet" (?) Mar 27, 2018