~hristoast/ncgdMW

d6102836f09272558a54e035bb3452913f8170f3 — Hristos N. Triantafillou 3 months ago 1f1e47b 3.2
Fixed number printing
2 files changed, 159 insertions(+), 153 deletions(-)

M docs/ncgdMW Readme.txt
M scripts/NCGD_Main.mwscript
M docs/ncgdMW Readme.txt => docs/ncgdMW Readme.txt +6 -0
@@ 20,6 20,12 @@ Magicka Based Skill Progression - ncgdMW Compatibility Version
          Original by HotFusion4, edited by me to work with ncgdMW.
http://www.nexusmods.com/morrowind/mods/44973/?

* New in Version 3.2 *
======================

When stat values are displayed to the player, they no longer overflow with huge
numbers (it now uses `%G` instead of `%.0g`).

* New in Version 3.1 *
======================


M scripts/NCGD_Main.mwscript => scripts/NCGD_Main.mwscript +153 -153
@@ 654,7 654,7 @@ if (counter >= 3)
					set temp to temp + 1
					set skillBlock to skillBlock + 1
					set progressBlock to 0
					MessageBox "Your Block skill increased to %.0g.", temp
					MessageBox "Your Block skill increased to %G.", temp
					set decayBlock to decayBlock / 2
				endif
			elseif (progressBlock >= masteryBlock)


@@ 666,10 666,10 @@ if (counter >= 3)
				player->setBlock skillBlock
				set progressBlock to progressBlock + 1
				set skillBlock to player->getBlock
				MessageBox "You need more training before your skill will improve.  (%.0g out of %.0g)", progressBlock, (masteryBlock+1)
				MessageBox "You need more training before your skill will improve.  (%G out of %G)", progressBlock, (masteryBlock+1)
			elseif (skillBlock < 100)
				if (masteryBlock > 0)
					MessageBox "Your Block skill increased to %.0g.", temp
					MessageBox "Your Block skill increased to %G.", temp
				endif
				set baseBlock to skillBlock
				player->setBlock skillBlock


@@ 678,7 678,7 @@ if (counter >= 3)
				set decayBlock to decayBlock / 2
			else
				if (masteryBlock > 0)
					MessageBox "Your Block skill increased to %.0g.", temp
					MessageBox "Your Block skill increased to %G.", temp
				endif
				set masteryBlock to masteryBlock + 1
				set baseBlock to skillBlock - 25


@@ 773,7 773,7 @@ if (counter >= 3)
					set temp to temp + 1
					set skillArmorer to skillArmorer + 1
					set progressArmorer to 0
					MessageBox "Your Armorer skill increased to %.0g.", temp
					MessageBox "Your Armorer skill increased to %G.", temp
					set decayArmorer to decayArmorer / 2
				endif
			elseif (progressArmorer >= masteryArmorer)


@@ 785,10 785,10 @@ if (counter >= 3)
				player->setArmorer skillArmorer
				set progressArmorer to progressArmorer + 1
				set skillArmorer to player->getArmorer
				MessageBox "You need more training before your skill will improve.  (%.0g out of %.0g)", progressArmorer, (masteryArmorer+1)
				MessageBox "You need more training before your skill will improve.  (%G out of %G)", progressArmorer, (masteryArmorer+1)
			elseif (skillArmorer < 100)
				if (masteryArmorer > 0)
					MessageBox "Your Armorer skill increased to %.0g.", temp
					MessageBox "Your Armorer skill increased to %G.", temp
				endif
				set baseArmorer to skillArmorer
				player->setArmorer skillArmorer


@@ 797,7 797,7 @@ if (counter >= 3)
				set decayArmorer to decayArmorer / 2
			else
				if (masteryArmorer > 0)
					MessageBox "Your Armorer skill increased to %.0g.", temp
					MessageBox "Your Armorer skill increased to %G.", temp
				endif
				set masteryArmorer to masteryArmorer + 1
				set baseArmorer to skillArmorer - 25


@@ 892,7 892,7 @@ if (counter >= 3)
					set temp to temp + 1
					set skillMediumArmor to skillMediumArmor + 1
					set progressMediumArmor to 0
					MessageBox "Your Medium Armor skill increased to %.0g.", temp
					MessageBox "Your Medium Armor skill increased to %G.", temp
					set decayMediumArmor to decayMediumArmor / 2
				endif
			elseif (progressMediumArmor >= masteryMediumArmor)


@@ 904,10 904,10 @@ if (counter >= 3)
				player->setMediumArmor skillMediumArmor
				set progressMediumArmor to progressMediumArmor + 1
				set skillMediumArmor to player->getMediumArmor
				MessageBox "You need more training before your skill will improve.  (%.0g out of %.0g)", progressMediumArmor, (masteryMediumArmor+1)
				MessageBox "You need more training before your skill will improve.  (%G out of %G)", progressMediumArmor, (masteryMediumArmor+1)
			elseif (skillMediumArmor < 100)
				if (masteryMediumArmor > 0)
					MessageBox "Your Medium Armor skill increased to %.0g.", temp
					MessageBox "Your Medium Armor skill increased to %G.", temp
				endif
				set baseMediumArmor to skillMediumArmor
				player->setMediumArmor skillMediumArmor


@@ 916,7 916,7 @@ if (counter >= 3)
				set decayMediumArmor to decayMediumArmor / 2
			else
				if (masteryMediumArmor > 0)
					MessageBox "Your Medium Armor skill increased to %.0g.", temp
					MessageBox "Your Medium Armor skill increased to %G.", temp
				endif
				set masteryMediumArmor to masteryMediumArmor + 1
				set baseMediumArmor to skillMediumArmor - 25


@@ 1011,7 1011,7 @@ if (counter >= 3)
					set temp to temp + 1
					set skillHeavyArmor to skillHeavyArmor + 1
					set progressHeavyArmor to 0
					MessageBox "Your Heavy Armor skill increased to %.0g.", temp
					MessageBox "Your Heavy Armor skill increased to %G.", temp
					set decayHeavyArmor to decayHeavyArmor / 2
				endif
			elseif (progressHeavyArmor >= masteryHeavyArmor)


@@ 1023,10 1023,10 @@ if (counter >= 3)
				player->setHeavyArmor skillHeavyArmor
				set progressHeavyArmor to progressHeavyArmor + 1
				set skillHeavyArmor to player->getHeavyArmor
				MessageBox "You need more training before your skill will improve.  (%.0g out of %.0g)", progressHeavyArmor, (masteryHeavyArmor+1)
				MessageBox "You need more training before your skill will improve.  (%G out of %G)", progressHeavyArmor, (masteryHeavyArmor+1)
			elseif (skillHeavyArmor < 100)
				if (masteryHeavyArmor > 0)
					MessageBox "Your Heavy Armor skill increased to %.0g.", temp
					MessageBox "Your Heavy Armor skill increased to %G.", temp
				endif
				set baseHeavyArmor to skillHeavyArmor
				player->setHeavyArmor skillHeavyArmor


@@ 1035,7 1035,7 @@ if (counter >= 3)
				set decayHeavyArmor to decayHeavyArmor / 2
			else
				if (masteryHeavyArmor > 0)
					MessageBox "Your Heavy Armor skill increased to %.0g.", temp
					MessageBox "Your Heavy Armor skill increased to %G.", temp
				endif
				set masteryHeavyArmor to masteryHeavyArmor + 1
				set baseHeavyArmor to skillHeavyArmor - 25


@@ 1130,7 1130,7 @@ if (counter >= 3)
					set temp to temp + 1
					set skillBluntWeapon to skillBluntWeapon + 1
					set progressBluntWeapon to 0
					MessageBox "Your Blunt Weapon skill increased to %.0g.", temp
					MessageBox "Your Blunt Weapon skill increased to %G.", temp
					set decayBluntWeapon to decayBluntWeapon / 2
				endif
			elseif (progressBluntWeapon >= masteryBluntWeapon)


