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

Eater Properties (not working ?)

Discussion in 'Script Support' started by Regnak, Dec 17, 2013.

  1. Regnak
    Offline

    Regnak Active Member

    Joined:
    Apr 1, 2013
    Messages:
    254
    Likes Received:
    43
    Hey !

    I was wondering if anyone else was having problems with eater properties ?

    Also, I wonder why the armor part is commented out in this code :
    Code (C#):
    1.         public static int GetValue(Mobile m, SAAbsorptionAttribute attribute)
    2.         {
    3.             if (!Core.AOS)
    4.                 return 0;
    5.  
    6.  
    7.  
    8.  
    9.             List<Item> items = m.Items;
    10.             int value = 0;
    11.  
    12.  
    13.  
    14.  
    15.             #region Enhancement
    16.             value += Enhancement.GetValue(m, attribute);
    17.             #endregion
    18.  
    19.  
    20.  
    21.  
    22.             for (int i = 0; i < items.Count; ++i)
    23.             {
    24.                 Item obj = items[i];
    25.  
    26.  
    27.  
    28.  
    29.                 /*if ( obj is BaseArmor )
    30.                 {
    31.                 SAAbsorptionAttributes attrs = ((BaseArmor)obj).AbsorptionAttributes;
    32.  
    33.  
    34.  
    35.  
    36.                 if ( attrs != null )
    37.                 value += attrs[attribute];
    38.                 }
    39.                 else */
    40.                 if (obj is BaseWeapon)
    41.                 {
    42.                     SAAbsorptionAttributes attrs = ((BaseWeapon)obj).AbsorptionAttributes;
    43.  
    44.  
    45.  
    46.  
    47.                     if (attrs != null)
    48.                         value += attrs[attribute];
    49.                 }
    50.             }
    51.  
    52.  
    53.  
    54.  
    55.             return value;
    56.         }
    The code comes from ServUO Repository : /Scripts/Misc/AOS.cs (around line 1957)


    Should I uncomment it ?

    Thanks !

    -Rek-
     
  2. RedDragon
    Offline

    RedDragon Member

    Joined:
    Dec 19, 2013
    Messages:
    34
    Likes Received:
    1
    any news to this?
     
  3. Regnak
    Offline

    Regnak Active Member

    Joined:
    Apr 1, 2013
    Messages:
    254
    Likes Received:
    43
    No news ... Except I have uncommented the lines above, and it seems the eater props are working on armors now :)

    There is still the problem of some props giving too much life and some not enough ...
    It seems hard to tweak though.

    Anyone else has looked over that problem ?

    Thx
     
  4. xG00BERx
    Offline

    xG00BERx Active Member

    Joined:
    Jan 6, 2014
    Messages:
    304
    Likes Received:
    35
    This is part of my things to look at, over on a server I help with one of the players uses the Damage eater shit and it is so broken that they can solo anything without dying nearly.

    BROKEN, that's for a fact but I have not gotten to it. I will soon and get back to you :D If you get it done first I would love to see how you fixed it :D
     
Similar Threads: Eater Properties
Forum Title Date
Archived Bug Reports Greater Bracelet of Binding bug. Jul 16, 2017
General Discussion Tamed a Greater Dragon... now my feet are killing me! Jul 13, 2017
Archived Bug Reports Greater Bracelet of Binding Jun 22, 2017
Archived Bug Reports Greater Dragon wrong skill cap after taming May 16, 2017
Archived Bug Reports Shadowguard Roof bosses shouldn't be summon helpers on tamers with Greater Dragons if... Apr 17, 2017
Archived Bug Reports (Possible) Greater Mongbat Bug Jan 14, 2017
Archived Bug Reports Pigments of Tokuno (Greater) Apr 3, 2016