Levelable weapons caps

After some posted content has been published on the Wiki, the Scribe needs to move it to this forum

Moderator: Wiki Scribes

Locked
User avatar
+Colibri
Administrator
Posts: 3958
Joined: Sat Feb 25, 2006 4:08 pm
Location: static void Main

Levelable weapons caps

Post by +Colibri »

Here's the configuration code from the levelable items. The two numbers at the end of the line are: first i believe is cost in spending points for an increase of one, the second number is the cap.

Should anyone want to put this on the wiki.

Please note that, although unlikely, these can still change in the future.

Code: Select all

public static AttributeInfo[] m_Attributes = new AttributeInfo[]
{
	new AttributeInfo( AosAttribute.RegenHits, "Regen Hits", AttributeCategory.Stats, 2, 6 ),
	new AttributeInfo( AosAttribute.RegenStam, "Regen Stamina", AttributeCategory.Stats, 1, 10 ),
	new AttributeInfo( AosAttribute.RegenMana, "Regen Mana", AttributeCategory.Stats, 6, 6 ),
	new AttributeInfo( AosAttribute.DefendChance, "Defence Chance Increase", AttributeCategory.Melee, 3, 50 ),
	new AttributeInfo( AosAttribute.AttackChance, "Hit Chance Increase", AttributeCategory.Melee, 3, 50 ),
	new AttributeInfo( AosAttribute.BonusStr, "Bonus Strength", AttributeCategory.Stats, 4, 8 ),
	new AttributeInfo( AosAttribute.BonusDex, "Bonus Dex", AttributeCategory.Stats, 4, 8 ),
	new AttributeInfo( AosAttribute.BonusInt, "Bonus Int", AttributeCategory.Stats, 4, 8 ),
	new AttributeInfo( AosAttribute.BonusHits, "Bonus Hits", AttributeCategory.Stats, 3, 8 ),
	new AttributeInfo( AosAttribute.BonusStam, "Bonus Stamina", AttributeCategory.Stats, 3, 8 ),
	new AttributeInfo( AosAttribute.BonusMana, "Bonus Mana", AttributeCategory.Stats, 3, 8 ),
	new AttributeInfo( AosAttribute.WeaponDamage, "Damage Increase", AttributeCategory.Melee, 4, 50 ),
	new AttributeInfo( AosAttribute.WeaponSpeed, "Swing Speed Increase", AttributeCategory.Melee, 4, 40 ),
	new AttributeInfo( AosAttribute.SpellDamage, "Spell Damage", AttributeCategory.Magic, 2, 20 ),
	new AttributeInfo( AosAttribute.CastRecovery, "Faster Cast Recovery", AttributeCategory.Magic, 5, 6 ),
	new AttributeInfo( AosAttribute.CastSpeed, "Faster Casting", AttributeCategory.Magic, 50, 1 ),
	new AttributeInfo( AosAttribute.LowerManaCost, "Lower Mana Cost", AttributeCategory.Magic, 5, 10 ),
	new AttributeInfo( AosAttribute.LowerRegCost, "Lower Reagent Cost", AttributeCategory.Magic, 5, 20 ),
	new AttributeInfo( AosAttribute.ReflectPhysical, "Reflect Physical Damage", AttributeCategory.Melee, 3, 15 ),
	new AttributeInfo( AosAttribute.EnhancePotions, "Enhance Potions", AttributeCategory.Magic, 2, 25 ),
	new AttributeInfo( AosAttribute.Luck, "Luck", AttributeCategory.Misc, 3, 150 ),
	//new AttributeInfo( AosAttribute.SpellChanneling, "Spell Channeling", AttributeCategory.Magic, 200, 1 ),
	new AttributeInfo( AosAttribute.NightSight, "Nightsight", AttributeCategory.Misc, 10, 1 )
};