@@ 1142,10 1142,10 @@ if (counter >= 3)
				player->setBluntWeapon skillBluntWeapon
				set progressBluntWeapon to progressBluntWeapon + 1
				set skillBluntWeapon to player->getBluntWeapon
				MessageBox "You need more training before your skill will improve.  (%.0g out of %.0g)", progressBluntWeapon, (masteryBluntWeapon+1)
				MessageBox "You need more training before your skill will improve.  (%G out of %G)", progressBluntWeapon, (masteryBluntWeapon+1)
			elseif (skillBluntWeapon < 100)
				if (masteryBluntWeapon > 0)
					MessageBox "Your Blunt Weapon skill increased to %.0g.", temp
					MessageBox "Your Blunt Weapon skill increased to %G.", temp
				endif
				set baseBluntWeapon to skillBluntWeapon
				player->setBluntWeapon skillBluntWeapon


@@ 1154,7 1154,7 @@ if (counter >= 3)
				set decayBluntWeapon to decayBluntWeapon / 2
			else
				if (masteryBluntWeapon > 0)
					MessageBox "Your Blunt Weapon skill increased to %.0g.", temp
					MessageBox "Your Blunt Weapon skill increased to %G.", temp
				endif
				set masteryBluntWeapon to masteryBluntWeapon + 1
				set baseBluntWeapon to skillBluntWeapon - 25


@@ 1249,7 1249,7 @@ if (counter >= 3)
					set temp to temp + 1
					set skillLongBlade to skillLongBlade + 1
					set progressLongBlade to 0
					MessageBox "Your Long Blade skill increased to %.0g.", temp
					MessageBox "Your Long Blade skill increased to %G.", temp
					set decayLongBlade to decayLongBlade / 2
				endif
			elseif (progressLongBlade >= masteryLongBlade)


@@ 1261,10 1261,10 @@ if (counter >= 3)
				player->setLongBlade skillLongBlade
				set progressLongBlade to progressLongBlade + 1
				set skillLongBlade to player->getLongBlade
				MessageBox "You need more training before your skill will improve.  (%.0g out of %.0g)", progressLongBlade, (masteryLongBlade+1)
				MessageBox "You need more training before your skill will improve.  (%G out of %G)", progressLongBlade, (masteryLongBlade+1)
			elseif (skillLongBlade < 100)
				if (masteryLongBlade > 0)
					MessageBox "Your Long Blade skill increased to %.0g.", temp
					MessageBox "Your Long Blade skill increased to %G.", temp
				endif
				set baseLongBlade to skillLongBlade
				player->setLongBlade skillLongBlade


@@ 1273,7 1273,7 @@ if (counter >= 3)
				set decayLongBlade to decayLongBlade / 2
			else
				if (masteryLongBlade > 0)
					MessageBox "Your Long Blade skill increased to %.0g.", temp
					MessageBox "Your Long Blade skill increased to %G.", temp
				endif
				set masteryLongBlade to masteryLongBlade + 1
				set baseLongBlade to skillLongBlade - 25


@@ 1368,7 1368,7 @@ if (counter >= 3)
					set temp to temp + 1
					set skillAxe to skillAxe + 1
					set progressAxe to 0
					MessageBox "Your Axe skill increased to %.0g.", temp
					MessageBox "Your Axe skill increased to %G.", temp
					set decayAxe to decayAxe / 2
				endif
			elseif (progressAxe >= masteryAxe)


@@ 1380,10 1380,10 @@ if (counter >= 3)
				player->setAxe skillAxe
				set progressAxe to progressAxe + 1
				set skillAxe to player->getAxe
				MessageBox "You need more training before your skill will improve.  (%.0g out of %.0g)", progressAxe, (masteryAxe+1)
				MessageBox "You need more training before your skill will improve.  (%G out of %G)", progressAxe, (masteryAxe+1)
			elseif (skillAxe < 100)
				if (masteryAxe > 0)
					MessageBox "Your Axe skill increased to %.0g.", temp
					MessageBox "Your Axe skill increased to %G.", temp
				endif
				set baseAxe to skillAxe
				player->setAxe skillAxe


@@ 1392,7 1392,7 @@ if (counter >= 3)
				set decayAxe to decayAxe / 2
			else
				if (masteryAxe > 0)
					MessageBox "Your Axe skill increased to %.0g.", temp
					MessageBox "Your Axe skill increased to %G.", temp
				endif
				set masteryAxe to masteryAxe + 1
				set baseAxe to skillAxe - 25


@@ 1487,7 1487,7 @@ if (counter >= 3)
					set temp to temp + 1
					set skillSpear to skillSpear + 1
					set progressSpear to 0
					MessageBox "Your Spear skill increased to %.0g.", temp
					MessageBox "Your Spear skill increased to %G.", temp
					set decaySpear to decaySpear / 2
				endif
			elseif (progressSpear >= masterySpear)


@@ 1499,10 1499,10 @@ if (counter >= 3)
				player->setSpear skillSpear
				set progressSpear to progressSpear + 1
				set skillSpear to player->getSpear
				MessageBox "You need more training before your skill will improve.  (%.0g out of %.0g)", progressSpear, (masterySpear+1)
				MessageBox "You need more training before your skill will improve.  (%G out of %G)", progressSpear, (masterySpear+1)
			elseif (skillSpear < 100)
				if (masterySpear > 0)
					MessageBox "Your Spear skill increased to %.0g.", temp
					MessageBox "Your Spear skill increased to %G.", temp
				endif
				set baseSpear to skillSpear
				player->setSpear skillSpear


@@ 1511,7 1511,7 @@ if (counter >= 3)
				set decaySpear to decaySpear / 2
			else
				if (masterySpear > 0)
					MessageBox "Your Spear skill increased to %.0g.", temp
					MessageBox "Your Spear skill increased to %G.", temp
				endif
				set masterySpear to masterySpear + 1
				set baseSpear to skillSpear - 25


@@ 1606,7 1606,7 @@ if (counter >= 3)
					set temp to temp + 1
					set skillAthletics to skillAthletics + 1
					set progressAthletics to 0
					MessageBox "Your Athletics skill increased to %.0g.", temp
					MessageBox "Your Athletics skill increased to %G.", temp
					set decayAthletics to decayAthletics / 2
				endif
			elseif (progressAthletics >= masteryAthletics)


@@ 1618,10 1618,10 @@ if (counter >= 3)
				player->setAthletics skillAthletics
				set progressAthletics to progressAthletics + 1
				set skillAthletics to player->getAthletics
				MessageBox "You need more training before your skill will improve.  (%.0g out of %.0g)", progressAthletics, (masteryAthletics+1)
				MessageBox "You need more training before your skill will improve.  (%G out of %G)", progressAthletics, (masteryAthletics+1)
			elseif (skillAthletics < 100)
				if (masteryAthletics > 0)
					MessageBox "Your Athletics skill increased to %.0g.", temp
					MessageBox "Your Athletics skill increased to %G.", temp
				endif
				set baseAthletics to skillAthletics
				player->setAthletics skillAthletics


@@ 1630,7 1630,7 @@ if (counter >= 3)
				set decayAthletics to decayAthletics / 2
			else
				if (masteryAthletics > 0)
					MessageBox "Your Athletics skill increased to %.0g.", temp
					MessageBox "Your Athletics skill increased to %G.", temp
				endif
				set masteryAthletics to masteryAthletics + 1
				set baseAthletics to skillAthletics - 25


@@ 1727,7 1727,7 @@ if (counter >= 3)
					set temp to temp + 1
					set skillEnchant to skillEnchant + 1
					set progressEnchant to 0
					MessageBox "Your Enchant skill increased to %.0g.", temp
					MessageBox "Your Enchant skill increased to %G.", temp
					set decayEnchant to decayEnchant / 2
				endif
			elseif (progressEnchant >= masteryEnchant)


