Resource icon

blackrock Mobiles 2017-03-26

No permission to download
EA Released a Blackrock Event back in 2008

http://www.uoguide.com/Blackrock

I dont remember who scripted the original files i am going to release but credit goes to them anyways all i did was update them to work within servuo.

This system is based off the paragon system and can be used as a event if people require.

there are a couple of distro edits..

Regenrates.cs
around line 85
under

Code:
 if ((from is BaseCreature && ((BaseCreature)from).IsParagon) || from is Leviathan)
                points += 40;
add

Code:
#region Blackrock
            //todo correct values?
            if ((from is BlackrockElemental || from is NetherVortex || from is ToxicOoze))
                points += 400;
            if ((from is BaseCreature && ((BaseCreature)from).IsBlackRock))
                points += 200;
            #endregion

Reagents.cs

increase value by 1

Code:
 private static readonly Type[] m_Types = new Type[18] // increase +1 higher than current number

around line 218
under
Code:
 public static Type DaemonBone
        {
            get
            {
                return m_Types[16];
            }
            set
            {
                m_Types[16] = value;
            }
        }

add

Code:
#region Blackrock
        //increase numbers if using custom regs
        public static Type RandomBlackRock
        {
            get
            {
                return m_Types[17];
            }
            set
            {
                m_Types[17] = value;
            }
        }
        #endregion

These values would change depending if you have some form of custom Regs

Basecreature.cs

Around line 259
under
Code:
private bool m_Paragon;

add

Code:
#region Blackrock
        private bool m_BlackRock;
        #endregion

around line 546
under

Code:
 [CommandProperty(AccessLevel.GameMaster)]
        public bool IsParagon
        {
            get { return m_Paragon; }
            set
            {
                if (m_Paragon == value)
                {
                    return;
                }
                else if (value)
                {
                    XmlParagon.Convert(this);
                }
                else
                {
                    XmlParagon.UnConvert(this);
                }

                m_Paragon = value;

                InvalidateProperties();
            }
        }

add

Code:
#region Blackrock
        [CommandProperty(AccessLevel.GameMaster)]
        public bool IsBlackRock
        {
            get { return m_BlackRock; }
            set
            {
                if (m_BlackRock == value)
                    return;
                else if (value)
                    BlackRock.Convert(this);
                else
                    BlackRock.UnConvert(this);

                m_BlackRock = value;

                InvalidateProperties();
            }
        }
        #endregion

around line 1176
Code:
 public override string ApplyNameSuffix(string suffix)
        {
            XmlData customtitle = (XmlData)XmlAttach.FindAttachment(this, typeof(XmlData), "ParagonTitle");

            if (customtitle != null)
            {
                suffix = customtitle.Data;
            }
            else if (IsParagon && !GivesMLMinorArtifact)
            {
                if (suffix.Length == 0)
                {
                    suffix = XmlParagon.GetParagonLabel(this);
                }
                else
                {
                    suffix = String.Concat(suffix, " " + XmlParagon.GetParagonLabel(this));
                }

                XmlAttach.AttachTo(this, new XmlData("ParagonTitle", suffix));
            //} removed for blackrock

            return base.ApplyNameSuffix(suffix);
            }

Be sure to comment out the } marked above

add

Code:
#region Blackrock

        else if (IsBlackRock)
            {
                if (suffix.Length == 0)
                    suffix = " (BlackRock Infected)";
                else suffix = String.Concat(suffix, " (BlackRock Infected)");

                return base.ApplyNameSuffix(suffix);
            }
            return null;
        }
        #endregion

As said earlier this was designed as a Event on EA and has never been added to freeshards in anyway but if someone would like to expand on it and possibly make the event for there shard please feel free.

Also using this system you could easily create your own version so you could have some form of paragon on each map all dropping different arties etc
  • Like
Reactions: Oreo and sahisahi
Author
UoFanta
Downloads
68
Views
1,398
First release
Last update
Rating
5.00 star(s) 1 ratings
Back