Morrowind

File information

Last updated

Original upload

Created by

Tachyon

Uploaded by

ess_tachyon

Virus scan

Safe to use

Tags for this mod

About 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.

Permissions and credits
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<standard_magic_school_skill> ), player -&gt; getmagicka and player -&gt; modcurrentmagicka<br><br><br>How it works:<br>--------------------------------------<br>Nov 23,2005<br>Based on Horatio Casting's Linear Mode, with a default factor set from Magicka Based Skill Progression 1.2 (Horatio+GCD mode) of .6667<br><br>"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.<br><br>Refund = LinH * Spellcost * ( Skill / 'SkillCap' )<br><span class="wbbtab"></span>OR<br>Refund = QuadH * Spellcost * ( Skill / 'SkillCap' ) * ( Skill / 'SkillCap' )<br><br>Extra term calculated only if skill &gt; 'SkilCap':<br>ExtraFactor = 1 - LinH<span class="wbbtab"></span>OR<span class="wbbtab"></span>ExtraFactor = 1 - QuadH<br>Func = ( 1 - 'SkillCap' / UncappedSkill )<br>ExtraRefund = ExtraFactor * Func * Spellcost<br>TotalRefund = Refund + ExtraRefund<br><br>ie:<br>a skill :<span class="wbbtab"></span>100<span class="wbbtab"></span>150<span class="wbbtab"></span>200<span class="wbbtab"></span>250<span class="wbbtab"></span>300<span class="wbbtab"></span>500<span class="wbbtab"></span>1000<span class="wbbtab"></span>etc<br>Func(sk):<span class="wbbtab"></span>0<span class="wbbtab"></span>1/3<span class="wbbtab"></span>.5<span class="wbbtab"></span>.6<span class="wbbtab"></span>2/3<span class="wbbtab"></span>.8<span class="wbbtab"></span>.9<br>so for LinH .6667, Spellcost 100:<br>ExtraRef:<span class="wbbtab"></span>0<span class="wbbtab"></span>11.1<span class="wbbtab"></span>16.7<span class="wbbtab"></span>20<span class="wbbtab"></span>22.2<span class="wbbtab"></span>26.7<span class="wbbtab"></span>30<br>TotalRef:<span class="wbbtab"></span>66.7<span class="wbbtab"></span>77.8<span class="wbbtab"></span>83.3<span class="wbbtab"></span>86.7<span class="wbbtab"></span>88.9<span class="wbbtab"></span>93.3<span class="wbbtab"></span>96.7<br>EndCost :<span class="wbbtab"></span>33.3<span class="wbbtab"></span>22.2<span class="wbbtab"></span>16.7<span class="wbbtab"></span>13.3<span class="wbbtab"></span>11.1<span class="wbbtab"></span>6.7<span class="wbbtab"></span>3.3<br><br><br>Global parameters:<br>------------------<br><br>short TYN__TCU_sNoRefundOnFail<span class="wbbtab"></span><span class="wbbtab"></span><span class="wbbtab"></span><span class="wbbtab"></span><span class="wbbtab"></span>; Requires 0 or 1, default 0 ( I'm nice. )<br><span class="wbbtab"></span> Failure can get costly ....<br><br>short TYN__TCU_sStartLinear<span class="wbbtab"></span><span class="wbbtab"></span><span class="wbbtab"></span><span class="wbbtab"></span><span class="wbbtab"></span><span class="wbbtab"></span>; Requires 0 or 1, default 1<br><span class="wbbtab"></span> Choose whether to use Linear or Quadratic refund for skills TYN__TCU_sFuncChangeAt<br><br>short TYN__TCU_sFuncChangeAt<span class="wbbtab"></span><span class="wbbtab"></span><span class="wbbtab"></span><span class="wbbtab"></span><span class="wbbtab"></span> ; Requires positive value, default 100<br><span class="wbbtab"></span> Usually where your skill "cap" was.<br><span class="wbbtab"></span> Really it's the value at which your refund is the max of the Linear or square function<br><span class="wbbtab"></span> and where the code starts using the function for skill values greater than this<br><br>float TYN__TCU_fHoratioLinearRefund<span class="wbbtab"></span> ; Requires [0. to 1.], default .67<br><span class="wbbtab"></span> Linear factor for refund</standard_magic_school_skill>