@@ 1739,10 1739,10 @@ if (counter >= 3)
				player->setEnchant skillEnchant
				set progressEnchant to progressEnchant + 1
				set skillEnchant to player->getEnchant
				MessageBox "You need more training before your skill will improve.  (%.0g out of %.0g)", progressEnchant, (masteryEnchant+1)
				MessageBox "You need more training before your skill will improve.  (%G out of %G)", progressEnchant, (masteryEnchant+1)
			elseif (skillEnchant < 100)
				if (masteryEnchant > 0)
					MessageBox "Your Enchant skill increased to %.0g.", temp
					MessageBox "Your Enchant skill increased to %G.", temp
				endif
				set baseEnchant to skillEnchant
				player->setEnchant skillEnchant


@@ 1751,7 1751,7 @@ if (counter >= 3)
				set decayEnchant to decayEnchant / 2
			else
				if (masteryEnchant > 0)
					MessageBox "Your Enchant skill increased to %.0g.", temp
					MessageBox "Your Enchant skill increased to %G.", temp
				endif
				set masteryEnchant to masteryEnchant + 1
				set baseEnchant to skillEnchant - 25


@@ 1846,7 1846,7 @@ if (counter >= 3)
					set temp to temp + 1
					set skillDestruction to skillDestruction + 1
					set progressDestruction to 0
					MessageBox "Your Destruction skill increased to %.0g.", temp
					MessageBox "Your Destruction skill increased to %G.", temp
					set decayDestruction to decayDestruction / 2
				endif
			elseif (progressDestruction >= masteryDestruction)


@@ 1858,10 1858,10 @@ if (counter >= 3)
				player->setDestruction skillDestruction
				set progressDestruction to progressDestruction + 1
				set skillDestruction to player->getDestruction
				MessageBox "You need more training before your skill will improve.  (%.0g out of %.0g)", progressDestruction, (masteryDestruction+1)
				MessageBox "You need more training before your skill will improve.  (%G out of %G)", progressDestruction, (masteryDestruction+1)
			elseif (skillDestruction < 100)
				if (masteryDestruction > 0)
					MessageBox "Your Destruction skill increased to %.0g.", temp
					MessageBox "Your Destruction skill increased to %G.", temp
				endif
				set baseDestruction to skillDestruction
				player->setDestruction skillDestruction


@@ 1870,7 1870,7 @@ if (counter >= 3)
				set decayDestruction to decayDestruction / 2
			else
				if (masteryDestruction > 0)
					MessageBox "Your Destruction skill increased to %.0g.", temp
					MessageBox "Your Destruction skill increased to %G.", temp
				endif
				set masteryDestruction to masteryDestruction + 1
				set baseDestruction to skillDestruction - 25


@@ 1965,7 1965,7 @@ if (counter >= 3)
					set temp to temp + 1
					set skillAlteration to skillAlteration + 1
					set progressAlteration to 0
					MessageBox "Your Alteration skill increased to %.0g.", temp
					MessageBox "Your Alteration skill increased to %G.", temp
					set decayAlteration to decayAlteration / 2
				endif
			elseif (progressAlteration >= masteryAlteration)


@@ 1977,10 1977,10 @@ if (counter >= 3)
				player->setAlteration skillAlteration
				set progressAlteration to progressAlteration + 1
				set skillAlteration to player->getAlteration
				MessageBox "You need more training before your skill will improve.  (%.0g out of %.0g)", progressAlteration, (masteryAlteration+1)
				MessageBox "You need more training before your skill will improve.  (%G out of %G)", progressAlteration, (masteryAlteration+1)
			elseif (skillAlteration < 100)
				if (masteryAlteration > 0)
					MessageBox "Your Alteration skill increased to %.0g.", temp
					MessageBox "Your Alteration skill increased to %G.", temp
				endif
				set baseAlteration to skillAlteration
				player->setAlteration skillAlteration


@@ 1989,7 1989,7 @@ if (counter >= 3)
				set decayAlteration to decayAlteration / 2
			else
				if (masteryAlteration > 0)
					MessageBox "Your Alteration skill increased to %.0g.", temp
					MessageBox "Your Alteration skill increased to %G.", temp
				endif
				set masteryAlteration to masteryAlteration + 1
				set baseAlteration to skillAlteration - 25


@@ 2084,7 2084,7 @@ if (counter >= 3)
					set temp to temp + 1
					set skillIllusion to skillIllusion + 1
					set progressIllusion to 0
					MessageBox "Your Illusion skill increased to %.0g.", temp
					MessageBox "Your Illusion skill increased to %G.", temp
					set decayIllusion to decayIllusion / 2
				endif
			elseif (progressIllusion >= masteryIllusion)


@@ 2096,10 2096,10 @@ if (counter >= 3)
				player->setIllusion skillIllusion
				set progressIllusion to progressIllusion + 1
				set skillIllusion to player->getIllusion
				MessageBox "You need more training before your skill will improve.  (%.0g out of %.0g)", progressIllusion, (masteryIllusion+1)
				MessageBox "You need more training before your skill will improve.  (%G out of %G)", progressIllusion, (masteryIllusion+1)
			elseif (skillIllusion < 100)
				if (masteryIllusion > 0)
					MessageBox "Your Illusion skill increased to %.0g.", temp
					MessageBox "Your Illusion skill increased to %G.", temp
				endif
				set baseIllusion to skillIllusion
				player->setIllusion skillIllusion


@@ 2108,7 2108,7 @@ if (counter >= 3)
				set decayIllusion to decayIllusion / 2
			else
				if (masteryIllusion > 0)
					MessageBox "Your Illusion skill increased to %.0g.", temp
					MessageBox "Your Illusion skill increased to %G.", temp
				endif
				set masteryIllusion to masteryIllusion + 1
				set baseIllusion to skillIllusion - 25


@@ 2203,7 2203,7 @@ if (counter >= 3)
					set temp to temp + 1
					set skillConjuration to skillConjuration + 1
					set progressConjuration to 0
					MessageBox "Your Conjuration skill increased to %.0g.", temp
					MessageBox "Your Conjuration skill increased to %G.", temp
					set decayConjuration to decayConjuration / 2
				endif
			elseif (progressConjuration >= masteryConjuration)


@@ 2215,10 2215,10 @@ if (counter >= 3)
				player->setConjuration skillConjuration
				set progressConjuration to progressConjuration + 1
				set skillConjuration to player->getConjuration
				MessageBox "You need more training before your skill will improve.  (%.0g out of %.0g)", progressConjuration, (masteryConjuration+1)
				MessageBox "You need more training before your skill will improve.  (%G out of %G)", progressConjuration, (masteryConjuration+1)
			elseif (skillConjuration < 100)
				if (masteryConjuration > 0)
					MessageBox "Your Conjuration skill increased to %.0g.", temp
					MessageBox "Your Conjuration skill increased to %G.", temp
				endif
				set baseConjuration to skillConjuration
				player->setConjuration skillConjuration


@@ 2227,7 2227,7 @@ if (counter >= 3)
				set decayConjuration to decayConjuration / 2
			else
				if (masteryConjuration > 0)
					MessageBox "Your Conjuration skill increased to %.0g.", temp
					MessageBox "Your Conjuration skill increased to %G.", temp
				endif
				set masteryConjuration to masteryConjuration + 1
				set baseConjuration to skillConjuration - 25


@@ 2322,7 2322,7 @@ if (counter >= 3)
					set temp to temp + 1
					set skillMysticism to skillMysticism + 1
					set progressMysticism to 0
					MessageBox "Your Mysticism skill increased to %.0g.", temp
					MessageBox "Your Mysticism skill increased to %G.", temp
					set decayMysticism to decayMysticism / 2
				endif
			elseif (progressMysticism >= masteryMysticism)


@@ 2334,10 2334,10 @@ if (counter >= 3)
				player->setMysticism skillMysticism
				set progressMysticism to progressMysticism + 1
				set skillMysticism to player->getMysticism
				MessageBox "You need more training before your skill will improve.  (%.0g out of %.0g)", progressMysticism, (masteryMysticism+1)
				MessageBox "You need more training before your skill will improve.  (%G out of %G)", progressMysticism, (masteryMysticism+1)
			elseif (skillMysticism < 100)
				if (masteryMysticism > 0)
					MessageBox "Your Mysticism skill increased to %.0g.", temp
					MessageBox "Your Mysticism skill increased to %G.", temp
				endif
				set baseMysticism to skillMysticism
				player->setMysticism skillMysticism


@@ 2346,7 2346,7 @@ if (counter >= 3)
				set decayMysticism to decayMysticism / 2
			else
				if (masteryMysticism > 0)
					MessageBox "Your Mysticism skill increased to %.0g.", temp
					MessageBox "Your Mysticism skill increased to %G.", temp
				endif
				set masteryMysticism to masteryMysticism + 1
				set baseMysticism to skillMysticism - 25


@@ 2441,7 2441,7 @@ if (counter >= 3)
					set temp to temp + 1
					set skillRestoration to skillRestoration + 1
					set progressRestoration to 0
					MessageBox "Your Restoration skill increased to %.0g.", temp
					MessageBox "Your Restoration skill increased to %G.", temp
					set decayRestoration to decayRestoration / 2
				endif
			elseif (progressRestoration >= masteryRestoration)


@@ 2453,10 2453,10 @@ if (counter >= 3)
				player->setRestoration skillRestoration
				set progressRestoration to progressRestoration + 1
				set skillRestoration to player->getRestoration
				MessageBox "You need more training before your skill will improve.  (%.0g out of %.0g)", progressRestoration, (masteryRestoration+1)
				MessageBox "You need more training before your skill will improve.  (%G out of %G)", progressRestoration, (masteryRestoration+1)
			elseif (skillRestoration < 100)
				if (masteryRestoration > 0)
					MessageBox "Your Restoration skill increased to %.0g.", temp
					MessageBox "Your Restoration skill increased to %G.", temp
				endif
				set baseRestoration to skillRestoration
				player->setRestoration skillRestoration


@@ 2465,7 2465,7 @@ if (counter >= 3)
				set decayRestoration to decayRestoration / 2
			else
				if (masteryRestoration > 0)
					MessageBox "Your Restoration skill increased to %.0g.", temp
					MessageBox "Your Restoration skill increased to %G.", temp
				endif
				set masteryRestoration to masteryRestoration + 1
				set baseRestoration to skillRestoration - 25


@@ 2560,7 2560,7 @@ if (counter >= 3)
					set temp to temp + 1
					set skillAlchemy to skillAlchemy + 1
					set progressAlchemy to 0
					MessageBox "Your Alchemy skill increased to %.0g.", temp
					MessageBox "Your Alchemy skill increased to %G.", temp
					set decayAlchemy to decayAlchemy / 2
				endif
			elseif (progressAlchemy >= masteryAlchemy)


@@ 2572,10 2572,10 @@ if (counter >= 3)
				player->setAlchemy skillAlchemy
				set progressAlchemy to progressAlchemy + 1
				set skillAlchemy to player->getAlchemy
				MessageBox "You need more training before your skill will improve.  (%.0g out of %.0g)", progressAlchemy, (masteryAlchemy+1)
				MessageBox "You need more training before your skill will improve.  (%G out of %G)", progressAlchemy, (masteryAlchemy+1)
			elseif (skillAlchemy < 100)
				if (masteryAlchemy > 0)
					MessageBox "Your Alchemy skill increased to %.0g.", temp
					MessageBox "Your Alchemy skill increased to %G.", temp
				endif
				set baseAlchemy to skillAlchemy
				player->setAlchemy skillAlchemy


@@ 2584,7 2584,7 @@ if (counter >= 3)
				set decayAlchemy to decayAlchemy / 2
			else
				if (masteryAlchemy > 0)
					MessageBox "Your Alchemy skill increased to %.0g.", temp
					MessageBox "Your Alchemy skill increased to %G.", temp
				endif
				set masteryAlchemy to masteryAlchemy + 1
				set baseAlchemy to skillAlchemy - 25


@@ 2679,7 2679,7 @@ if (counter >= 3)
					set temp to temp + 1
					set skillUnarmored to skillUnarmored + 1
					set progressUnarmored to 0
					MessageBox "Your Unarmored skill increased to %.0g.", temp
					MessageBox "Your Unarmored skill increased to %G.", temp
					set decayUnarmored to decayUnarmored / 2
				endif
			elseif (progressUnarmored >= masteryUnarmored)


@@ 2691,10 2691,10 @@ if (counter >= 3)
				player->setUnarmored skillUnarmored
				set progressUnarmored to progressUnarmored + 1
				set skillUnarmored to player->getUnarmored
				MessageBox "You need more training before your skill will improve.  (%.0g out of %.0g)", progressUnarmored, (masteryUnarmored+1)
				MessageBox "You need more training before your skill will improve.  (%G out of %G)", progressUnarmored, (masteryUnarmored+1)
			elseif (skillUnarmored < 100)
				if (masteryUnarmored > 0)
					MessageBox "Your Unarmored skill increased to %.0g.", temp
					MessageBox "Your Unarmored skill increased to %G.", temp
				endif
				set baseUnarmored to skillUnarmored
				player->setUnarmored skillUnarmored


@@ 2703,7 2703,7 @@ if (counter >= 3)
				set decayUnarmored to decayUnarmored / 2
			else
				if (masteryUnarmored > 0)
					MessageBox "Your Unarmored skill increased to %.0g.", temp
					MessageBox "Your Unarmored skill increased to %G.", temp
				endif
				set masteryUnarmored to masteryUnarmored + 1
				set baseUnarmored to skillUnarmored - 25


@@ 2800,7 2800,7 @@ if (counter >= 3)
					set temp to temp + 1
					set skillSecurity to skillSecurity + 1
					set progressSecurity to 0
					MessageBox "Your Security skill increased to %.0g.", temp
					MessageBox "Your Security skill increased to %G.", temp
					set decaySecurity to decaySecurity / 2
				endif
			elseif (progressSecurity >= masterySecurity)


@@ 2812,10 2812,10 @@ if (counter >= 3)
				player->setSecurity skillSecurity
				set progressSecurity to progressSecurity + 1
				set skillSecurity to player->getSecurity
				MessageBox "You need more training before your skill will improve.  (%.0g out of %.0g)", progressSecurity, (masterySecurity+1)
				MessageBox "You need more training before your skill will improve.  (%G out of %G)", progressSecurity, (masterySecurity+1)
			elseif (skillSecurity < 100)
				if (masterySecurity > 0)
					MessageBox "Your Security skill increased to %.0g.", temp
					MessageBox "Your Security skill increased to %G.", temp
				endif
				set baseSecurity to skillSecurity
				player->setSecurity skillSecurity


@@ 2824,7 2824,7 @@ if (counter >= 3)
				set decaySecurity to decaySecurity / 2
			else
				if (masterySecurity > 0)
					MessageBox "Your Security skill increased to %.0g.", temp
					MessageBox "Your Security skill increased to %G.", temp
				endif
				set masterySecurity to masterySecurity + 1
				set baseSecurity to skillSecurity - 25


@@ 2919,7 2919,7 @@ if (counter >= 3)
					set temp to temp + 1
					set skillSneak to skillSneak + 1
					set progressSneak to 0
					MessageBox "Your Sneak skill increased to %.0g.", temp
					MessageBox "Your Sneak skill increased to %G.", temp
					set decaySneak to decaySneak / 2
				endif
			elseif (progressSneak >= masterySneak)


@@ 2931,10 2931,10 @@ if (counter >= 3)
				player->setSneak skillSneak
				set progressSneak to progressSneak + 1
				set skillSneak to player->getSneak
				MessageBox "You need more training before your skill will improve.  (%.0g out of %.0g)", progressSneak, (masterySneak+1)
				MessageBox "You need more training before your skill will improve.  (%G out of %G)", progressSneak, (masterySneak+1)
			elseif (skillSneak < 100)
				if (masterySneak > 0)
					MessageBox "Your Sneak skill increased to %.0g.", temp
					MessageBox "Your Sneak skill increased to %G.", temp
				endif
				set baseSneak to skillSneak
				player->setSneak skillSneak


@@ 2943,7 2943,7 @@ if (counter >= 3)
				set decaySneak to decaySneak / 2
			else
				if (masterySneak > 0)
					MessageBox "Your Sneak skill increased to %.0g.", temp
					MessageBox "Your Sneak skill increased to %G.", temp
				endif
				set masterySneak to masterySneak + 1
				set baseSneak to skillSneak - 25


@@ 3038,7 3038,7 @@ if (counter >= 3)
					set temp to temp + 1
					set skillAcrobatics to skillAcrobatics + 1
					set progressAcrobatics to 0
					MessageBox "Your Acrobatics skill increased to %.0g.", temp
					MessageBox "Your Acrobatics skill increased to %G.", temp
					set decayAcrobatics to decayAcrobatics / 2
				endif
			elseif (progressAcrobatics >= masteryAcrobatics)


@@ 3050,10 3050,10 @@ if (counter >= 3)
				player->setAcrobatics skillAcrobatics
				set progressAcrobatics to progressAcrobatics + 1
				set skillAcrobatics to player->getAcrobatics
				MessageBox "You need more training before your skill will improve.  (%.0g out of %.0g)", progressAcrobatics, (masteryAcrobatics+1)
				MessageBox "You need more training before your skill will improve.  (%G out of %G)", progressAcrobatics, (masteryAcrobatics+1)
			elseif (skillAcrobatics < 100)
				if (masteryAcrobatics > 0)
					MessageBox "Your Acrobatics skill increased to %.0g.", temp
					MessageBox "Your Acrobatics skill increased to %G.", temp
				endif
				set baseAcrobatics to skillAcrobatics
				player->setAcrobatics skillAcrobatics


@@ 3062,7 3062,7 @@ if (counter >= 3)
				set decayAcrobatics to decayAcrobatics / 2
			else
				if (masteryAcrobatics > 0)
					MessageBox "Your Acrobatics skill increased to %.0g.", temp
					MessageBox "Your Acrobatics skill increased to %G.", temp
				endif
				set masteryAcrobatics to masteryAcrobatics + 1
				set baseAcrobatics to skillAcrobatics - 25


@@ 3157,7 3157,7 @@ if (counter >= 3)
					set temp to temp + 1
					set skillLightArmor to skillLightArmor + 1
					set progressLightArmor to 0
					MessageBox "Your Light Armor skill increased to %.0g.", temp
					MessageBox "Your Light Armor skill increased to %G.", temp
					set decayLightArmor to decayLightArmor / 2
				endif
			elseif (progressLightArmor >= masteryLightArmor)


@@ 3169,10 3169,10 @@ if (counter >= 3)
				player->setLightArmor skillLightArmor
				set progressLightArmor to progressLightArmor + 1
				set skillLightArmor to player->getLightArmor
				MessageBox "You need more training before your skill will improve.  (%.0g out of %.0g)", progressLightArmor, (masteryLightArmor+1)
				MessageBox "You need more training before your skill will improve.  (%G out of %G)", progressLightArmor, (masteryLightArmor+1)
			elseif (skillLightArmor < 100)
				if (masteryLightArmor > 0)
					MessageBox "Your Light Armor skill increased to %.0g.", temp
					MessageBox "Your Light Armor skill increased to %G.", temp
				endif
				set baseLightArmor to skillLightArmor
				player->setLightArmor skillLightArmor


@@ 3181,7 3181,7 @@ if (counter >= 3)
				set decayLightArmor to decayLightArmor / 2
			else
				if (masteryLightArmor > 0)
					MessageBox "Your Light Armor skill increased to %.0g.", temp
					MessageBox "Your Light Armor skill increased to %G.", temp
				endif
				set masteryLightArmor to masteryLightArmor + 1
				set baseLightArmor to skillLightArmor - 25


@@ 3276,7 3276,7 @@ if (counter >= 3)
					set temp to temp + 1
					set skillShortBlade to skillShortBlade + 1
					set progressShortBlade to 0
					MessageBox "Your Short Blade skill increased to %.0g.", temp
					MessageBox "Your Short Blade skill increased to %G.", temp
					set decayShortBlade to decayShortBlade / 2
				endif
			elseif (progressShortBlade >= masteryShortBlade)


@@ 3288,10 3288,10 @@ if (counter >= 3)
				player->setShortBlade skillShortBlade
				set progressShortBlade to progressShortBlade + 1
				set skillShortBlade to player->getShortBlade
				MessageBox "You need more training before your skill will improve.  (%.0g out of %.0g)", progressShortBlade, (masteryShortBlade+1)
				MessageBox "You need more training before your skill will improve.  (%G out of %G)", progressShortBlade, (masteryShortBlade+1)
			elseif (skillShortBlade < 100)
				if (masteryShortBlade > 0)
					MessageBox "Your Short Blade skill increased to %.0g.", temp
					MessageBox "Your Short Blade skill increased to %G.", temp
				endif
				set baseShortBlade to skillShortBlade
				player->setShortBlade skillShortBlade


@@ 3300,7 3300,7 @@ if (counter >= 3)
				set decayShortBlade to decayShortBlade / 2
			else
				if (masteryShortBlade > 0)
					MessageBox "Your Short Blade skill increased to %.0g.", temp
					MessageBox "Your Short Blade skill increased to %G.", temp
				endif
				set masteryShortBlade to masteryShortBlade + 1
				set baseShortBlade to skillShortBlade - 25


@@ 3395,7 3395,7 @@ if (counter >= 3)
					set temp to temp + 1
					set skillMarksman to skillMarksman + 1
					set progressMarksman to 0
					MessageBox "Your Marksman skill increased to %.0g.", temp
					MessageBox "Your Marksman skill increased to %G.", temp
					set decayMarksman to decayMarksman / 2
				endif
			elseif (progressMarksman >= masteryMarksman)


@@ 3407,10 3407,10 @@ if (counter >= 3)
				player->setMarksman skillMarksman
				set progressMarksman to progressMarksman + 1
				set skillMarksman to player->getMarksman
				MessageBox "You need more training before your skill will improve.  (%.0g out of %.0g)", progressMarksman, (masteryMarksman+1)
				MessageBox "You need more training before your skill will improve.  (%G out of %G)", progressMarksman, (masteryMarksman+1)
			elseif (skillMarksman < 100)
				if (masteryMarksman > 0)
					MessageBox "Your Marksman skill increased to %.0g.", temp
					MessageBox "Your Marksman skill increased to %G.", temp
				endif
				set baseMarksman to skillMarksman
				player->setMarksman skillMarksman


@@ 3419,7 3419,7 @@ if (counter >= 3)
				set decayMarksman to decayMarksman / 2
			else
				if (masteryMarksman > 0)
					MessageBox "Your Marksman skill increased to %.0g.", temp
					MessageBox "Your Marksman skill increased to %G.", temp
				endif
				set masteryMarksman to masteryMarksman + 1
				set baseMarksman to skillMarksman - 25


