-
Notifications
You must be signed in to change notification settings - Fork 0
/
mmcalc.html
126 lines (110 loc) · 5.35 KB
/
mmcalc.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Moon Mage Calculator</title>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-37980747-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<script language="JavaScript" src="calc.js" type="text/JavaScript"></script>
<script language="JavaScript" type="text/JavaScript">
function setupData() {
data = new Array();
data[0] = new Array("Primary Magic", 4, 4, 5, 6, 7, 18);
data[1] = new Array("Secondary Magic", 4, 4, 4, 5, 6, 15);
data[2] = new Array("Tertiary Magic", 3, 4, 4, 5, 5, 13);
data[3] = new Array("4th Magic", 2, 3, 4, 5, 5, 13);
data[4] = new Array("5th Magic", 0, 3, 3, 4, 5, 13);
data[5] = new Array("6th Magic", 0, 3, 3, 4, 5, 13);
data[6] = new Array("7th Magic", 0, 0, 3, 3, 4, 10);
data[7] = new Array("Astrology", 3, 4, 4, 5, 6, 15);
data[8] = new Array("Primary Survival", 2, 3, 3, 4, 5, 13);
data[9] = new Array("Secondary Survival", 2, 3, 3, 4, 4, 10);
data[10] = new Array("Tertiary Survival", 2, 2, 3, 3, 4, 10);
data[11] = new Array("4th Survival", 2, 2, 2, 3, 3, 8);
data[12] = new Array("5th Survival", 0, 2, 2, 3, 3, 8);
data[13] = new Array("Primary Lore", 2, 3, 3, 4, 5, 13);
data[14] = new Array("Secondary Lore", 2, 2, 3, 3, 4, 10);
data[15] = new Array("Tertiary Lore", 1, 2, 2, 3, 3, 8);
data[16] = new Array("Scholarship", 3, 3, 3, 4, 4, 10);
dataSpan = new Array( 0, 10, 30, 70, 100, 150);
preCalcData = new Array();
for (i = 0; i < data.length; i++) {
preCalcData[i] = new Array();
for (j = 0; j < dataSpan.length; j++) {
if (j == 0)
preCalcData[i][j] = 0;
else
preCalcData[i][j] = preCalcData[i][j - 1] + data[i][j] * (dataSpan[j] - dataSpan[j - 1]);
}
}
armorNames = new Array("Light Armor", "Chain Armor", "Brigandine", "Plate Armor", "Shield Usage");
loreNames = new Array("Outfitting", "Enchanting", "Forging", "Enchanting", "Engineering",
"Alchemy", "Appraisal", "Performance", "Tactics", "Mechanical Lore");
weaponNames = new Array("Small Edged", "Heavy Edged", "Twohanded Edged", "Small Blunt", "Large Blunt",
"Twohanded Blunt", "Sling", "Crossbow", "Bow", "Staves", "Large Edged",
"Polearms", "Light Thrown", "Heavy Thrown", "Brawling");
survivalNames = new Array("Evasion", "Athletics", "Perception", "Stealth", "Locksmithing", "First Aid",
"Outdoorsmanship", "Skinning");
magicNames = new Array("Attunement", "Arcana", "Targeted Magic",
"Utility", "Sorcery", "Elementalism", "Augmentation", "Debilitation", "Warding",
"Inner Fire", "Summoning", "Theurgy");
}
</script>
<link rel="stylesheet" type="text/css" href="styles/common.css" />
<link rel="stylesheet" type="text/css" href="styles/calculator.css" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<div id="header">
<div id="calcmenu">Calculators:
<a href="barbcalc.html">Barbarians</a> |
<a href="bardcalc.html">Bards</a> |
<a href="clericcalc.html">Clerics</a> |
<a href="empcalc.html">Empaths</a> |
<a href="necrocalc.html">Necromancers</a> |
<a href="mmcalc.html">Moon Mages</a> |
<a href="paladincalc.html">Paladins</a> |
<a href="rangercalc.html">Rangers</a> |
<a href="thiefcalc.html">Thieves</a> |
<a href="tradercalc.html">Traders</a> |
<a href="wmcalc.html">War Mages</a>
</div>
</div>
<div id="maincontent">
<script language="JavaScript" type="text/JavaScript">setupData();</script>
<h1>Moon Mage Calculator</h1>
<h2>Now with new Moon Mage reqs! (Last Update 2013)</h2>
Enter range of circles:<br />
<input onkeyup="drawTable(this.value, document.getElementById('circle2').value);" title="Circle to display from" size="5" value="2" name="circle1" id="circle1" />
-
<input onkeyup="drawTable(document.getElementById('circle1').value, this.value);" title="Circle to display to" size="5" value="11" name="circle2" id="circle2" />
<br /><br />
<span id="tableArea"></span>
<script language="JavaScript" type="text/JavaScript">drawTable(2,11);</script>
</div>
<div id="maincontent2">Select a skill and type in the amount you have:<br />
<select onchange="clearForm();" name="list">
<script language="JavaScript" type="text/JavaScript">populateList()</script>
</select>
<input onkeyup="calcCircle(this.value);" title="Your ranks in the skill" size="5" name="ranks" />
<br />
<span id="rankArea"></span><br />
</div>
<div id="maincontent3">Cut and paste EXP ALL here:<br />
<textarea onkeyup="calcExp(this.value);" title="paste exp here" rows="20" cols="100"></textarea><br />
<span id="expArea"></span>
</div>
<div id="simusponsor">
<br />
Brought to you by <a href="http://www.terkowitz.com/index.html">www.terkowitz.com</a>.<br />
</div>
<br />
</body>
</html>