Tachyon Casting Unlimited Version 1.0.3 by Tachyon Contact on Elder Scrolls Forum Original Release Dated: Nov 27, 2005 Current: Feb 01, 2006 Required: Morrowind Tribunal GCD What's this mod? ---------------- This mod allows spell cost refunds -- without capping the effect at a skill of 100, while still maintaining a positive cost. Most useful for mods that allow skills over 100. Compatibility ------------- Designed for GCD, doesn't use any GCD variables, so should (maybe) be compatible with other skill unlimiting systems IF they are compatible with ( player -> Get ), player -> getmagicka and player -> modcurrentmagicka How it works: -------------------------------------- Nov 23,2005 Based on Horatio Casting's Linear Mode, with a default factor set from Magicka Based Skill Progression 1.2 (Horatio+GCD mode) of .6667 "SkillCap" defaults to 100, but you can change TYN__TCU_sFuncChangeAt to set the skill level at which the refund percentage is the value of the linear or quadratic , and above which the second function is used. Refund = LinH * Spellcost * ( Skill / 'SkillCap' ) OR Refund = QuadH * Spellcost * ( Skill / 'SkillCap' ) * ( Skill / 'SkillCap' ) Extra term calculated only if skill > 'SkilCap': ExtraFactor = 1 - LinH OR ExtraFactor = 1 - QuadH Func = ( 1 - 'SkillCap' / UncappedSkill ) ExtraRefund = ExtraFactor * Func * Spellcost TotalRefund = Refund + ExtraRefund ie: a skill : 100 150 200 250 300 500 1000 etc Func(sk): 0 1/3 .5 .6 2/3 .8 .9 so for LinH .6667, Spellcost 100: ExtraRef: 0 11.1 16.7 20 22.2 26.7 30 TotalRef: 66.7 77.8 83.3 86.7 88.9 93.3 96.7 EndCost : 33.3 22.2 16.7 13.3 11.1 6.7 3.3 Global parameters: ------------------ short TYN__TCU_sNoRefundOnFail ; Requires 0 or 1, default 0 ( I'm nice. ) Failure can get costly .... short TYN__TCU_sStartLinear ; Requires 0 or 1, default 1 Choose whether to use Linear or Quadratic refund for skills < TYN__TCU_sFuncChangeAt short TYN__TCU_sFuncChangeAt ; Requires positive value, default 100 Usually where your skill "cap" was. Really it's the value at which your refund is the max of the Linear or square function and where the code starts using the function for skill values greater than this float TYN__TCU_fHoratioLinearRefund ; Requires [0. to 1.], default .67 Linear factor for refund float TYN__TCU_fHoratioQuadRefund ; Requires [0. to 1.], default .67 Quadratic factor for refund Thanks / Lineage: ----------------- Based highly on Horatio Casting for the cast refund concept and PirateLord's Improved Skill Magicka, with thanks to Gorkon for the fix to the MaxMagicka bug ( from Bethesda - GCD 'fights' ) to keep what the max magicka really is ChangeLog --------- 1.0.3 (20060201): Basically the same, some things added but disabled (only really useful when it's being integrated with other magicka mods). Debug messageboxes commented out. 1.0.2 (20051211): If statements do not often like having operations other than comparisons it looks like. Also added check for unchanged _ratio_ of magicka. It seems whenever Morrowind feels like changing your max it maintains your ratio, which is probably why GCD does it the same. Should stop some cases where there wasn't a spell cast from entering most of the code. 1.0.1 (20051205): Some variable types changed to stop EXPRESSION errors ( probably from typecasting ambiguities ).