@@ 3514,7 3514,7 @@ if (counter >= 3)
					set temp to temp + 1
					set skillMercantile to skillMercantile + 1
					set progressMercantile to 0
					MessageBox "Your Mercantile skill increased to %.0g.", temp
					MessageBox "Your Mercantile skill increased to %G.", temp
					set decayMercantile to decayMercantile / 2
				endif
			elseif (progressMercantile >= masteryMercantile)


@@ 3526,10 3526,10 @@ if (counter >= 3)
				player->setMercantile skillMercantile
				set progressMercantile to progressMercantile + 1
				set skillMercantile to player->getMercantile
				MessageBox "You need more training before your skill will improve.  (%.0g out of %.0g)", progressMercantile, (masteryMercantile+1)
				MessageBox "You need more training before your skill will improve.  (%G out of %G)", progressMercantile, (masteryMercantile+1)
			elseif (skillMercantile < 100)
				if (masteryMercantile > 0)
					MessageBox "Your Mercantile skill increased to %.0g.", temp
					MessageBox "Your Mercantile skill increased to %G.", temp
				endif
				set baseMercantile to skillMercantile
				player->setMercantile skillMercantile


@@ 3538,7 3538,7 @@ if (counter >= 3)
				set decayMercantile to decayMercantile / 2
			else
				if (masteryMercantile > 0)
					MessageBox "Your Mercantile skill increased to %.0g.", temp
					MessageBox "Your Mercantile skill increased to %G.", temp
				endif
				set masteryMercantile to masteryMercantile + 1
				set baseMercantile to skillMercantile - 25


@@ 3633,7 3633,7 @@ if (counter >= 3)
					set temp to temp + 1
					set skillSpeechcraft to skillSpeechcraft + 1
					set progressSpeechcraft to 0
					MessageBox "Your Speechcraft skill increased to %.0g.", temp
					MessageBox "Your Speechcraft skill increased to %G.", temp
					set decaySpeechcraft to decaySpeechcraft / 2
				endif
			elseif (progressSpeechcraft >= masterySpeechcraft)


@@ 3645,10 3645,10 @@ if (counter >= 3)
				player->setSpeechcraft skillSpeechcraft
				set progressSpeechcraft to progressSpeechcraft + 1
				set skillSpeechcraft to player->getSpeechcraft
				MessageBox "You need more training before your skill will improve.  (%.0g out of %.0g)", progressSpeechcraft, (masterySpeechcraft+1)
				MessageBox "You need more training before your skill will improve.  (%G out of %G)", progressSpeechcraft, (masterySpeechcraft+1)
			elseif (skillSpeechcraft < 100)
				if (masterySpeechcraft > 0)
					MessageBox "Your Speechcraft skill increased to %.0g.", temp
					MessageBox "Your Speechcraft skill increased to %G.", temp
				endif
				set baseSpeechcraft to skillSpeechcraft
				player->setSpeechcraft skillSpeechcraft


@@ 3657,7 3657,7 @@ if (counter >= 3)
				set decaySpeechcraft to decaySpeechcraft / 2
			else
				if (masterySpeechcraft > 0)
					MessageBox "Your Speechcraft skill increased to %.0g.", temp
					MessageBox "Your Speechcraft skill increased to %G.", temp
				endif
				set masterySpeechcraft to masterySpeechcraft + 1
				set baseSpeechcraft to skillSpeechcraft - 25


@@ 3752,7 3752,7 @@ if (counter >= 3)
					set temp to temp + 1
					set skillHandToHand to skillHandToHand + 1
					set progressHandToHand to 0
					MessageBox "Your Hand To Hand skill increased to %.0g.", temp
					MessageBox "Your Hand To Hand skill increased to %G.", temp
					set decayHandToHand to decayHandToHand / 2
				endif
			elseif (progressHandToHand >= masteryHandToHand)


@@ 3764,10 3764,10 @@ if (counter >= 3)
				player->setHandToHand skillHandToHand
				set progressHandToHand to progressHandToHand + 1
				set skillHandToHand to player->getHandToHand
				MessageBox "You need more training before your skill will improve.  (%.0g out of %.0g)", progressHandToHand, (masteryHandToHand+1)
				MessageBox "You need more training before your skill will improve.  (%G out of %G)", progressHandToHand, (masteryHandToHand+1)
			elseif (skillHandToHand < 100)
				if (masteryHandToHand > 0)
					MessageBox "Your Hand To Hand skill increased to %.0g.", temp
					MessageBox "Your Hand To Hand skill increased to %G.", temp
				endif
				set baseHandToHand to skillHandToHand
				player->setHandToHand skillHandToHand


@@ 3776,7 3776,7 @@ if (counter >= 3)
				set decayHandToHand to decayHandToHand / 2
			else
				if (masteryHandToHand > 0)
					MessageBox "Your Hand To Hand skill increased to %.0g.", temp
					MessageBox "Your Hand To Hand skill increased to %G.", temp
				endif
				set masteryHandToHand to masteryHandToHand + 1
				set baseHandToHand to skillHandToHand - 25


@@ 3947,9 3947,9 @@ if (counter >= 3)
		set temp to temp2 + startSTR	; Sets base Strength to new value
		
		if (temp > baseSTR)
			MessageBox "Your Strength has increased to %.0g.", temp
			MessageBox "Your Strength has increased to %G.", temp
		elseif (temp < baseSTR)
			MessageBox "Your Strength has decayed to %.0g.", temp
			MessageBox "Your Strength has decayed to %G.", temp
		endif
		
		set baseSTR to temp


@@ 4052,9 4052,9 @@ if (counter >= 3)
		set temp to temp2 + startINT
		
		if (temp > baseINT)
			MessageBox "Your Intelligence has increased to %.0g.", temp
			MessageBox "Your Intelligence has increased to %G.", temp
		elseif (temp < baseINT)
			MessageBox "Your Intelligence has decayed to %.0g.", temp
			MessageBox "Your Intelligence has decayed to %G.", temp
		endif
		
		set baseINT to temp


@@ 4189,9 4189,9 @@ if (counter >= 3)
		set temp to temp2 + startWIL
		
		if (temp > baseWIL)
			MessageBox "Your Willpower has increased to %.0g.", temp
			MessageBox "Your Willpower has increased to %G.", temp
		elseif (temp < baseWIL)
			MessageBox "Your Willpower has decayed to %.0g.", temp
			MessageBox "Your Willpower has decayed to %G.", temp
		endif
		
		set baseWIL to temp


@@ 4298,9 4298,9 @@ if (counter >= 3)
		set temp to temp2 + startAGI
		
		if (temp > baseAGI)
			MessageBox "Your Agility has increased to %.0g.", temp
			MessageBox "Your Agility has increased to %G.", temp
		elseif (temp < baseAGI)
			MessageBox "Your Agility has decayed to %.0g.", temp
			MessageBox "Your Agility has decayed to %G.", temp
		endif
		
		set baseAGI to temp


@@ 4411,9 4411,9 @@ if (counter >= 3)
		set temp to temp2 + startSPE
		
		if (temp > baseSPE)
			MessageBox "Your Speed has increased to %.0g.", temp
			MessageBox "Your Speed has increased to %G.", temp
		elseif (temp < baseSPE)
			MessageBox "Your Speed has decayed to %.0g.", temp
			MessageBox "Your Speed has decayed to %G.", temp
		endif
		
		set baseSPE to temp


@@ 4524,9 4524,9 @@ if (counter >= 3)
		set temp to temp2 + startEND
		
		if (temp > baseEND)
			MessageBox "Your Endurance has increased to %.0g.", temp
			MessageBox "Your Endurance has increased to %G.", temp
		elseif (temp < baseEND)
			MessageBox "Your Endurance has decayed to %.0g.", temp
			MessageBox "Your Endurance has decayed to %G.", temp
		endif
		
		set baseEND to temp


@@ 4643,9 4643,9 @@ if (counter >= 3)
		set temp to temp2 + startPER
		
		if (temp > basePER)
			MessageBox "Your Personality has increased to %.0g.", temp
			MessageBox "Your Personality has increased to %G.", temp
		elseif (temp < basePER)
			MessageBox "Your Personality has decayed to %.0g.", temp
			MessageBox "Your Personality has decayed to %G.", temp
		endif
		
		set basePER to temp


@@ 4826,9 4826,9 @@ if (counter >= 3)
		if (temp2 > 25)
			set temp2 to temp2 - 25
			if (temp2 > player->getLevel)
				MessageBox "You have reached Level %.0g.", temp2
				MessageBox "You have reached Level %G.", temp2
			elseif (temp2 < player->getLevel)
				MessageBox "You have regressed to Level %.0g.", temp2
				MessageBox "You have regressed to Level %G.", temp2
			endif
			player->setLevel temp2 			; Level = Luck - 40 (an average character starts with 41 Luck e.g. level 1)
		else


@@ 4845,9 4845,9 @@ if (counter >= 3)
		set temp to temp2 + startLUK
		
		if (temp > baseLUK)
			MessageBox "Your Luck has increased to %.0g.", temp
			MessageBox "Your Luck has increased to %G.", temp
		elseif (temp < baseLUK)
			MessageBox "Your Luck has decayed to %.0g.", temp
			MessageBox "Your Luck has decayed to %G.", temp
		endif
		
		set baseLUK to temp


@@ 4932,7 4932,7 @@ if (counter >= 3)
				if (skillBlock > 15)
					set skillBlock to skillBlock - 1
					player->modBlock -1
					MessageBox "Your Block skill has decayed to %.0g.", skillBlock
					MessageBox "Your Block skill has decayed to %G.", skillBlock
					PlaySoundVP "skillraise", 1.0, 0.79
					PlaySoundVP "skillraise", 1.0, 0.76
					set skillBlock to 0	; Force recheck


@@ 4954,7 4954,7 @@ if (counter >= 3)
				if (skillArmorer > 15)
					set skillArmorer to skillArmorer - 1
					player->modArmorer -1
					MessageBox "Your Armorer skill has decayed to %.0g.", skillArmorer
					MessageBox "Your Armorer skill has decayed to %G.", skillArmorer
					PlaySoundVP "skillraise", 1.0, 0.79
					PlaySoundVP "skillraise", 1.0, 0.76
					set skillArmorer to 0	; Force recheck


@@ 4976,7 4976,7 @@ if (counter >= 3)
				if (skillMediumArmor > 15)
					set skillMediumArmor to skillMediumArmor - 1
					player->modMediumArmor -1
					MessageBox "Your Medium Armor skill has decayed to %.0g.", skillMediumArmor
					MessageBox "Your Medium Armor skill has decayed to %G.", skillMediumArmor
					PlaySoundVP "skillraise", 1.0, 0.79
					PlaySoundVP "skillraise", 1.0, 0.76
					set skillMediumArmor to 0	; Force recheck


@@ 4998,7 4998,7 @@ if (counter >= 3)
				if (skillHeavyArmor > 15)
					set skillHeavyArmor to skillHeavyArmor - 1
					player->modHeavyArmor -1
					MessageBox "Your Heavy Armor skill has decayed to %.0g.", skillHeavyArmor
					MessageBox "Your Heavy Armor skill has decayed to %G.", skillHeavyArmor
					PlaySoundVP "skillraise", 1.0, 0.79
					PlaySoundVP "skillraise", 1.0, 0.76
					set skillHeavyArmor to 0	; Force recheck


@@ 5020,7 5020,7 @@ if (counter >= 3)
				if (skillBluntWeapon > 15)
					set skillBluntWeapon to skillBluntWeapon - 1
					player->modBluntWeapon -1
					MessageBox "Your Blunt Weapon skill has decayed to %.0g.", skillBluntWeapon
					MessageBox "Your Blunt Weapon skill has decayed to %G.", skillBluntWeapon
					PlaySoundVP "skillraise", 1.0, 0.79
					PlaySoundVP "skillraise", 1.0, 0.76
					set skillBluntWeapon to 0	; Force recheck


@@ 5042,7 5042,7 @@ if (counter >= 3)
				if (skillLongBlade > 15)
					set skillLongBlade to skillLongBlade - 1
					player->modLongBlade -1
					MessageBox "Your Long Blade skill has decayed to %.0g.", skillLongBlade
					MessageBox "Your Long Blade skill has decayed to %G.", skillLongBlade
					PlaySoundVP "skillraise", 1.0, 0.79
					PlaySoundVP "skillraise", 1.0, 0.76
					set skillLongBlade to 0	; Force recheck


@@ 5064,7 5064,7 @@ if (counter >= 3)
				if (skillAxe > 15)
					set skillAxe to skillAxe - 1
					player->modAxe -1
					MessageBox "Your Axe skill has decayed to %.0g.", skillAxe
					MessageBox "Your Axe skill has decayed to %G.", skillAxe
					PlaySoundVP "skillraise", 1.0, 0.79
					PlaySoundVP "skillraise", 1.0, 0.76
					set skillAxe to 0	; Force recheck


@@ 5086,7 5086,7 @@ if (counter >= 3)
				if (skillSpear > 15)
					set skillSpear to skillSpear - 1
					player->modSpear -1
					MessageBox "Your Spear skill has decayed to %.0g.", skillSpear
					MessageBox "Your Spear skill has decayed to %G.", skillSpear
					PlaySoundVP "skillraise", 1.0, 0.79
					PlaySoundVP "skillraise", 1.0, 0.76
					set skillSpear to 0	; Force recheck


@@ 5108,7 5108,7 @@ if (counter >= 3)
				if (skillAthletics > 15)
					set skillAthletics to skillAthletics - 1
					player->modAthletics -1
					MessageBox "Your Athletics skill has decayed to %.0g.", skillAthletics
					MessageBox "Your Athletics skill has decayed to %G.", skillAthletics
					PlaySoundVP "skillraise", 1.0, 0.79
					PlaySoundVP "skillraise", 1.0, 0.76
					set skillAthletics to 0	; Force recheck


@@ 5131,7 5131,7 @@ if (counter >= 3)
				if (skillEnchant > 15)
					set skillEnchant to skillEnchant - 1
					player->modEnchant -1
					MessageBox "Your Enchant skill has decayed to %.0g.", skillEnchant
					MessageBox "Your Enchant skill has decayed to %G.", skillEnchant
					PlaySoundVP "skillraise", 1.0, 0.79
					PlaySoundVP "skillraise", 1.0, 0.76
					set skillEnchant to 0	; Force recheck


@@ 5153,7 5153,7 @@ if (counter >= 3)
				if (skillDestruction > 15)
					set skillDestruction to skillDestruction - 1
					player->modDestruction -1
					MessageBox "Your Destruction skill has decayed to %.0g.", skillDestruction
					MessageBox "Your Destruction skill has decayed to %G.", skillDestruction
					PlaySoundVP "skillraise", 1.0, 0.79
					PlaySoundVP "skillraise", 1.0, 0.76
					set skillDestruction to 0	; Force recheck


@@ 5175,7 5175,7 @@ if (counter >= 3)
				if (skillAlteration > 15)
					set skillAlteration to skillAlteration - 1
					player->modAlteration -1
					MessageBox "Your Alteration skill has decayed to %.0g.", skillAlteration
					MessageBox "Your Alteration skill has decayed to %G.", skillAlteration
					PlaySoundVP "skillraise", 1.0, 0.79
					PlaySoundVP "skillraise", 1.0, 0.76
					set skillAlteration to 0	; Force recheck


