Iridium Gem Mod v1.1 For Diablo II LOD Patch 1.10

This version shows another approach to Iridium Gem Mod: 
	one gem = one magic attribute 
There are more than 80 magic attributes to choose from to make your custom 
items. This time, only Flawed, Standard, Flawless and Perfect gems are used. 
Chipped Gems are not used to avoid conflict with official gem recipe.

Major change in this version:
1. This is a "better thought of" version. There are only less than 150 formulae
   included in this mod yet capable of infinite variety of results.

2. Original input items retain their original magical attributes, names and quality.
   ie, Magical items remain magical. Unique items remains unique.

3. You can use only one gem and an item at a time to add additional magic attributes.
   This means, if you have a weapon with 100%ED and transmute it with Flawless Amethyst 
   (50%ED), you will get 150%ED.

4. You can indefinitely re-transmute your item with gems to get more attributes.
   ie, you had transmuted it with a Flawless Amethyst to get +50%ED, you can transmute 
   it again with another Flawless Amethyst to gain another 50%ED for a total of 100%ED.

Below is the summary of magical atttributes associated with each gem.
	Weapons	Armors	Rings	Amulets
FlawedAmethyst	+50 att	10% block 10%	str +5	str +5
StandardAmethyst	+50% att	10% faster block	dex +5	dex +5
FlawlessAmethyst	dmg 50%	+50% ac	vit +5	vit +5
PerfectAmethyst	4% dmg/lvl	4% ac/lvl	5% discount	5% discount
FlawedRuby	+10% IAS	+10% FHR	10% cast rate	+10% cast rate
StandardRuby	10% reduce-ac	+10% res-fire	+5% res-fire	+5% res-fire
FlawlessRuby	ignore-ac	+5% res-fire-max	+5% res-fire-max	+5% res-fire-max
PerfectRuby	15-20 dmg-fire	5% abs-fire	2% extra-fire	2% pierce-fire
FlawedSapphire	4 sec freeze	nofreeze	+10 mana	+5% mana
StandardSapphire	slow	10% res-cold	5% res-cold	5% res-cold
FlawlessSapphire	10% crush	5% res-cold-max	5% res-cold-max	5% res-cold-max
PerfectSapphire	10-14 dmg-cold	5% abs-cold	2% pierce-cold	2% pierce-cold
FlawedTopaz	5% ease	5% ease	light-thorns	light-thorns
StandardTopaz	20% pierce	10% res-ltng	5% res-ltng	5% res-ltng
FlawlessTopaz	knock	5% res-ltng-max	5% res-ltng-max	5% res-ltng-max
PerfectTopaz	1-40 dmg-ltng	5% abs-ltng	2% extra-ltng	2% pierce-ltng
FlawedEmerald	noheal	regen	+10 hp	+5% hp
StandardEmerald	10% openwounds	10% res-pois	5% res-pois	5% res-pois
FlawlessEmerald	10% deadly	5% res-pois-max	+5 res-pois-max	+5 res-pois-max
PerfectEmerald	100 dmg-pois	10% res-pois-len	2% extra-pois	2% pierce-pois
FlawedDiamond	1/4 rep-dur	1/4 rep-dur	+1 light radius	+1 light radius
StandardDiamond	1/2 rep-quant	10% faster move	10% mag find	10% mag find
FlawlessDiamond	15-20 dmg-mag	red-mag by 2	red-mag by 2	red-mag by 2
PerfectDiamond	ethereal	ethereal	+1 skill*	+1 skill*
FlawedSkull	2% lifesteal	2% lifesteal	2% lifesteal	2% lifesteal
StandardSkull	2% manasteal	2% manasteal	2% manasteal	2% manasteal
FlawlessSkull	+5hp per kill 	red-dmg by 2	red-dmg by 2	ed-dmg by 2
PerfectSkull	+5mana per kill	red-dmg by 5%	red-dmg by 5%	red-dmg by 5%

* The +1 to all Skill formula on rings and amulets has a +20 level penalty.
This means, once you used this formula, the ring/amulet will require additional 
20 levels for it to be used.
example:
SOJ requires level 29 to use; if you transmute it with PerfectDiamond to gain 
+1 skill, the SOJ will now require level 49 to use.

I ran out of ideas for jewels and only assigned 14 attributes using flawless and perfect
gems only. Below is the mods for jewels:
Amethyst-Flawless	10% change to cast level 10 Amp Damage on attack
Ruby-Flawless	5% chance to cast level 50 enchant on hitting
Sapphire-Flawless	5% chance to cast level 10 Decreptify on hitting
Topaz-Flawless	50% chance to cast level 50 charged bolt when gethit
Emerald-Flawless	50% chance to cast level 20 Poison Nova when killing
Diamond-Flawless	25% chance to cast level 5 Cyclone Armor when gethit
Skull-Flawless	25% chance to cast level 5 Bone Armor when gethit
Amethyst-Perfect	level 20 Defiance Aura
Ruby-Perfect	level 20 Fanaticism
Sapphire-Perfect	level 20 Holy Freeze Aura
Topaz-Perfect	level 20 Holy Shock Aura
Emerald-Perfect	level 20 Conviction Aura
Diamond-Perfect	level 20 Salvation Aura
Skull-Perfect	level 20 Redemption Aura

To use this mod, follow these instructions:
1. Cut and paste the cube.txt included with this mod at the buttom of your 
   cubemain.txt file. 
2. Use MPQ2K to insert the cubemain.txt into your d2_patch.mpq
3. Then run diablo in "-direct -txt"

TO MOD MODIFIERS aka ADVANCED USERS
There is a minimal change to the cube.pl perl script; I simply decreased the
number of gems from 4 to 1 and changed the resulting item from "usetype,crf" to 
simply 'useitem' to retain the original stat of the item making it stackable.

Also, you can add "penalty" by adding "levelreq,,1,1" to each entry in the
gem.ini file. This way, the player gets to use the transmutation on the same
item once per level. The +1Skill formula has this penalty.

IridiumMan
