RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Removing specific AOS Attributes

Evil Jason

Sorceror
Removing specific AOS Attributes

Hi there, I have seen posts looking for ways to eliminate specific AoS attributes from items as they are created and from all instances of them already in existence.

I did a little trial and error, and what i have come up with is this:

Open your AOS.cs.

find this:
Code:
[Flags]
	public enum AosAttribute
	{
		RegenHits	= 0x00000001,
		RegenStam	= 0x00000002,
		RegenMana	= 0x00000004,
		DefendChance	= 0x00000008,
		AttackChance	= 0x00000010,
		BonusStr		= 0x00000020,
		BonusDex		= 0x00000040,
		BonusInt		= 0x00000080,
		BonusHits	= 0x00000100,
		BonusStam	= 0x00000200,
		BonusMana	= 0x00000400,
		WeaponDamage	= 0x00000800,
		WeaponSpeed	= 0x00001000,
		SpellDamage	= 0x00002000,
		CastRecovery	= 0x00004000,
		CastSpeed	= 0x00008000,
		LowerManaCost	= 0x00010000,
		LowerRegCost	= 0x00020000,
		ReflectPhysical	= 0x00040000,
		EnhancePotions	= 0x00080000,
		Luck	             = 0x00100000,
		SpellChanneling	= 0x00200000,
                          NightSight            = 0x00400000
	}

or this (also in AOS.cs)
Code:
[Flags]
	public enum AosWeaponAttribute
	{
		LowerStatReq		= 0x00000001,
		SelfRepair			= 0x00000002,
		HitLeechHits		= 0x00000004,
        HitLeechStam        = 0x00000008,
        HitLeechMana        = 0x00000010,
        HitLowerAttack      = 0x00000020,
        HitLowerDefend      = 0x00000040,
        HitMagicArrow       = 0x00000080,
        HitHarm             = 0x00000100,
        HitFireball         = 0x00000200,
        HitLightning        = 0x00000400,
        HitDispel           = 0x00000800,
        HitColdArea         = 0x00001000,
        HitFireArea         = 0x00002000,
        HitPoisonArea       = 0x00004000,
        HitEnergyArea       = 0x00008000,
        HitPhysicalArea     = 0x00010000,
		ResistPhysicalBonus	= 0x00020000,
		ResistFireBonus		= 0x00040000,
		ResistColdBonus		= 0x00080000,
		ResistPoisonBonus	= 0x00100000,
		ResistEnergyBonus	= 0x00200000,
		UseBestSkill		= 0x00400000,
		MageWeapon			= 0x00800000,
		DurabilityBonus		= 0x01000000
	}

All you have to do is take the value assigned to that attribute and set it to 0x0.
An example would be:
change:
Code:
NightSight            = 0x00400000
to
Code:
NightSight            = 0x0 //was 0x00400000

i would ALWAYS comment next to it with the original setting so that you can easily set it back when you want to.

Restart the server.

Every instance and effect of that attribute will no longer appear in the game.

I personally use this to tweak spellcrafting and to eliminate alot of the "uberness" from aos, I hope you can find a use for it as well.

~Jason
 
Top