Does ServUO account for the "casting focus" bonus that inscription is supposed to give? From UOGuide: Casting Focus is an item property found on certain armor. It provides a chance to resist any interruptions while casting spells. It has a cumulative cap of 12%. Inscription skill also grants a 5% bonus in addition (1% bonus for every 10 skill points above 50) and can exceed the item cap.

I found in spell.cs this section under OnCasterHurt :
Code:
#region Stygian Abyss
				int focus = SAAbsorptionAttributes.GetValue(Caster, SAAbsorptionAttribute.CastingFocus);

				if (focus > 0)
				{
					if (focus > 30)
					{
						focus = 30;
					}

					if (focus > Utility.Random(100))
					{
						disturb = false;
						Caster.SendLocalizedMessage(1113690); // You regain your focus and continue casting the spell.
					}
				}
				#endregion
It doesn't check for inscription values, so I'm not sure if this is exactly what I'm talking about. I also looked under the SAAbsorptionAttribute for casting focus, and all it has is this:
Code:
[CommandProperty(AccessLevel.GameMaster)]
        public int CastingFocus
        {
            get
            {
                return this[SAAbsorptionAttribute.CastingFocus];
            }
            set
            {
                this[SAAbsorptionAttribute.CastingFocus] = value;
            }
        }

I'm not really sure where else to look, so I just decided to post here and ask.
 
Last edited:
I am not sure, One of my projects I will be working on soon has to do with Casting Focus and making sure it is 100% OSI Correct!
Once I do this I will let you know. Let me know if you find out more or fix Casting Focus !! :D
 
Back