@@ 5197,7 5197,7 @@ if (counter >= 3)
				if (skillIllusion > 15)
					set skillIllusion to skillIllusion - 1
					player->modIllusion -1
					MessageBox "Your Illusion skill has decayed to %.0g.", skillIllusion
					MessageBox "Your Illusion skill has decayed to %G.", skillIllusion
					PlaySoundVP "skillraise", 1.0, 0.79
					PlaySoundVP "skillraise", 1.0, 0.76
					set skillIllusion to 0	; Force recheck


@@ 5219,7 5219,7 @@ if (counter >= 3)
				if (skillConjuration > 15)
					set skillConjuration to skillConjuration - 1
					player->modConjuration -1
					MessageBox "Your Conjuration skill has decayed to %.0g.", skillConjuration
					MessageBox "Your Conjuration skill has decayed to %G.", skillConjuration
					PlaySoundVP "skillraise", 1.0, 0.79
					PlaySoundVP "skillraise", 1.0, 0.76
					set skillConjuration to 0	; Force recheck


@@ 5241,7 5241,7 @@ if (counter >= 3)
				if (skillMysticism > 15)
					set skillMysticism to skillMysticism - 1
					player->modMysticism -1
					MessageBox "Your Mysticism skill has decayed to %.0g.", skillMysticism
					MessageBox "Your Mysticism skill has decayed to %G.", skillMysticism
					PlaySoundVP "skillraise", 1.0, 0.79
					PlaySoundVP "skillraise", 1.0, 0.76
					set skillMysticism to 0	; Force recheck


@@ 5263,7 5263,7 @@ if (counter >= 3)
				if (skillRestoration > 15)
					set skillRestoration to skillRestoration - 1
					player->modRestoration -1
					MessageBox "Your Restoration skill has decayed to %.0g.", skillRestoration
					MessageBox "Your Restoration skill has decayed to %G.", skillRestoration
					PlaySoundVP "skillraise", 1.0, 0.79
					PlaySoundVP "skillraise", 1.0, 0.76
					set skillRestoration to 0	; Force recheck


@@ 5285,7 5285,7 @@ if (counter >= 3)
				if (skillAlchemy > 15)
					set skillAlchemy to skillAlchemy - 1
					player->modAlchemy -1
					MessageBox "Your Alchemy skill has decayed to %.0g.", skillAlchemy
					MessageBox "Your Alchemy skill has decayed to %G.", skillAlchemy
					PlaySoundVP "skillraise", 1.0, 0.79
					PlaySoundVP "skillraise", 1.0, 0.76
					set skillAlchemy to 0	; Force recheck


@@ 5307,7 5307,7 @@ if (counter >= 3)
				if (skillUnarmored > 15)
					set skillUnarmored to skillUnarmored - 1
					player->modUnarmored -1
					MessageBox "Your Unarmored skill has decayed to %.0g.", skillUnarmored
					MessageBox "Your Unarmored skill has decayed to %G.", skillUnarmored
					PlaySoundVP "skillraise", 1.0, 0.79
					PlaySoundVP "skillraise", 1.0, 0.76
					set skillUnarmored to 0	; Force recheck


@@ 5330,7 5330,7 @@ if (counter >= 3)
				if (skillSecurity > 15)
					set skillSecurity to skillSecurity - 1
					player->modSecurity -1
					MessageBox "Your Security skill has decayed to %.0g.", skillSecurity
					MessageBox "Your Security skill has decayed to %G.", skillSecurity
					PlaySoundVP "skillraise", 1.0, 0.79
					PlaySoundVP "skillraise", 1.0, 0.76
					set skillSecurity to 0	; Force recheck


@@ 5352,7 5352,7 @@ if (counter >= 3)
				if (skillSneak > 15)
					set skillSneak to skillSneak - 1
					player->modSneak -1
					MessageBox "Your Sneak skill has decayed to %.0g.", skillSneak
					MessageBox "Your Sneak skill has decayed to %G.", skillSneak
					PlaySoundVP "skillraise", 1.0, 0.79
					PlaySoundVP "skillraise", 1.0, 0.76
					set skillSneak to 0	; Force recheck


@@ 5374,7 5374,7 @@ if (counter >= 3)
				if (skillAcrobatics > 15)
					set skillAcrobatics to skillAcrobatics - 1
					player->modAcrobatics -1
					MessageBox "Your Acrobatics skill has decayed to %.0g.", skillAcrobatics
					MessageBox "Your Acrobatics skill has decayed to %G.", skillAcrobatics
					PlaySoundVP "skillraise", 1.0, 0.79
					PlaySoundVP "skillraise", 1.0, 0.76
					set skillAcrobatics to 0	; Force recheck


@@ 5396,7 5396,7 @@ if (counter >= 3)
				if (skillLightArmor > 15)
					set skillLightArmor to skillLightArmor - 1
					player->modLightArmor -1
					MessageBox "Your Light Armor skill has decayed to %.0g.", skillLightArmor
					MessageBox "Your Light Armor skill has decayed to %G.", skillLightArmor
					PlaySoundVP "skillraise", 1.0, 0.79
					PlaySoundVP "skillraise", 1.0, 0.76
					set skillLightArmor to 0	; Force recheck


@@ 5418,7 5418,7 @@ if (counter >= 3)
				if (skillShortBlade > 15)
					set skillShortBlade to skillShortBlade - 1
					player->modShortBlade -1
					MessageBox "Your Short Blade skill has decayed to %.0g.", skillShortBlade
					MessageBox "Your Short Blade skill has decayed to %G.", skillShortBlade
					PlaySoundVP "skillraise", 1.0, 0.79
					PlaySoundVP "skillraise", 1.0, 0.76
					set skillShortBlade to 0	; Force recheck


@@ 5440,7 5440,7 @@ if (counter >= 3)
				if (skillMarksman > 15)
					set skillMarksman to skillMarksman - 1
					player->modMarksman -1
					MessageBox "Your Marksman skill has decayed to %.0g.", skillMarksman
					MessageBox "Your Marksman skill has decayed to %G.", skillMarksman
					PlaySoundVP "skillraise", 1.0, 0.79
					PlaySoundVP "skillraise", 1.0, 0.76
					set skillMarksman to 0	; Force recheck


@@ 5462,7 5462,7 @@ if (counter >= 3)
				if (skillMercantile > 15)
					set skillMercantile to skillMercantile - 1
					player->modMercantile -1
					MessageBox "Your Mercantile skill has decayed to %.0g.", skillMercantile
					MessageBox "Your Mercantile skill has decayed to %G.", skillMercantile
					PlaySoundVP "skillraise", 1.0, 0.79
					PlaySoundVP "skillraise", 1.0, 0.76
					set skillMercantile to 0	; Force recheck


@@ 5484,7 5484,7 @@ if (counter >= 3)
				if (skillSpeechcraft > 15)
					set skillSpeechcraft to skillSpeechcraft - 1
					player->modSpeechcraft -1
					MessageBox "Your Speechcraft skill has decayed to %.0g.", skillSpeechcraft
					MessageBox "Your Speechcraft skill has decayed to %G.", skillSpeechcraft
					PlaySoundVP "skillraise", 1.0, 0.79
					PlaySoundVP "skillraise", 1.0, 0.76
					set skillSpeechcraft to 0	; Force recheck


@@ 5506,7 5506,7 @@ if (counter >= 3)
				if (skillHandToHand > 15)
					set skillHandToHand to skillHandToHand - 1
					player->modHandToHand -1
					MessageBox "Your Hand To Hand skill has decayed to %.0g.", skillHandToHand
					MessageBox "Your Hand To Hand skill has decayed to %G.", skillHandToHand
					PlaySoundVP "skillraise", 1.0, 0.79
					PlaySoundVP "skillraise", 1.0, 0.76
					set skillHandToHand to 0	; Force recheck