User Tools

Site Tools


formula

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
formula [2023/05/05 00:19] adminformula [2023/05/19 13:04] (current) – removed admin
Line 1: Line 1:
-<html><head> 
-<script type="text/javascript" language="JavaScript">  
-//<!-- hide from older browsers 
-// 
  
-function CBoom() { //Generate OOC` Date  // version 0.1_2010 
-  with (document.CapBoom) {   
-  Hours = input_Hours.value; 
-  Wis = input_Wis.value; 
-  Level = input_Level.value; 
-   
-  // Set the start time for cap boom 
-  if (Old.checked)  
-    { 
- BooomStart = 175; 
- if (select_Race.value == "human") BoomStart = 175; 
- if (select_Race.value == "sidhe") BoomStart = 200; 
- if (select_Race.value == "quickling") BoomStart = 250; 
- if (select_Race.value == "gnome") BoomStart = 100; 
- if (select_Race.value == "sprite") BoomStart = 175; 
- if (select_Race.value == "haikjadeam") BoomStart = 100; 
- if (select_Race.value == "ent") BoomStart = 25; 
- if (select_Race.value == "selkie") BoomStart = 175; 
- if (select_Race.value == "gandor") BoomStart = 75; 
- if (select_Race.value == "alaemn") BoomStart = 100; 
- if (select_Race.value == "arachnaia") BoomStart = 100; 
- if (select_Race.value == "louryl") BoomStart = 100; 
- if (select_Race.value == "orc") BoomStart = 100; 
- if (select_Race.value == "skulk") BoomStart = 175; 
- if (select_Race.value == "xorrto") BoomStart = 175; 
- if (select_Race.value == "cyclops") BoomStart = 175; 
- } 
-  else BoomStart = 75; 
-   
-  // Set Racial Multiplier 
-  RaceMult = 11; 
-  if (select_Race.value == "human") RaceMult = 13; 
-  if (select_Race.value == "tautha") RaceMult = 15; 
-   
-  // Calculate BoomTime Multiplier and find the next BoomTime 
-  // Basically, subtract boomtime from hours, then divy it up and see when the next 250 lands.  
-  if (Hours*1 < BoomStart*1)  
-    { 
- HoursMult = 0; 
- output_Hours.value = BoomStart; 
- } 
-  else 
-    { 
- BoomTime = Hours*1 - BoomStart*1; 
- HoursMult = Math.floor(BoomTime*1 / 250) + 1; 
- output_Hours.value = BoomStart*1 + HoursMult * 250; 
- } 
-   
-  // Figure out the value of the Cap Multiplier 
-  if (Old.checked)  
-    { 
- OldMult = 2; 
-  if (select_Race.value == "sidhe") OldMult = 3; 
- if (select_Race.value == "gandor") OldMult = 1; 
- } 
-  else OldMult = 0; 
-  if (Eidetic.checked) EidMult = 10; 
-  else EidMult = 0; 
-  if (Master.checked) MasterMult = 2; 
-  else MasterMult = 0; 
-  if (SpecAll.checked) AllMult = 10; 
-  else AllMult = 0; 
-  CapMult = (Level*1 + RaceMult*1 + HoursMult*1 + OldMult*1 + EidMult*1 + MasterMult*1 + AllMult*1); 
-  output_CapMult.value = CapMult; 
-  output_Cap.value = (Wis * 5 + 30) * CapMult*1; 
- 
-  // Output 
-  output_Boom.value = Wis * 5 + 30; 
-   
-  // But clear the outputs if relevant inputs aren't done.   
-  if (input_Wis.value == "" 
-    { 
- output_Boom.value = ""; 
- output_Cap.value = ""; 
-    output_Hours.value = ""; 
-  } 
-  if (input_Level.value == "" 
-    { 
- output_Cap.value = ""; 
-  } 
-  if (input_Hours.value == "" 
- { 
- output_Cap.value = ""; 
- output_Hours.value = ""; 
- } 
-  } 
-} 
- 
-function ClearCap() { //Generate OOC` Date  // version 0.1_2010 
-  with (document.CapBoom) {   
-  input_Wis.value = ""; 
-  select_Race.value = "default"; 
-  input_Level.value = ""; 
-  input_Hours.value = ""; 
-  output_Boom.value = ""; 
-  output_Hours.value = ""; 
-  Old.checked = false; 
-  Eidetic.checked = false; 
-  Master.checked = false; 
-  output_Boom.value = ""; 
-  output_Cap.value = ""; 
-  output_CapMult.value = ""; 
-  } 
-} 
- 
-function HousePrice() { 
-  with (document.HouseCost) { 
-  NumRooms = input_NumRooms.value; 
-   
-  // Tackle the platinum first, to keep it simple 
-  if (NumRooms < 6) 
-    { 
- Price = 1000; 
- PriceTotal = NumRooms * 1000; 
- } 
-  else 
-    { 
- Price = 1000 * (NumRooms*1 - 4); 
-    NumTemp = NumRooms*1 - 4; 
- PriceTotal = 4000; 
- for (i=0;i<=NumTemp;i++) 
-   { 
-   PriceTotal = PriceTotal*1 + NumTemp * 1000; 
-   } 
- } 
-  
-  // RP Points required  
-  if (NumRooms < 4) RP = 0; 
-  else  
-    { 
- if (NumRooms < 5) RP = 3; 
- else  
-   { 
-   if (NumRooms < 6) RP = 6; 
-   else RP = (NumRooms*1 - 5) * 10; 
-   } 
- } 
-  
-  output_RP.value = RP; 
-  output_Price.value = Price; 
-  output_PriceTotal.value = PriceTotal; 
-  } 
-} 
-function AgeCalc() { 
-  with (document.AgeForm) { 
-  if (mchild.checked) output_age.value = 7 + input_hours.value/25; 
-  else output_age.value = 17 + input_hours.value/25; 
-  } 
-} 
-  
-function MaxHpMana() { //MaxHpMana  // version 0.5_20090527 
-  with (document.MaxHpMana_form) {   
-  // Input values from form 
-  var Level = input_Level.value; 
-  var HeroLevel = input_HeroLevel.value; 
-  var Con = input_Con.value; 
-  var Int = input_Int.value; 
-  var CurrentHp = input_CurrentHp.value; 
-  var CurrentMana = input_CurrentMana.value; 
-  var HpTrains = 0; 
-  var ManaTrains = 0; 
-  
-  // Establish base numbers that will be increased from race and advantages 
-  var HpBonus = 16; 
-  var ManaBonus = 24; 
-  if (tough.checked) HpBonus += 1 * 1; 
-  if (magic_apt.checked) ManaBonus += 1 * 1; 
-   
-//  HpBonus += parseInt((tough.checked)?tough.value:0); 
-//  ManaBonus += parseInt((magic_apt.checked)?magic_apt.value:0); 
-   
-  switch (select_Race.value) 
-    { 
- case "ent": 
-   HpBonus += 1; 
-   break; 
- case "dao": 
-   HpBonus += 2; 
-   break; 
- case "rebirth_ent": 
-   HpBonus += 3.5; 
-   ManaBonus += 1; 
-   break; 
- case "rebirth_sprite": 
-   HpBonus += 1; 
-   ManaBonus += 2; 
-   break; 
- case "rebirth": 
-   HpBonus += 1; 
-   ManaBonus += 1; 
-   break; 
- case "liche": 
-   ManaBonus += 7; 
-   break; 
- case "dragon": 
-   HpBonus += 2; 
-   break; 
- case "troll": 
-   HpBonus += 3; 
-   break; 
- } 
-   
-  // Calculate Max Hp. If Int/Con are odd, give Level/2 bonus 
-  var HpMult = (Math.floor(Con/2)*1 + HpBonus*1 ); 
-  if (Con%2)  
-    { 
- var MaxHp = Level*1 * HpMult *1 + Math.floor(Level/2)*1 + HeroLevel*200 + Con*HeroLevel; 
- } 
-  else var MaxHp = Level*1 * HpMult *1 + HeroLevel*200 + Con*HeroLevel; 
-  var ManaMult = (Math.floor(Int/2)*1 + ManaBonus*1); 
-  if (Int%2)  
-    { 
- var MaxMana = 200*1 + Level*1 * ManaMult + Math.floor(Level/2)*1 + HeroLevel*200 + Int*HeroLevel; 
- } 
-  else var MaxMana = 200*1 + Level*1 * ManaMult + HeroLevel*200 + Int*HeroLevel;  
- 
-  // Calculate Trains Needed 
-  if (CurrentHp != 0) var HpTrains = (MaxHp - CurrentHp) / 5; 
-  if (CurrentMana != 0) var ManaTrains = (MaxMana - CurrentMana) / 10; 
-   
-  // Output appropriate values 
-  if (input_Con.value == 0) 
-    { 
-    output_MaxHp.value = ""; 
-    output_HpTrains.value = ""; 
-    output_HpMult.value = ""; 
-    } 
-  else 
-    { 
-    output_MaxHp.value = MaxHp; 
-    output_HpTrains.value = Math.floor(HpTrains); 
-    output_HpMult.value = HpMult; 
-    } 
-   
-  if (input_Int.value == 0) 
-    { 
-    output_MaxMana.value = ""; 
-    output_ManaTrains.value = ""; 
-    output_ManaMult.value = ""; 
-    } 
-  else 
-    { 
-    output_MaxMana.value = MaxMana; 
-    output_ManaTrains.value = Math.floor(ManaTrains); 
-    output_ManaMult.value = ManaMult; 
-    } 
-  } 
-} 
-// Max Hits = Level * [(Base Con/2) + 15 + (1 for toughness) + (3 for troll) + (2 for dragons) + (1 for ents) + (1 for rebirth)] 
-// Max Mana = 200 + Level * [(Base Int/2) + 23 + (1 for magic apt) + (7.125 for liches) + (1 for rebirth)] 
-// Note: The "/2" part rounds down.  25/2 = 12, not 12.5.  It's just how it works. 
-// Note: 1 Train = Hp+5 or Mana+10 
-  
-  
-function CalcTime( form ) {  // Time Conversions   // version 2.3_20090616 
-  var TimeUnit = form.select_HoursMenu.value; 
-  switch (form.select_ICRLMenu.value)  
-    { 
-    case "RL": // RL to IC time 
-      var RLvalue = form.input_TimeValue.value; 
-      switch (form.select_HoursMenu.value)  
-     { 
-     case "minutes": 
-          RLmins = RLvalue; 
-          break; 
-        case "hours": 
-          RLmins = RLvalue * 60; 
-          break; 
-        case "days": 
-          RLmins = RLvalue * 60 * 24; 
-          break; 
-        case "weeks": 
-          RLmins = RLvalue * 60 * 24 * 7; 
-          break; 
- case "months": 
-   RLmins = "Invalid"; 
-   var TimeValue = "Invalid:  You cannot accurately input RL months."; 
-   break; 
- case "years": 
-   RLmins = RLvalue * 60 * 24 * 365; 
-   break; 
- } 
-   if (RLmins != "Invalid" 
-     { 
-     var TimeCont = 0;  // Continuation bit.  0 indicates this is the first date that fits. 
- var ICyears = Math.floor(RLmins/8760); 
-     var RLmins = RLmins - (ICyears * 8760); 
- var ICmonths = Math.floor(RLmins/840); 
-     var RLmins = RLmins - (ICmonths * 840); 
-     var ICweeks = Math.floor(RLmins/168); 
-     var RLmins = RLmins - (ICweeks * 168); 
-     var ICdays = Math.floor(RLmins/24); 
- var RLmins = RLmins - (ICdays*24); 
- var IChours = RLmins/2; 
- if (ICyears != 0) 
-   { 
-   var TimeCont = 1; 
-       var TimeValue = RLvalue + " RL "; 
-   var TimeValue = TimeValue + TimeUnit; 
-   var TimeValue = TimeValue + " in IC time is " + ICyears + " years"; 
-   } 
- if (ICmonths != 0) 
-   { 
-   var TimeCont = 1; 
-       var TimeValue = RLvalue + " RL "; 
-   var TimeValue = TimeValue + TimeUnit; 
-   var TimeValue = TimeValue + " in IC time is " + ICmonths + " months"; 
-   } 
-        if (ICweeks != 0) 
-   { 
-   if (TimeCont != 1) 
-     { 
- var TimeCont = 1; 
- var TimeValue = RLvalue + " RL "; 
-     var TimeValue = TimeValue + TimeUnit; 
-     var TimeValue = TimeValue + " in IC time is " + ICweeks + " weeks"; 
- } 
-   else 
- { 
- var TimeValue = TimeValue + ", " + ICweeks + " weeks"; 
- } 
-   } 
- if (ICdays != 0) 
-   { 
-   if (TimeCont != 1) 
-     { 
-     var TimeValue = RLvalue + " RL "; 
-         var TimeValue = TimeValue + TimeUnit; 
-         var TimeValue = TimeValue + " in IC time is " + ICdays + " days"; 
- var TimeCont = 1; 
- } 
-   else 
-     { 
- var TimeValue = TimeValue + ", " + ICdays + " days"; 
- } 
-       } 
- if (IChours != 0) 
-   { 
-   if (TimeCont != 1) 
-     { 
-     var TimeValue = RLvalue + " RL "; 
-     var TimeValue = TimeValue + TimeUnit; 
-     var TimeValue = TimeValue + " in IC time is " + IChours + " hours"; 
-     } 
-   else 
-     { 
-     var TimeValue = TimeValue + ", " + IChours + " hours"; 
-     } 
-   } 
- var TimeValue = TimeValue + "." 
- } 
-   break; 
-    
- case "IC": // IC to RL time 
-      var ICvalue = form.input_TimeValue.value; 
-      switch (form.select_HoursMenu.value)  
-     { 
- case "minutes": 
-   IChours = ICvalue / 60; 
-   break; 
-     case "hours": 
-          IChours = ICvalue; 
-          break; 
-        case "days": 
-          IChours = ICvalue * 24; 
-          break; 
-        case "weeks": 
-          IChours = ICvalue * 24 * 7; 
-          break; 
- case "months": 
-   IChours = ICvalue * 24 * 7 * 5; 
-   break; 
- case "years": 
-   IChours = ICvalue * 24 * 7 * 5 * 17; 
-   break; 
- } 
-   if (IChours != "Invalid" 
-     { 
- var TimeCont = 0; 
-     var RLyears = Math.floor(IChours/262080); 
-     var IChours = IChours * 1 - (RLyears * 262080); 
-     var RLweeks = Math.floor(IChours/5040); 
-     var IChours = IChours * 1 - (RLweeks * 5040); 
-     var RLdays = Math.floor(IChours/720); 
-     var IChours = IChours * 1  - (RLdays * 720); 
-     var RLhours = Math.floor(IChours/30); 
- var IChours = IChours * 1 - (RLhours * 30); 
- var RLmins = IChours * 2; 
- // #math RLweeks @IChours/5040;#math IChours @IChours-(@RLweeks*5040);#math RLdays @IChours/720;#math IChours @IChours-(@RLdays*720);#math RLhours @IChours/30;#math IChours @IChours-(@RLhours*30) 
- if (RLyears != 0) 
-   { 
-    var TimeCont = 1; 
-       var TimeValue = ICvalue + " IC "; 
-          var TimeValue = TimeValue + TimeUnit; 
-   var TimeValue = TimeValue + " in RL time is " + RLyears + " years"; 
-   } 
- if (RLweeks != 0) 
-   { 
-    var TimeCont = 1; 
-       var TimeValue = ICvalue + " IC "; 
-          var TimeValue = TimeValue + TimeUnit; 
-   var TimeValue = TimeValue + " in RL time is " + RLweeks + " weeks"; 
-   } 
- if (RLdays != 0) 
-   { 
-   if (TimeCont != 1) 
-     { 
- var TimeCont = 1; 
-     var TimeValue = ICvalue + " IC "; 
-            var TimeValue = TimeValue + TimeUnit; 
-     var TimeValue = TimeValue + " in RL time is " + RLdays + " days"; 
-     } 
-   else 
-     { 
- var TimeValue = TimeValue + ", " + RLdays + " days"; 
- } 
-   } 
- if (RLhours != 0) 
-   { 
-   if (TimeCont != 1) 
-     { 
- var TimeCont = 1; 
-     var TimeValue = ICvalue + " IC "; 
-            var TimeValue = TimeValue + TimeUnit;  
-            var TimeValue = TimeValue + " in RL time is " + RLhours + " hours"; 
-     } 
-   else 
-     { 
- var TimeValue = TimeValue + ", " + RLhours + " hours"; 
- } 
-   } 
- if (RLmins != 0) 
-   { 
-   if (TimeCont != 1) 
-     { 
-     var TimeCont = 1; 
-     var TimeValue = ICvalue + " IC "; 
-            var TimeValue = TimeValue + TimeUnit;  
-            var TimeValue = TimeValue + " in RL time is " + RLmins + " minutes"; 
-     } 
-   else 
-     { 
-     var TimeValue = TimeValue + ", " + RLmins + " minutes"; 
-     } 
-   } 
- var TimeValue = TimeValue + "."; 
-     } 
-   break; 
- } 
- return TimeValue; 
-  } 
-  
-function AdvTrains( form ) { //Advantages  // version 1_20090428 
-  var AdvExp = form.input_AdvExp.value; 
-  var AdvDiff = form.input_AdvDiff.value; 
-  if (AdvDiff < -1000) { 
-    var AdvDiff = -1000; 
-  } 
-  var AdvTrains = 1 + ((AdvExp * 1 - AdvDiff * 1 - 1000) / 4500); 
-  if (AdvTrains > 3) { 
-    var AdvTrains = 3; 
-  } 
-  return AdvTrains; 
-} 
-  
-function TeachMax( form ) { // version 2_20090428 
-  var TeachSkill = 0; 
-  var TeachLevel = 0; 
-  var TeachMax = 0; 
-  var TeachSkill = form.input_TeachSkill.value; 
-  var TeachLevel = form.input_TeachLevel.value; 
-  var TeachMax = TeachLevel * TeachSkill / 100; 
-  var TeachMax = Math.floor(TeachMax); 
-  return TeachMax; 
-} 
-  
-function TeachLevel( form ) { // version 2_20090428 
-  var TeachSkill = 0; 
-  var TeachLevel = 0; 
-  var TeachMax = 0; 
-  var TeachSkill = form.input_TeachSkill.value; 
-  var TeachMax = form.input_TeachMax.value; 
-  var TeachSkill = TeachMax / TeachSkill * 100; 
-  var TeachSkill = Math.floor(TeachSkill); 
-  return TeachSkill; 
-} 
-  
-function UnitCombiner( form ) { // Combining two materials 
-  var Mat1u = form.input_Mat1u.value; 
-  var Mat2u = form.input_Mat2u.value; 
-  MatRu = Mat1u * 1 + Mat2u * 1; 
-  return MatRu; 
-} 
-   
-function QualCombiner( form ) { 
-  var Mat1p = form.input_Mat1p.value; 
-  var Mat2p = form.input_Mat2p.value; 
-  var Mat1u = form.input_Mat1u.value; 
-  var Mat2u = form.input_Mat2u.value; 
-  MatRp = ((Mat1u * Mat1p) + (Mat2u * Mat2p) * 1)/(Mat1u * 1 + Mat2u * 1) 
-  var MatRp = Math.floor(MatRp); 
-  return MatRp; 
-}   
-   
-   
-// end hiding -->  
-</script><!-- BEGIN WAYBACK TOOLBAR INSERT --> 
-<script>__wm.rw(0);</script> 
-<script type="text/javascript">//<![CDATA[ 
-__wm.bt(700,27,25,2,"web","http://thurston.lensmooraddicts.net/html/formulas_javascript.html","20121009234001",1996,"/_static/",["/_static/css/banner-styles.css?v=S1zqJCYt","/_static/css/iconochive.css?v=qtvMKcIJ"], false); 
-  __wm.rw(1); 
-//]]></script> 
-<!-- END WAYBACK TOOLBAR INSERT --> 
-   
-  
- 
- 
-  
-  
-<center><h1>Lensmoor Formulas with Javascript</h1></center>  
-</p><hr><p><a name="MaxHpMana"></a></p><h3><a name="MaxHpMana">Max Hitpoints and Mana (updated)</a></h3> 
-<p></p><form name="MaxHpMana_form" action="https://web.archive.org/web/20121009234001/http://thurston.lensmooraddicts.net/html/formulas_javascript.html" method="post"><div style="text-align: center;">  
-</div><table border="1"><tbody><tr align="center"><td style="text-align: right;"></td><td></td><td></td><td>Hp</td><td>Mana</td></tr>  
-<tr align="right"><td style="text-align: right;">Level <input size="2" name="input_Level" onchange="MaxHpMana()" type="text"></td><td>  
-<select name="select_Race" onchange="MaxHpMana()"><option value="other">Other Race</option><option value="dao">Dao</option><option value="ent">Ent</option><option value="rebirth_ent">Rebirth Ent</option><option value="rebirth">Rebirth</option><option value="rebirth_sprite">Rebirth Sprite</option><option value="liche">Liche</option><option value="troll">Troll</option><option value="dragon">Dragon</option></select></td><td>Max</td><td><input size="4" name="output_MaxHp" readonly="readonly" type="text"></td><td><input size="4" name="output_MaxMana" readonly="readonly" type="text"></td></tr>  
-<tr align="right"><td style="text-align: right;">Hero Level <input size="2" name="input_HeroLevel" onchange="MaxHpMana()" type="text"></td><td>Toughness <input name="tough" value="tough" onclick="MaxHpMana()" type="checkbox"></td><td>Current</td><td><input size="4" name="input_CurrentHp" onchange="MaxHpMana()" type="text"></td><td><input size="4" name="input_CurrentMana" onchange="MaxHpMana()" type="text"></td></tr>  
-<tr align="right"><td style="text-align: right;">Base Con <input size="2" name="input_Con" onchange="MaxHpMana()" type="text"></td><td>Magic Aptitude <input name="magic_apt" value="magic_apt" onclick="MaxHpMana()" type="checkbox"></td><td>Trains to max</td><td><input size="4" name="output_HpTrains" readonly="readonly" type="text"></td><td><input size="4" name="output_ManaTrains" readonly="readonly" type="text"></td></tr> 
-<tr align="right"><td>Base Int <input size="2" name="input_Int" onchange="MaxHpMana()" type="text"></td><td>Mana = 200+Lvl*</td><td align="left"><input size="2" name="output_ManaMult" readonly="readonly" type="text"></td><td>Hp = Lvl*</td><td align="left"><input size="2" name="output_HpMult" readonly="readonly" type="text"></td> 
-</tr></tbody></table>  <b>Note:</b> If Int or Con are odd, add Level/2 to your Mana or Hp to end up with true max values (rounding down). 
-<br>Arawn has changed the formula for max hp/mana recently. If your 
-values differ from these, please let me know your real values, along 
-with anything that you may have checked off on these boxes. 
-</form><p></p>  
-  
-<hr><p><a name="Teaching"></a></p><h3><a name="Teaching">Teaching Formula</a></h3>  
-<p></p><form name="TeachForm" action="https://web.archive.org/web/20121009234001/http://thurston.lensmooraddicts.net/html/formulas_javascript.html" method="post">  
-  Teach Skill  
-  <input size="2" name="input_TeachSkill" value="75" onchange="document.TeachForm.input_TeachLevel.value=TeachLevel(document.TeachForm);" type="text">%, 
-  Teacher's Skill Level <input size="2" name="input_TeachLevel" value="67" onchange="document.TeachForm.input_TeachMax.value=TeachMax(document.TeachForm);" type="text">%,  
-  Max Teachable Level 
-  <input size="2" name="input_TeachMax" value="50" onchange="document.TeachForm.input_TeachLevel.value=TeachLevel(document.TeachForm);" type="text">%<br>  
-</form><p></p>  
-  
-  
-<hr><p><a name="TimeCalc"></a></p><h3><a name="TimeCalc">Time Converter</a></h3>  
-<p></p><form name="TimeCalc" action="https://web.archive.org/web/20121009234001/http://thurston.lensmooraddicts.net/html/formulas_javascript.html" method="post">  
-  <select name="select_ICRLMenu" onchange="document.TimeCalc.output_TimeValue.value=CalcTime(document.TimeCalc);"><option value="RL">RL to IC</option><option value="IC">IC to RL</option></select>  
-  <input size="5" name="input_TimeValue" onchange="document.TimeCalc.output_TimeValue.value=CalcTime(document.TimeCalc);" type="text">  
-  <select name="select_HoursMenu" onchange="document.TimeCalc.output_TimeValue.value=CalcTime(document.TimeCalc);"><option value="minutes">minutes</option><option value="hours">hours</option><option value="days">days</option><option value="weeks">weeks</option><option value="months">months</option><option value="years">years</option></select>  
-  <input size="65" name="output_TimeValue" readonly="readonly" type="text">  
-</form><p></p>  
- 
-<hr><p><a name="SkillCap"></a></p><h3><a name="SkillCap">Skill Cap Calculator</a></h3> 
-<p></p><form name="CapBoom" action="https://web.archive.org/web/20121009234001/http://thurston.lensmooraddicts.net/html/formulas_javascript.html" method="post">Base Wisdom <input size="2" name="input_Wis" onchange="CBoom()" type="text"> Level <input size="2" name="input_Level" onchange="CBoom()" type="text"> Hours <input size="6" name="input_Hours" onchange="CBoom()" type="text">  
-<select name="select_Race" onchange="CBoom()"><option value="default">other race</option><option value="alaemn">alaemn</option><option value="arachnaia">arachnaia</option><option value="cyclops">cyclops</option><option value="demon">demon</option><option value="dragon">dragon</option><option value="ent">ent</option><option value="gandor">gandor</option><option value="gnome">gnome</option><option value="haikjadeam">haikjadeam</option><option value="human">human</option><option value="liche">liche</option><option value="louryl">louryl</option><option value="quickling">quickling</option><option value="orc">orc</option><option value="selkie">selkie</option><option value="shapeshifter">shapeshifter</option><option value="sidhe">sidhe</option><option value="skulk">skulk</option><option value="tautha">tautha</option><option value="xorrto">xorrto</option></select> 
-Eidetic <input name="Eidetic" onchange="CBoom()" type="checkbox">  
-Old <input name="Old" onchange="CBoom()" type="checkbox">  
-Master <input name="Master" onchange="CBoom()" type="checkbox">  
-Spec All <input name="SpecAll" onchange="CBoom()" type="checkbox">  
-<br>Cap Boom <input size="2" name="output_Boom" readonly="readonly" type="text">* Cap Mult <input size="2" name="output_CapMult" readonly="readonly" type="text">= Skill Cap <input name="output_Cap" size="6" readonly="readonly" type="text">. Next Cap Boom at <input size="6" name="output_Hours" readonly="readonly" type="text"> hours.  <input value="Clear Values" onclick="ClearCap()" type="button"> 
- 
-<br><b>Master</b> is simply someone who has completed an apprenticeship.  
-<br><b>Spec all</b> is a wisdom spec. Remember to also increase base wisdom value by 2 if appropriate. 
- 
-</form> 
- 
-  
-<hr><p><a name="AdvCalc"></a></p><h3><a name="AdvCalc">Advantage Calculator</a></h3>  
-<p></p><form name="AdvCalc" action="https://web.archive.org/web/20121009234001/http://thurston.lensmooraddicts.net/html/formulas_javascript.html" method="post">  
-Exp/Level  
-<input size="4" name="input_AdvExp" value="10000" onchange="document.AdvCalc.input_AdvTrains.value=AdvTrains(document.AdvCalc);" type="text">,  
-Advantages - Disadvantages  
-<input size="4" name="input_AdvDiff" value="0" onchange="document.AdvCalc.input_AdvTrains.value=AdvTrains(document.AdvCalc);" type="text">,  
-Trains/level 
-<input size="4" name="input_AdvTrains" value="3" readonly="readonly" type="text">  
- 
-  
-<hr><p><a name="Material"></a></p><h3><a name="Material">Material Combiner</a></h3>  
-<p></p><form name="MatCombine" action="https://web.archive.org/web/20121009234001/http://thurston.lensmooraddicts.net/html/formulas_javascript.html" method="post">  
-<table border="0">  
-<tbody><tr align="center"><th>Combining</th><th>Material 1</th><th>&amp; Material 2</th><th>= Result</th></tr>  
-<tr align="center"><th>Units</th><td><input size="2" name="input_Mat1u" onchange="document.MatCombine.output_MatRu.value = UnitCombiner(document.MatCombine);" type="text"></td>  
-<td><input size="2" name="input_Mat2u" onchange="document.MatCombine.output_MatRu.value = UnitCombiner(document.MatCombine);" type="text"></td>  
-<td><input size="2" name="output_MatRu" readonly="readonly" type="text"></td></tr>  
-<tr align="center"><th>Quality</th><td><input size="2" name="input_Mat1p" onchange="document.MatCombine.output_MatRp.value = QualCombiner(document.MatCombine);" type="text"></td>  
-<td><input size="2" name="input_Mat2p" onchange="document.MatCombine.output_MatRp.value = QualCombiner(document.MatCombine);" type="text"></td>  
-<td><input size="2" name="output_MatRp" readonly="readonly" type="text"></td></tr></tbody></table>  
-</form><p></p>  
-  
-<hr><p><a name="HousePrices"></a></p><h3><a name="HousePrices">House Prices</a></h3>  
-<p></p><p></p><form name="HouseCost" action="https://web.archive.org/web/20121009234001/http://thurston.lensmooraddicts.net/html/formulas_javascript.html" method="post">  
-Number of Rooms <input size="1" name="input_NumRooms" value="0" onchange="HousePrice()" type="text">  
-Plat for this room <input size="3" name="output_Price" readonly="readonly" type="text">  
-Total Plat <input size="3" name="output_PriceTotal" readonly="readonly" type="text">  
-RP Needed <input size="2" name="output_RP" readonly="readonly" type="text">  
-</form><p></p>  
- 
-</body></html> 
formula.1683260366.txt.gz · Last modified: 2023/05/05 00:19 by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki