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

blackrock Mobiles 2017-03-26

Blackrock, New Paragons?

  1. UoFanta
    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 (C#):
    1.  if ((from is BaseCreature && ((BaseCreature)from).IsParagon) || from is Leviathan)
    2.                 points += 40;
    add

    Code (C#):
    1. #region Blackrock
    2.             //todo correct values?
    3.             if ((from is BlackrockElemental || from is NetherVortex || from is ToxicOoze))
    4.                 points += 400;
    5.             if ((from is BaseCreature && ((BaseCreature)from).IsBlackRock))
    6.                 points += 200;
    7.             #endregion
    Reagents.cs

    increase value by 1

    Code (C#):
    1.  private static readonly Type[] m_Types = new Type[18] // increase +1 higher than current number
    around line 218
    under
    Code (C#):
    1.  public static Type DaemonBone
    2.         {
    3.             get
    4.             {
    5.                 return m_Types[16];
    6.             }
    7.             set
    8.             {
    9.                 m_Types[16] = value;
    10.             }
    11.         }
    add

    Code (C#):
    1. #region Blackrock
    2.         //increase numbers if using custom regs
    3.         public static Type RandomBlackRock
    4.         {
    5.             get
    6.             {
    7.                 return m_Types[17];
    8.             }
    9.             set
    10.             {
    11.                 m_Types[17] = value;
    12.             }
    13.         }
    14.         #endregion
    These values would change depending if you have some form of custom Regs

    Basecreature.cs

    Around line 259
    under
    Code (C#):
    1. private bool m_Paragon;
    add

    Code (C#):
    1. #region Blackrock
    2.         private bool m_BlackRock;
    3.         #endregion
    around line 546
    under

    Code (C#):
    1.  [CommandProperty(AccessLevel.GameMaster)]
    2.         public bool IsParagon
    3.         {
    4.             get { return m_Paragon; }
    5.             set
    6.             {
    7.                 if (m_Paragon == value)
    8.                 {
    9.                     return;
    10.                 }
    11.                 else if (value)
    12.                 {
    13.                     XmlParagon.Convert(this);
    14.                 }
    15.                 else
    16.                 {
    17.                     XmlParagon.UnConvert(this);
    18.                 }
    19.  
    20.                 m_Paragon = value;
    21.  
    22.                 InvalidateProperties();
    23.             }
    24.         }
    add

    Code (C#):
    1. #region Blackrock
    2.         [CommandProperty(AccessLevel.GameMaster)]
    3.         public bool IsBlackRock
    4.         {
    5.             get { return m_BlackRock; }
    6.             set
    7.             {
    8.                 if (m_BlackRock == value)
    9.                     return;
    10.                 else if (value)
    11.                     BlackRock.Convert(this);
    12.                 else
    13.                     BlackRock.UnConvert(this);
    14.  
    15.                 m_BlackRock = value;
    16.  
    17.                 InvalidateProperties();
    18.             }
    19.         }
    20.         #endregion
    around line 1176
    Code (C#):
    1.  public override string ApplyNameSuffix(string suffix)
    2.         {
    3.             XmlData customtitle = (XmlData)XmlAttach.FindAttachment(this, typeof(XmlData), "ParagonTitle");
    4.  
    5.             if (customtitle != null)
    6.             {
    7.                 suffix = customtitle.Data;
    8.             }
    9.             else if (IsParagon && !GivesMLMinorArtifact)
    10.             {
    11.                 if (suffix.Length == 0)
    12.                 {
    13.                     suffix = XmlParagon.GetParagonLabel(this);
    14.                 }
    15.                 else
    16.                 {
    17.                     suffix = String.Concat(suffix, " " + XmlParagon.GetParagonLabel(this));
    18.                 }
    19.  
    20.                 XmlAttach.AttachTo(this, new XmlData("ParagonTitle", suffix));
    21.             //} removed for blackrock
    22.  
    23.             return base.ApplyNameSuffix(suffix);
    24.             }
    add

    Code (C#):
    1. #region Blackrock
    2.  
    3.         else if (IsBlackRock)
    4.             {
    5.                 if (suffix.Length == 0)
    6.                     suffix = " (BlackRock Infected)";
    7.                 else suffix = String.Concat(suffix, " (BlackRock Infected)");
    8.  
    9.                 return base.ApplyNameSuffix(suffix);
    10.             }
    11.             return null;
    12.         }
    13.         #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
    Oreo and sahisahi like this.

Recent Reviews

  1. sahisahi
    sahisahi
    5/5,
    Version: 2017-03-26
    Great!