Daenks/Meridian59_103 — pull request #419 by M59Gar (2014-04-01 22:19:25+00:00)
Title: Object Attributes

Added a system of new Object Attributes to enable new effects and replace
the old broken weapon att system.

So far, I've created Weapon Spell Procs and Armor Spell Procs. They do not
occur naturally in-game with this pull request, they only exist for testing
purposes so far.

Defaults:
Weapons can have a range of proc chances equal to or worse than now (15%).
Dazzle, hold, blind, purge, all the splash spells, and slitherbolt are
random possibilities if no specific spell is specified at attribute
creation. Dazzle procs will use their wielder's karma as a component of
duration. These procs will have a chance to fire off only upon a successful hit.

'''Lethal in appearance, this weapon is actually only minimally effective. Its spiked head is made of soft metal and its wooden shaft is thin and brittle.

Upon a successful strike, the runes engraved on this mace will cast purge on the enemy with 24 spellpower 12% of the time.

This mace is in excellent condition, but has been repaired before. (226/226)

This item has the following properties:

2 range
Deals mundane damage
Deals bludgeon damage'''

Defense Gear now has the potential capability to proc spells when you are
struck. The item's description will list this ability if it has it.

Defaults:
- Armor can proc Shadow Form, one of the four elemental resists, Free
Action, Earthquake, or (extremely rarely) Gort. Proc rates are decent
for resists and FA, good for SF, and very low for Gort.

- Shields can proc Magic Shield, Deflect, Blink, and Cure Poison at good
rates. You must make a successful damage reduction check (not the same
as blocking) in order to even get a chance to proc.

- Headgear can proc Detect Invis, EE, Night Vision at decent rates, and
Dispel Illusion at a very low rate. Note: you can wear two headgear
items at once in many circumstances. This includes masks, circlets, and
helmets.

- Shirts can proc Super Strength, Bless, and Resist Poison at very low
rates.

- Pants can proc Haste, Remove Curse, and Spiritual Hammer at very low
rates.

'''Formed from solid sheets of hardened steel, this armor offers protection from all but the most ferocious assault. It bears the mark of Fehr'loi Qan, a sign of fine workmanship and first rate materials.

When defending against a strike, the runes engraved on this plate armor will cast resist shock on the enemy with 31 spellpower 5% of the time.

This plate armor is without blemish or flaw. (702/702)

This item has the following properties:

6 armor
-200 defense rating
-10% fire resistance
-15% shock resistance'''