//Weapon Specific
public static WeaponAttributeInfo[] m_WeaponAttributes = new WeaponAttributeInfo[]
{
	new WeaponAttributeInfo( AosWeaponAttribute.LowerStatReq, "Lower Stat Requirement", AttributeCategory.Stats, 2, 100 ),
	new WeaponAttributeInfo( AosWeaponAttribute.SelfRepair, "Self Repair", AttributeCategory.Misc, 12, 5 ),
	

	new WeaponAttributeInfo( AosWeaponAttribute.HitLeechHits, "Hit Life Leech", AttributeCategory.Hits, 3, 60 ),
	new WeaponAttributeInfo( AosWeaponAttribute.HitLeechStam, "Hit Stamina Leech", AttributeCategory.Hits, 3, 60 ),
	new WeaponAttributeInfo( AosWeaponAttribute.HitLeechMana, "Hit Mana Leech", AttributeCategory.Hits, 3, 60 ),
	new WeaponAttributeInfo( AosWeaponAttribute.HitLowerAttack, "Hit Lower Attack", AttributeCategory.Hits, 3, 60 ),
	new WeaponAttributeInfo( AosWeaponAttribute.HitLowerDefend, "Hit Lower Defence", AttributeCategory.Hits, 3, 60 ),
	new WeaponAttributeInfo( AosWeaponAttribute.HitMagicArrow, "Hit Magic Arrow", AttributeCategory.Hits, 4, 60 ),
	new WeaponAttributeInfo( AosWeaponAttribute.HitHarm, "Hit Harm", AttributeCategory.Hits, 4, 60 ),
	new WeaponAttributeInfo( AosWeaponAttribute.HitFireball, "Hit Fireball", AttributeCategory.Hits, 4, 60 ),
	new WeaponAttributeInfo( AosWeaponAttribute.HitLightning, "Hit Lightning", AttributeCategory.Hits, 4, 60 ),
	new WeaponAttributeInfo( AosWeaponAttribute.HitDispel, "Hit Dispel", AttributeCategory.Hits, 4, 60 ),
	new WeaponAttributeInfo( AosWeaponAttribute.HitColdArea, "Hit Cold Area", AttributeCategory.Hits, 4, 60 ),
	new WeaponAttributeInfo( AosWeaponAttribute.HitFireArea, "Hit Fire Area", AttributeCategory.Hits, 4, 60 ),
	new WeaponAttributeInfo( AosWeaponAttribute.HitPoisonArea, "Hit Poison Area", AttributeCategory.Hits, 4, 60 ),
	new WeaponAttributeInfo( AosWeaponAttribute.HitEnergyArea, "Hit Energy Area", AttributeCategory.Hits, 4, 60 ),
	new WeaponAttributeInfo( AosWeaponAttribute.HitPhysicalArea, "Hit Physical Area", AttributeCategory.Hits, 4, 60 ),
	
	new WeaponAttributeInfo( AosWeaponAttribute.ResistPhysicalBonus, "Resist Physical Bonus", AttributeCategory.Resists, 5, 20 ),
	new WeaponAttributeInfo( AosWeaponAttribute.ResistFireBonus, "Resist Fire Bonus", AttributeCategory.Resists, 5, 20 ),
	new WeaponAttributeInfo( AosWeaponAttribute.ResistColdBonus, "Resist Cold Bonus", AttributeCategory.Resists, 5, 20 ),
	new WeaponAttributeInfo( AosWeaponAttribute.ResistPoisonBonus, "Resist Poison Bonus", AttributeCategory.Resists, 5, 20 ),
	new WeaponAttributeInfo( AosWeaponAttribute.ResistEnergyBonus, "Resist Energy Bonus", AttributeCategory.Resists, 5, 20 ),
	new WeaponAttributeInfo( AosWeaponAttribute.UseBestSkill, "Use Best Weapon Skill", AttributeCategory.Misc, 50, 1 ),
	new WeaponAttributeInfo( AosWeaponAttribute.MageWeapon, "Mage Weapon", AttributeCategory.Magic, 1, 30 ),
	new WeaponAttributeInfo( AosWeaponAttribute.DurabilityBonus, "Durability Bonus", AttributeCategory.Misc, 1, 100 )
};

public static ArmorAttributeInfo[] m_ArmorAttributes = new ArmorAttributeInfo[]
{
	new ArmorAttributeInfo( AosArmorAttribute.LowerStatReq, "Lower Stat Requirement", AttributeCategory.Stats, 2, 100 ),
	new ArmorAttributeInfo( AosArmorAttribute.SelfRepair, "Self Repair", AttributeCategory.Misc, 2, 5 ),
	new ArmorAttributeInfo( AosArmorAttribute.MageArmor, "Mage Armor", AttributeCategory.Magic, 5, 1 ),
	new ArmorAttributeInfo( AosArmorAttribute.DurabilityBonus, "Durability Bonus", AttributeCategory.Misc, 1, 255 )
};

//Armor specific
public static ResistanceTypeInfo[] m_ResistanceTypes = new ResistanceTypeInfo[]
{
	new ResistanceTypeInfo( ResistanceType.Physical, "Physical Resistance", AttributeCategory.Resists, 2, 20 ),
	new ResistanceTypeInfo( ResistanceType.Fire, "Fire Resistance", AttributeCategory.Resists, 2, 20 ),
	new ResistanceTypeInfo( ResistanceType.Cold, "Cold Resistance", AttributeCategory.Resists, 2, 20 ),
	new ResistanceTypeInfo( ResistanceType.Poison, "Poison Resistance", AttributeCategory.Resists, 2, 20 ),
	new ResistanceTypeInfo( ResistanceType.Energy, "Energy Resistance", AttributeCategory.Resists, 2, 20 )
};

//Jewel Specific
public static ElementAttributeInfo[] m_ElementAttributes = new ElementAttributeInfo[]
{
	new ElementAttributeInfo( AosElementAttribute.Physical, "Physical Resistance", AttributeCategory.Resists, 2, 20 ),
	new ElementAttributeInfo( AosElementAttribute.Fire, "Fire Resistance", AttributeCategory.Resists, 2, 20 ),
	new ElementAttributeInfo( AosElementAttribute.Cold, "Cold Resistance", AttributeCategory.Resists, 2, 20 ),
	new ElementAttributeInfo( AosElementAttribute.Poison, "Poison Resistance", AttributeCategory.Resists, 2, 20 ),
	new ElementAttributeInfo( AosElementAttribute.Energy, "Energy Resistance", AttributeCategory.Resists, 2, 20 )
};
+Colibri, Administrator of UO Excelsior Shard

Don't know what the purpose of your life is? Well then make something up! ;)
(Old Colibrian proverb)
User avatar
BlaZe
Legendary Scribe
Posts: 402
Joined: Thu Dec 25, 2008 12:54 am
Location: Ann Arbor, MI; USA

Re: Levelable weapons caps

Post by BlaZe »

Thanks, +Coli, I'll get working on it right away. Maybe even release a "Weapon PlannR" script soon for those people who'd like to map out what they'd like on their levelable weapon(s).


EasyUO ftw!
EasyUO Devotee
Download
My Popular ScripZ
Pet FightR | Doorman | TrainR: Lockpicking | HealR
Locked