');
}
if (document.myform.charform.value > 0)
{
while (parseInt(OIAS/5) != parseFloat(OIAS/5)) { OIAS--; }
while (breakpoints.length > 0) { breakpoints.length = breakpoints.length - 1; }
while (breakpoints2.length > 0) { breakpoints2.length = breakpoints2.length - 1; }
if ((document.myform.waffe.value == 0) || ((document.myform.zweitwaffe.value > 0) && (document.myform.skill.value == 0)))
{
if ((document.myform.skill.value == 0) && (document.myform.zweitwaffe.value > 0)) { alert("There‘s a problem regarding the standard attack while using two weapons in wereform, so that speed won‘t be calculated here."); }
if (document.myform.waffe.value == 0) { alert("Please choose a weapon to use."); }
}
else
{
frames = waffengattung[waffen[document.myform.waffe.value][2]][document.myform.char.value][0];
if (waffen[document.myform.waffe.value][2] == 3) { frames = waffengattung[2][document.myform.char.value][0]; }
var AnimSpeed = 256;
if (waffen[document.myform.waffe.value][2] == 1) { AnimSpeed = 208; }
for (i=0; i <= 24; i++)
{
for (j=0; j <= 14; j++)
{
if (document.myform.skill.value == 26)
{
breakpoints[breakpoints.length] = Math.ceil(256*7/Math.floor(Math.floor(256*9/Math.floor(256*frames/Math.floor((100 + 5*i - WSMprimaer)*256/100)))*Math.min(Math.max(100-WSMprimaer+SIAS+Math.floor(120*(5*i+5*j)/(120+(5*i+5*j))),15),175)/100)) + Math.ceil((256*13 - Math.floor(Math.floor(256*9/Math.floor(256*frames/Math.floor((100 + 5*i - WSMprimaer)*256/100)))*Math.min(Math.max(100-WSMprimaer+SIAS+Math.floor(120*(5*i+5*j)/(120+(5*i+5*j))),15),175)/100)*Math.ceil(256*7/Math.floor(Math.floor(256*9/Math.floor(256*frames/Math.floor((100 + 5*i - WSMprimaer)*256/100)))*Math.min(Math.max(100-WSMprimaer+SIAS+Math.floor(120*(5*i+5*j)/(120+(5*i+5*j))),15),175)/100)))/(2*Math.floor(Math.floor(256*9/Math.floor(256*frames/Math.floor((100 + 5*i - WSMprimaer)*256/100)))*Math.min(Math.max(100-WSMprimaer+SIAS+Math.floor(120*(5*i+5*j)/(120+(5*i+5*j))),15),175)/100))) - 1;
if ((OIAS > 70) && (j == 0)) { breakpoints2[breakpoints2.length] = Math.ceil(256*7/Math.floor(Math.floor(256*9/Math.floor(256*frames/Math.floor((100 + 5*i - WSMprimaer)*256/100)))*Math.min(Math.max(100-WSMprimaer+SIAS+Math.floor(120*(5*i+parseInt(OIAS))/(120+(5*i+parseInt(OIAS)))),15),175)/100)) + Math.ceil((256*13 - Math.floor(Math.floor(256*9/Math.floor(256*frames/Math.floor((100 + 5*i - WSMprimaer)*256/100)))*Math.min(Math.max(100-WSMprimaer+SIAS+Math.floor(120*(5*i+parseInt(OIAS))/(120+(5*i+parseInt(OIAS)))),15),175)/100)*Math.ceil(256*7/Math.floor(Math.floor(256*9/Math.floor(256*frames/Math.floor((100 + 5*i - WSMprimaer)*256/100)))*Math.min(Math.max(100-WSMprimaer+SIAS+Math.floor(120*(5*i+parseInt(OIAS))/(120+(5*i+parseInt(OIAS)))),15),175)/100)))/(2*Math.floor(Math.floor(256*9/Math.floor(256*frames/Math.floor((100 + 5*i - WSMprimaer)*256/100)))*Math.min(Math.max(100-WSMprimaer+SIAS+Math.floor(120*(5*i+parseInt(OIAS))/(120+(5*i+parseInt(OIAS)))),15),175)/100))) - 1; }
}
if (document.myform.skill.value == 29)
{
temp = (Math.ceil(256*7/Math.floor(Math.floor(256*9/Math.floor(256*frames/Math.floor((100 + 5*i - WSMprimaer)*256/100)))*Math.min(Math.max(100-WSMprimaer+SIAS+Math.floor(120*(5*i+5*j)/(120+(5*i+5*j))),15),175)/100))*4 + Math.ceil(256*13/Math.floor(Math.floor(256*9/Math.floor(256*frames/Math.floor((100 + 5*i - WSMprimaer)*256/100)))*Math.min(Math.max(100-WSMprimaer+SIAS+Math.floor(120*(5*i+5*j)/(120+(5*i+5*j))),15),175)/100)) - 1)/5;
if (parseInt(temp) == parseFloat(temp)) { temp = temp + ".0"; }
breakpoints[breakpoints.length] = temp;
if ((OIAS > 70) && (j == 0))
{
temp = (Math.ceil(256*7/Math.floor(Math.floor(256*9/Math.floor(256*frames/Math.floor((100 + 5*i - WSMprimaer)*256/100)))*Math.min(Math.max(100-WSMprimaer+SIAS+Math.floor(120*(5*i+parseInt(OIAS))/(120+(5*i+parseInt(OIAS)))),15),175)/100))*4 + Math.ceil(256*13/Math.floor(Math.floor(256*9/Math.floor(256*frames/Math.floor((100 + 5*i - WSMprimaer)*256/100)))*Math.min(Math.max(100-WSMprimaer+SIAS+Math.floor(120*(5*i+parseInt(OIAS))/(120+(5*i+parseInt(OIAS)))),15),175)/100)) - 1)/5;
if (parseInt(temp) == parseFloat(temp)) { temp = temp + ".0"; }
breakpoints2[breakpoints2.length] = temp;
}
}
if ((document.myform.skill.value != 26) && (document.myform.skill.value != 29))
{
var tempframe = 12;
var tempframe2 = 10;
if (document.myform.charform.value == 2)
{
tempframe = 13;
tempframe2 = 9;
}
if (fertigkeiten[document.myform.skill.value][2] == 6) { tempframe = 10; }
breakpoints[breakpoints.length] = Math.ceil(256*tempframe/Math.floor(Math.floor(256*tempframe2/Math.floor(256*frames/Math.floor((100 + 5*i - WSMprimaer)*AnimSpeed/100)))*Math.min(Math.max(100-WSMprimaer+SIAS+Math.floor(120*(5*i+5*j)/(120+(5*i+5*j))),15),175)/100)) - 1;
if ((OIAS > 70) && (j == 0)) { breakpoints2[breakpoints2.length] = Math.ceil(256*tempframe/Math.floor(Math.floor(256*tempframe2/Math.floor(256*frames/Math.floor((100 + 5*i - WSMprimaer)*AnimSpeed/100)))*Math.min(Math.max(100-WSMprimaer+SIAS+Math.floor(120*(5*i+parseInt(OIAS))/(120+(5*i+parseInt(OIAS)))),15),175)/100)) - 1; }
}
}
}
for (k=0; k <= 14; k++)
{
if ((parseInt(WIAS/5) != parseFloat(WIAS/5)) && (document.myform.skill.value == 26))
{
breakpoints[breakpoints.length] = Math.ceil(256*7/Math.floor(Math.floor(256*9/Math.floor(256*frames/Math.floor((100 + parseInt(WIAS) - WSMprimaer)*256/100)))*Math.min(Math.max(100-WSMprimaer+SIAS+Math.floor(120*(parseInt(WIAS)+5*k)/(120+(parseInt(WIAS)+5*k))),15),175)/100)) + Math.ceil((256*13 - Math.floor(Math.floor(256*9/Math.floor(256*frames/Math.floor((100 + parseInt(WIAS) - WSMprimaer)*256/100)))*Math.min(Math.max(100-WSMprimaer+SIAS+Math.floor(120*(parseInt(WIAS)+5*k)/(120+(parseInt(WIAS)+5*k))),15),175)/100)*Math.ceil(256*7/Math.floor(Math.floor(256*9/Math.floor(256*frames/Math.floor((100 + parseInt(WIAS) - WSMprimaer)*256/100)))*Math.min(Math.max(100-WSMprimaer+SIAS+Math.floor(120*(parseInt(WIAS)+5*k)/(120+(parseInt(WIAS)+5*k))),15),175)/100)))/(2*Math.floor(Math.floor(256*9/Math.floor(256*frames/Math.floor((100 + parseInt(WIAS) - WSMprimaer)*256/100)))*Math.min(Math.max(100-WSMprimaer+SIAS+Math.floor(120*(parseInt(WIAS)+5*k)/(120+(parseInt(WIAS)+5*k))),15),175)/100))) - 1;
}
if ((parseInt(WIAS/5) != parseFloat(WIAS/5)) && (document.myform.skill.value == 29))
{
temp = (Math.ceil(256*7/Math.floor(Math.floor(256*9/Math.floor(256*frames/Math.floor((100 + parseInt(WIAS) - WSMprimaer)*256/100)))*Math.min(100-WSMprimaer+SIAS+Math.floor(120*(parseInt(WIAS)+5*k)/(120+(parseInt(WIAS)+5*k))),175)/100))*4 + Math.ceil(256*13/Math.floor(Math.floor(256*9/Math.floor(256*frames/Math.floor((100 + parseInt(WIAS) - WSMprimaer)*256/100)))*Math.min(100-WSMprimaer+SIAS+Math.floor(120*(parseInt(WIAS)+5*k)/(120+(parseInt(WIAS)+5*k))),175)/100)) - 1)/5;
if (parseInt(temp) == parseFloat(temp)) { temp = temp + ".0"; }
breakpoints[breakpoints.length] = temp;
}
if ((parseInt(WIAS/5) != parseFloat(WIAS/5)) && (document.myform.skill.value != 26) && (document.myform.skill.value != 29))
{
breakpoints[breakpoints.length] = Math.ceil(256*tempframe/Math.floor(Math.floor(256*tempframe2/Math.floor(256*frames/Math.floor((100 + parseInt(WIAS) - WSMprimaer)*AnimSpeed/100)))*Math.min(Math.max(100-WSMprimaer+SIAS+Math.floor(120*(parseInt(WIAS)+5*k)/(120+(parseInt(WIAS)+5*k))),15),175)/100)) - 1;
}
}
TabFenster = window.open("","Tabelle","width=900,height=650,screenX=110,screenY=80,dependent=yes,scrollbars=yes")
SchreibeDaten();
TabFenster.document.write('
Your primary weapon’s WIAS is plotted vertically, your equipment’s IAS is plotted horizontally.
');
TabFenster.document.write('--- | ');
for (i=0; i <= 14; i++) { TabFenster.document.write('' + 5*i + ' | '); }
if (OIAS > 70) { TabFenster.document.write('' + OIAS + ' | '); }
TabFenster.document.write('
');
for (j=0; j <= 24; j++)
{
TabFenster.document.write('' + 5*j + ' | ');
for (i=15*j; i <= 15*(j+1)-1; i++)
{
if ((OIAS == (i-15*j)*5) && (WIAS == j*5)) { TabFenster.document.write('' + breakpoints[i] + ' | '); }
else
{
if ((OIAS == (i-15*j)*5) || (WIAS == j*5)) { TabFenster.document.write('' + breakpoints[i] + ' | '); }
else { TabFenster.document.write('' + breakpoints[i] + ' | '); }
}
}
if (OIAS > 70) { TabFenster.document.write('' + breakpoints2[j] + ' | '); }
if (j < 24) { TabFenster.document.write('
'); }
if ((parseInt(WIAS/5) != parseFloat(WIAS/5)) && (WIAS > j*5) && (WIAS < (j+1)*5))
{
TabFenster.document.write('' + WIAS + ' | ');
for (k=0; k <= 14; k++)
{
if (OIAS == k*5) { TabFenster.document.write('' + breakpoints[breakpoints.length-15+k] + ' | '); }
else { TabFenster.document.write('' + breakpoints[breakpoints.length-15+k] + ' | '); }
}
TabFenster.document.write('
');
}
}
TabFenster.document.write('
');
}
}
cap = 1;
}
function SchreibeDaten()
{
TabFenster.document.write('Calculator IAS-Tabelle
');
TabFenster.document.write('Data: |
Character: | ' + document.myform.char.options[document.myform.char.selectedIndex].text + ' |
');
if (document.myform.charform.value > 0) { TabFenster.document.write('Wereform: | ' + document.myform.charform.options[document.myform.charform.selectedIndex].text + ' |
'); }
TabFenster.document.write('Primary Weapon: | ' + document.myform.waffe.options[document.myform.waffe.selectedIndex].text + ' |
');
if (document.myform.zweitwaffe.value > 0) { TabFenster.document.write('Secondary Weapon: | ' + document.myform.zweitwaffe.options[document.myform.zweitwaffe.selectedIndex].text + ' |
'); }
TabFenster.document.write('Skill: | ' + document.myform.skill.options[document.myform.skill.selectedIndex].text + ' |
');
TabFenster.document.write('IAS: | ' + document.myform.IAS.options[document.myform.IAS.selectedIndex].text + ' |
');
if ((document.myform.waffe.value > 0) && (document.myform.zweitwaffe.value == 0)) { TabFenster.document.write('Weapon-IAS: | ' + document.myform.wIAS1.options[document.myform.wIAS1.selectedIndex].text + ' |
'); }
if ((document.myform.waffe.value > 0) && (document.myform.zweitwaffe.value > 0)) { TabFenster.document.write('Weapon-IAS: | ' + document.myform.wIAS1.options[document.myform.wIAS1.selectedIndex].text + ' / ' + document.myform.wIAS2.options[document.myform.wIAS2.selectedIndex].text + ' |
'); }
if (document.myform.fana.selectedIndex > 0) { TabFenster.document.write('Fanaticism: | Level ' + document.myform.fana.options[document.myform.fana.selectedIndex].text + ' |
'); }
if (document.myform.frenzy.selectedIndex > 0) { TabFenster.document.write('Frenzy: | Level ' + document.myform.frenzy.options[document.myform.frenzy.selectedIndex].text + ' |
'); }
if ((document.myform.charform.value == 2) && (document.myform.wolf.selectedIndex > 0)) { TabFenster.document.write('Werewolf: | Level ' + document.myform.wolf.options[document.myform.wolf.selectedIndex].text + ' |
'); }
if (document.myform.tempo.selectedIndex > 0) { TabFenster.document.write('Burst of Speed: | Level ' + document.myform.tempo.options[document.myform.tempo.selectedIndex].text + ' |
'); }
}
function wirbelwind(temp)
{
var temp;
var ergebnis = 4;
if (temp > 11) { ergebnis = 6; }
if (temp > 14) { ergebnis = 8; }
if (temp > 17) { ergebnis = 10; }
if (temp > 19) { ergebnis = 12; }
if (temp > 22) { ergebnis = 14; }
if (temp > 25) { ergebnis = 16; }
return ergebnis;
}
function berechneWSM()
{
if ((document.myform.char.value != 1) && (document.myform.char.value != 2)) { WSMprimaer = waffen[document.myform.waffe.value][1]; }
if (((document.myform.char.value == 1) || (document.myform.char.value == 2)) && (document.myform.zweitwaffe.selectedIndex == 0)) { WSMprimaer = waffen[document.myform.waffe.value][1]; }
if (((document.myform.char.value == 1) || (document.myform.char.value == 2)) && (document.myform.zweitwaffe.value > 0))
{
if (document.myform.primaerwaffe[0].checked == true)
{
WSMprimaer = parseInt((waffen[document.myform.waffe.value][1] + waffen[document.myform.zweitwaffe.value][1])/2);
WSMsekundaer = parseInt((waffen[document.myform.waffe.value][1] + waffen[document.myform.zweitwaffe.value][1])/2) + waffen[document.myform.zweitwaffe.value][1] - waffen[document.myform.waffe.value][1];
}
else
{
WSMprimaer = parseInt((waffen[document.myform.waffe.value][1] + waffen[document.myform.zweitwaffe.value][1])/2) + waffen[document.myform.waffe.value][1] - waffen[document.myform.zweitwaffe.value][1];
WSMsekundaer = parseInt((waffen[document.myform.waffe.value][1] + waffen[document.myform.zweitwaffe.value][1])/2);
}
}
}
function berechneEIAS()
{
if (document.myform.waffe.value == 0) { IASprimaer = parseInt(document.myform.IAS.value); }
if ((document.myform.waffe.value > 0) && (document.myform.zweitwaffe.value == 0)) { IASprimaer = parseInt(document.myform.IAS.value) + parseInt(document.myform.wIAS1.value); }
if (document.myform.zweitwaffe.value > 0)
{
IASprimaer = parseInt(document.myform.IAS.value) + parseInt(document.myform.wIAS1.value);
IASsekundaer = parseInt(document.myform.IAS.value) + parseInt(document.myform.wIAS2.value);
}
EIASprimaer = Math.floor(120*IASprimaer/(120+IASprimaer));
EIASsekundaer = Math.floor(120*IASsekundaer/(120+IASsekundaer));
}
function berechneSIAS()
{
var fana = parseInt(document.myform.fana.value);
var frenzy = parseInt(document.myform.frenzy.value);
var wolf = parseInt(document.myform.wolf.value);
var tempo = parseInt(document.myform.tempo.value);
var holyfrost = parseInt(document.myform.holyfrost.value);
if (document.myform.charform.value != 2) wolf = 0;
SIAS = fana + frenzy + wolf + tempo - holyfrost;
if (document.myform.skill.value == 16) { SIAS = SIAS + 50; }
if (document.myform.skill.value == 13) { SIAS = SIAS - 40; }
if (document.myform.altern.checked == true) { SIAS = SIAS - 50; }
if ((fertigkeiten[document.myform.skill.value][2] == 7) && (document.myform.char.value < 7)) { SIAS = SIAS - 30; }
}
// XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
function neuChar()
{
setzeCharform();
setzeWaffe();
setzeBarbschwert();
setzeZweitwaffe();
setzeSIAS();
setzeSkill();
setzeIAS();
waffenInfo();
berechneWerte();
}
function neuCharform()
{
setzeSkill();
berechneWerte();
}
function neuWaffe()
{
setzeBarbschwert();
setzeZweitwaffe();
setzeSkill();
waffenInfo();
berechneWerte();
}
function neuBarbschwert()
{
setzeZweitwaffe();
waffenInfo();
berechneWerte();
}
function neuZweitwaffe()
{
setzeSkill();
waffenInfo();
berechneWerte();
}
function setzeIASstufen()
{
IASabstufung();
berechneWerte();
}
// XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
function setzeCharform()
{
tempForm = document.myform.charform.value;
while (document.myform.charform.length > 0) document.myform.charform.options[0] = null;
if (document.myform.char.value < 7)
{
for (i=0; i < werform.length; i++)
{
neuElement = new Option(unescape(werform[i]),i);
document.myform.charform.options[document.myform.charform.length] = neuElement;
}
if ((document.myform.char.value != 2) && (document.myform.char.value != 3)) document.myform.charform.options[document.myform.charform.length - 1] = null;
}
else
{
neuElement = new Option(werform[0],0);
document.myform.charform.options[document.myform.charform.length] = neuElement;
}
for(i=0; i < document.myform.charform.length; i++) { if (document.myform.charform.options[i].value == tempForm) { document.myform.charform.selectedIndex = i; } }
}
function setzeWaffe()
{
tempWaffe = document.myform.waffe.value;
while (document.myform.waffe.length > 0) document.myform.waffe.options[0] = null;
for (i=0; i < waffen.length; i++)
{
if ((waffen[i][3] < 0) || (waffen[i][3] == document.myform.char.value))
{
if ((document.myform.char.value < 7) || ((document.myform.char.value == 7) && (waffen[i][2] == 7)) || ((document.myform.char.value == 8) && ((waffen[i][4] == 8) || (waffen[i][4] == 2))) || ((document.myform.char.value == 9) && (waffen[i][4] == 9)))
{
neuElement = new Option(unescape(waffen[i][0]),i);
document.myform.waffe.options[document.myform.waffe.length] = neuElement;
}
}
}
for(i=0; i < document.myform.waffe.length; i++) { if (document.myform.waffe.options[i].value == tempWaffe) { document.myform.waffe.selectedIndex = i; } }
}
function setzeBarbschwert()
{
tempBarbschwert = document.myform.barbschwert.value;
while (document.myform.barbschwert.length > 0) document.myform.barbschwert.options[0] = null;
if ((document.myform.char.value == 2) && (waffen[document.myform.waffe.value][2] == 3))
{
neuElement = new Option("two-handed",0);
document.myform.barbschwert.options[document.myform.barbschwert.length] = neuElement;
neuElement = new Option("single-handed",1);
document.myform.barbschwert.options[document.myform.barbschwert.length] = neuElement;
}
else
{
neuElement = new Option("-",-1);
document.myform.barbschwert.options[document.myform.barbschwert.length] = neuElement;
}
for(i=0; i < document.myform.barbschwert.length; i++) { if (document.myform.barbschwert.options[i].value == tempBarbschwert) { document.myform.barbschwert.selectedIndex = i; } }
}
function setzeZweitwaffe()
{
tempZweitwaffe = document.myform.zweitwaffe.value;
while (document.myform.zweitwaffe.length > 0) document.myform.zweitwaffe.options[0] = null;
switch (document.myform.char.value)
{
case "1":
if (waffen[document.myform.waffe.value][2] == 1)
{
for (i=0; i < waffen.length; i++)
{
if ((waffen[i][3] == 1) || (waffen[i][2] == 0))
{
neuElement = new Option(unescape(waffen[i][0]),i);
document.myform.zweitwaffe.options[document.myform.zweitwaffe.length] = neuElement;
}
}
}
else
{
neuElement = new Option("-","0");
document.myform.zweitwaffe.options[document.myform.zweitwaffe.length] = neuElement;
}
break;
case "2":
if (((waffen[document.myform.waffe.value][2] == 2) || (waffen[document.myform.waffe.value][2] == 4)) || ((waffen[document.myform.waffe.value][2] == 3) && (document.myform.barbschwert.value == 1)))
{
for (i=0; i < waffen.length; i++)
{
if ((waffen[i][2] == 0) || (waffen[i][2] == 3) || (((waffen[i][2] == 2) || (waffen[i][2] == 4)) && (waffen[i][3] == -1)))
{
neuElement = new Option(unescape(waffen[i][0]),i);
document.myform.zweitwaffe.options[document.myform.zweitwaffe.length] = neuElement;
}
}
}
else
{
neuElement = new Option("-","0");
document.myform.zweitwaffe.options[document.myform.zweitwaffe.length] = neuElement;
}
break;
default:
neuElement = new Option("-","0");
document.myform.zweitwaffe.options[document.myform.zweitwaffe.length] = neuElement;
break;
}
for(i=0; i < document.myform.zweitwaffe.length; i++) { if (document.myform.zweitwaffe.options[i].value == tempZweitwaffe) { document.myform.zweitwaffe.selectedIndex = i; } }
}
function waffenInfo()
{
document.myform.infoWaffe1.value = unescape(waffengattung[waffen[document.myform.waffe.value][2]][10]) + " [" + waffen[document.myform.waffe.value][1] + "]";
if (document.myform.zweitwaffe.value > 0) { document.myform.infoWaffe2.value = unescape(waffengattung[waffen[document.myform.zweitwaffe.value][2]][10]) + " [" + waffen[document.myform.zweitwaffe.value][1] + "]"; }
else { document.myform.infoWaffe2.value = ""; }
}
function setzeIAS()
{
if (statischIAS == true)
{
statischIAS = false;
while (document.myform.IAS.length > 0) document.myform.IAS.options[0] = null;
for (i=0; i <= 30*mIAS; i++)
{
if (mIAS == 1) { neuElement = new Option (5*i,5*i) };
if (mIAS == 5) { neuElement = new Option (i,i) };
document.myform.IAS.options[document.myform.IAS.length] = neuElement;
}
while (document.myform.wIAS1.length > 0) document.myform.wIAS1.options[0] = null;
for (i=0; i <= 24*mIAS; i++)
{
if (mIAS == 1) { neuElement = new Option (5*i,5*i) };
if (mIAS == 5) { neuElement = new Option (i,i) };
document.myform.wIAS1.options[document.myform.wIAS1.length] = neuElement;
}
while (document.myform.wIAS2.length > 0) document.myform.wIAS2.options[0] = null;
for (i=0; i <= 24*mIAS; i++)
{
if (mIAS == 1) { neuElement = new Option (5*i,5*i) };
if (mIAS == 5) { neuElement = new Option (i,i) };
document.myform.wIAS2.options[document.myform.wIAS2.length] = neuElement;
}
}
}
function setzeSkill()
{
if (navigator.appName == "Netscape") { setzeSkillOptgroup(); }
else { setzeSkillOption(); }
}
function setzeSkillOption()
{
while (document.myform.skill.length > 0) document.myform.skill.options[0] = null;
switch (document.myform.char.value)
{
case "0":
neuElement = new Option(fertigkeiten[0][0],fertigkeiten[0][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
if (document.myform.charform.value == 0)
{
if ((waffen[document.myform.waffe.value][4] == 2) || (waffen[document.myform.waffe.value][4] == 3))
{
neuElement = new Option(fertigkeiten[1][0],fertigkeiten[1][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
}
if (waffen[document.myform.waffe.value][4] == 1)
{
neuElement = new Option(fertigkeiten[4][0],fertigkeiten[4][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
}
if ((waffen[document.myform.waffe.value][4] == 2) || (waffen[document.myform.waffe.value][2] == 5))
{
neuElement = new Option(fertigkeiten[2][0],fertigkeiten[2][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
neuElement = new Option(fertigkeiten[3][0],fertigkeiten[3][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
neuElement = new Option(fertigkeiten[5][0],fertigkeiten[5][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
}
if (waffen[document.myform.waffe.value][5] == 1)
{
neuElement = new Option(fertigkeiten[24][0],fertigkeiten[24][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
}
}
break;
case "1":
neuElement = new Option(fertigkeiten[0][0],fertigkeiten[0][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
if (document.myform.charform.value == 0)
{
if ((waffen[document.myform.waffe.value][4] == 2) || (waffen[document.myform.waffe.value][4] == 3))
{
neuElement = new Option(fertigkeiten[1][0],fertigkeiten[1][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
}
neuElement = new Option(fertigkeiten[15][0],fertigkeiten[15][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
if (waffen[document.myform.waffe.value][4] != 1)
{
neuElement = new Option(fertigkeiten[6][0],fertigkeiten[6][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
neuElement = new Option(fertigkeiten[7][0],fertigkeiten[7][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
neuElement = new Option(fertigkeiten[8][0],fertigkeiten[8][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
}
if ((waffen[document.myform.waffe.value][2] == 1) || (waffen[document.myform.waffe.value][2] == 0))
{
neuElement = new Option(fertigkeiten[9][0],fertigkeiten[9][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
neuElement = new Option(fertigkeiten[10][0],fertigkeiten[10][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
neuElement = new Option(fertigkeiten[11][0],fertigkeiten[11][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
}
if ((waffen[document.myform.waffe.value][2] == 1) && (waffen[document.myform.zweitwaffe.value][2] == 1))
{
neuElement = new Option(fertigkeiten[12][0],fertigkeiten[12][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
}
neuElement = new Option(fertigkeiten[13][0],fertigkeiten[13][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
neuElement = new Option(fertigkeiten[14][0],fertigkeiten[14][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
if (waffen[document.myform.waffe.value][5] == 1)
{
neuElement = new Option(fertigkeiten[24][0],fertigkeiten[24][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
}
if (waffen[document.myform.waffe.value][2] == 1)
{
neuElement = new Option(fertigkeiten[19][0],fertigkeiten[19][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
}
}
break;
case "2":
neuElement = new Option(fertigkeiten[0][0],fertigkeiten[0][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
if (document.myform.charform.value == 0)
{
if ((waffen[document.myform.waffe.value][4] == 2) || (waffen[document.myform.waffe.value][4] == 3))
{
neuElement = new Option(fertigkeiten[1][0],fertigkeiten[1][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
}
if (document.myform.zweitwaffe.value > 0)
{
neuElement = new Option(fertigkeiten[16][0],fertigkeiten[16][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
neuElement = new Option(fertigkeiten[17][0],fertigkeiten[17][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
}
if (((waffen[document.myform.waffe.value][4] == 2) || (waffen[document.myform.waffe.value][4] == 3)) && ((waffen[document.myform.zweitwaffe.value][4] == 2) || (waffen[document.myform.zweitwaffe.value][4] == 3)))
{
neuElement = new Option(fertigkeiten[18][0],fertigkeiten[18][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
}
if (waffen[document.myform.waffe.value][4] != 1)
{
neuElement = new Option(fertigkeiten[19][0],fertigkeiten[19][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
neuElement = new Option(fertigkeiten[20][0],fertigkeiten[20][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
neuElement = new Option(fertigkeiten[21][0],fertigkeiten[21][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
neuElement = new Option(fertigkeiten[22][0],fertigkeiten[22][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
neuElement = new Option(fertigkeiten[23][0],fertigkeiten[23][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
}
if ((waffen[document.myform.waffe.value][5] == 1) || (waffen[document.myform.zweitwaffe.value][5] == 1))
{
neuElement = new Option(fertigkeiten[24][0],fertigkeiten[24][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
}
}
if (document.myform.charform.value == 2)
{
neuElement = new Option(fertigkeiten[26][0],fertigkeiten[26][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
}
break;
case "3":
neuElement = new Option(fertigkeiten[0][0],fertigkeiten[0][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
if (document.myform.charform.value == 0)
{
if ((waffen[document.myform.waffe.value][4] == 2) || (waffen[document.myform.waffe.value][4] == 3))
{
neuElement = new Option(fertigkeiten[1][0],fertigkeiten[1][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
}
if (waffen[document.myform.waffe.value][5] == 1)
{
neuElement = new Option(fertigkeiten[24][0],fertigkeiten[24][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
}
}
if (document.myform.charform.value == 1)
{
neuElement = new Option(fertigkeiten[27][0],fertigkeiten[27][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
}
if (document.myform.charform.value == 2)
{
neuElement = new Option(fertigkeiten[26][0],fertigkeiten[26][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
neuElement = new Option(fertigkeiten[27][0],fertigkeiten[27][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
neuElement = new Option(fertigkeiten[28][0],fertigkeiten[28][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
neuElement = new Option(fertigkeiten[29][0],fertigkeiten[29][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
}
break;
case "5":
neuElement = new Option(fertigkeiten[0][0],fertigkeiten[0][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
if (document.myform.charform.value == 0)
{
if ((waffen[document.myform.waffe.value][4] == 2) || (waffen[document.myform.waffe.value][4] == 3))
{
neuElement = new Option(fertigkeiten[1][0],fertigkeiten[1][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
}
if (waffen[document.myform.waffe.value][4] != 1)
{
neuElement = new Option(fertigkeiten[24][0],fertigkeiten[24][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
neuElement = new Option(fertigkeiten[30][0],fertigkeiten[30][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
neuElement = new Option(fertigkeiten[31][0],fertigkeiten[31][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
neuElement = new Option(fertigkeiten[32][0],fertigkeiten[32][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
}
if ((waffen[document.myform.waffe.value][2] == 0) || (waffen[document.myform.waffe.value][2] == 2) || (waffen[document.myform.waffe.value][2] == 4))
{
neuElement = new Option(fertigkeiten[25][0],fertigkeiten[25][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
}
}
break;
case "7":
neuElement = new Option(fertigkeiten[0][0],fertigkeiten[0][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
break;
case "8":
neuElement = new Option(fertigkeiten[3][0],fertigkeiten[3][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
neuElement = new Option(fertigkeiten[0][0],fertigkeiten[0][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
break;
case "9":
neuElement = new Option(fertigkeiten[0][0],fertigkeiten[0][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
neuElement = new Option(fertigkeiten[22][0],fertigkeiten[22][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
neuElement = new Option(fertigkeiten[23][0],fertigkeiten[23][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
break;
default:
neuElement = new Option(fertigkeiten[0][0],fertigkeiten[0][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
if (document.myform.charform.value == 0)
{
if ((waffen[document.myform.waffe.value][4] == 2) || (waffen[document.myform.waffe.value][4] == 3))
{
neuElement = new Option(fertigkeiten[1][0],fertigkeiten[1][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
}
if (waffen[document.myform.waffe.value][5] == 1)
{
neuElement = new Option(fertigkeiten[24][0],fertigkeiten[24][1]);
document.myform.skill.options[document.myform.skill.length] = neuElement;
}
}
break;
}
}
function setzeSkillOptgroup()
{
tempSkill = document.myform.skill.value;
while (document.getElementsByName("skill")[0].hasChildNodes()) document.getElementsByName("skill")[0].removeChild(document.getElementsByName("skill")[0].firstChild);
var optgroup1 = document.createElement("optgroup");
var optgroup2 = document.createElement("optgroup");
optgroup1.label = "native attacks";
optgroup2.label = "non-class skills";
switch (document.myform.char.value)
{
case "0":
neuElement = new Option(fertigkeiten[0][0],fertigkeiten[0][1]);
optgroup1.appendChild(neuElement);
if (document.myform.charform.value == 0)
{
if ((waffen[document.myform.waffe.value][4] == 2) || (waffen[document.myform.waffe.value][4] == 3))
{
neuElement = new Option(fertigkeiten[1][0],fertigkeiten[1][1]);
optgroup1.appendChild(neuElement);
}
if (waffen[document.myform.waffe.value][4] == 1)
{
neuElement = new Option(fertigkeiten[4][0],fertigkeiten[4][1]);
optgroup1.appendChild(neuElement);
}
if ((waffen[document.myform.waffe.value][4] == 2) || (waffen[document.myform.waffe.value][2] == 5))
{
neuElement = new Option(fertigkeiten[2][0],fertigkeiten[2][1]);
optgroup1.appendChild(neuElement);
neuElement = new Option(fertigkeiten[3][0],fertigkeiten[3][1]);
optgroup1.appendChild(neuElement);
neuElement = new Option(fertigkeiten[5][0],fertigkeiten[5][1]);
optgroup1.appendChild(neuElement);
}
document.myform.skill.appendChild(optgroup1);
if (waffen[document.myform.waffe.value][5] == 1)
{
neuElement = new Option(fertigkeiten[24][0],fertigkeiten[24][1]);
optgroup2.appendChild(neuElement);
document.myform.skill.appendChild(optgroup2);
}
}
if (document.myform.charform.value > 0) document.myform.skill.appendChild(optgroup1);
break;
case "1":
neuElement = new Option(fertigkeiten[0][0],fertigkeiten[0][1]);
optgroup1.appendChild(neuElement);
if (document.myform.charform.value == 0)
{
if ((waffen[document.myform.waffe.value][4] == 2) || (waffen[document.myform.waffe.value][4] == 3))
{
neuElement = new Option(fertigkeiten[1][0],fertigkeiten[1][1]);
optgroup1.appendChild(neuElement);
}
neuElement = new Option(fertigkeiten[15][0],fertigkeiten[15][1]);
optgroup1.appendChild(neuElement);
if (waffen[document.myform.waffe.value][4] != 1)
{
neuElement = new Option(fertigkeiten[6][0],fertigkeiten[6][1]);
optgroup1.appendChild(neuElement);
neuElement = new Option(fertigkeiten[7][0],fertigkeiten[7][1]);
optgroup1.appendChild(neuElement);
neuElement = new Option(fertigkeiten[8][0],fertigkeiten[8][1]);
optgroup1.appendChild(neuElement);
}
if ((waffen[document.myform.waffe.value][2] == 1) || (waffen[document.myform.waffe.value][2] == 0))
{
neuElement = new Option(fertigkeiten[9][0],fertigkeiten[9][1]);
optgroup1.appendChild(neuElement);
neuElement = new Option(fertigkeiten[10][0],fertigkeiten[10][1]);
optgroup1.appendChild(neuElement);
neuElement = new Option(fertigkeiten[11][0],fertigkeiten[11][1]);
optgroup1.appendChild(neuElement);
}
if ((waffen[document.myform.waffe.value][2] == 1) && (waffen[document.myform.zweitwaffe.value][2] == 1))
{
neuElement = new Option(fertigkeiten[12][0],fertigkeiten[12][1]);
optgroup1.appendChild(neuElement);
}
neuElement = new Option(fertigkeiten[13][0],fertigkeiten[13][1]);
optgroup1.appendChild(neuElement);
neuElement = new Option(fertigkeiten[14][0],fertigkeiten[14][1]);
optgroup1.appendChild(neuElement);
document.myform.skill.appendChild(optgroup1);
if (waffen[document.myform.waffe.value][5] == 1)
{
neuElement = new Option(fertigkeiten[24][0],fertigkeiten[24][1]);
optgroup2.appendChild(neuElement);
}
if (waffen[document.myform.waffe.value][2] == 1)
{
neuElement = new Option(fertigkeiten[19][0],fertigkeiten[19][1]);
optgroup2.appendChild(neuElement);
}
if ((waffen[document.myform.waffe.value][5] == 1) || (waffen[document.myform.waffe.value][2] == 1)) document.myform.skill.appendChild(optgroup2);
}
if (document.myform.charform.value > 0) document.myform.skill.appendChild(optgroup1);
break;
case "2":
neuElement = new Option(fertigkeiten[0][0],fertigkeiten[0][1]);
optgroup1.appendChild(neuElement);
if (document.myform.charform.value == 0)
{
if ((waffen[document.myform.waffe.value][4] == 2) || (waffen[document.myform.waffe.value][4] == 3))
{
neuElement = new Option(fertigkeiten[1][0],fertigkeiten[1][1]);
optgroup1.appendChild(neuElement);
}
if (document.myform.zweitwaffe.value > 0)
{
neuElement = new Option(fertigkeiten[16][0],fertigkeiten[16][1]);
optgroup1.appendChild(neuElement);
neuElement = new Option(fertigkeiten[17][0],fertigkeiten[17][1]);
optgroup1.appendChild(neuElement);
}
if (((waffen[document.myform.waffe.value][4] == 2) || (waffen[document.myform.waffe.value][4] == 3)) && ((waffen[document.myform.zweitwaffe.value][4] == 2) || (waffen[document.myform.zweitwaffe.value][4] == 3)))
{
neuElement = new Option(fertigkeiten[18][0],fertigkeiten[18][1]);
optgroup1.appendChild(neuElement);
}
if (waffen[document.myform.waffe.value][4] != 1)
{
neuElement = new Option(fertigkeiten[19][0],fertigkeiten[19][1]);
optgroup1.appendChild(neuElement);
neuElement = new Option(fertigkeiten[20][0],fertigkeiten[20][1]);
optgroup1.appendChild(neuElement);
neuElement = new Option(fertigkeiten[21][0],fertigkeiten[21][1]);
optgroup1.appendChild(neuElement);
neuElement = new Option(fertigkeiten[22][0],fertigkeiten[22][1]);
optgroup1.appendChild(neuElement);
neuElement = new Option(fertigkeiten[23][0],fertigkeiten[23][1]);
optgroup1.appendChild(neuElement);
}
document.myform.skill.appendChild(optgroup1);
if ((waffen[document.myform.waffe.value][5] == 1) || (waffen[document.myform.zweitwaffe.value][5] == 1))
{
neuElement = new Option(fertigkeiten[24][0],fertigkeiten[24][1]);
optgroup2.appendChild(neuElement);
document.myform.skill.appendChild(optgroup2);
}
}
if (document.myform.charform.value == 2)
{
neuElement = new Option(fertigkeiten[26][0],fertigkeiten[26][1]);
optgroup1.appendChild(neuElement);
}
if (document.myform.charform.value > 0) document.myform.skill.appendChild(optgroup1);
break;
case "3":
neuElement = new Option(fertigkeiten[0][0],fertigkeiten[0][1]);
optgroup1.appendChild(neuElement);
if (document.myform.charform.value == 0)
{
if ((waffen[document.myform.waffe.value][4] == 2) || (waffen[document.myform.waffe.value][4] == 3))
{
neuElement = new Option(fertigkeiten[1][0],fertigkeiten[1][1]);
optgroup1.appendChild(neuElement);
}
document.myform.skill.appendChild(optgroup1);
if (waffen[document.myform.waffe.value][5] == 1)
{
neuElement = new Option(fertigkeiten[24][0],fertigkeiten[24][1]);
optgroup2.appendChild(neuElement);
document.myform.skill.appendChild(optgroup2);
}
}
if (document.myform.charform.value == 1)
{
neuElement = new Option(fertigkeiten[27][0],fertigkeiten[27][1]);
optgroup1.appendChild(neuElement);
}
if (document.myform.charform.value == 2)
{
neuElement = new Option(fertigkeiten[26][0],fertigkeiten[26][1]);
optgroup1.appendChild(neuElement);
neuElement = new Option(fertigkeiten[27][0],fertigkeiten[27][1]);
optgroup1.appendChild(neuElement);
neuElement = new Option(fertigkeiten[28][0],fertigkeiten[28][1]);
optgroup1.appendChild(neuElement);
neuElement = new Option(fertigkeiten[29][0],fertigkeiten[29][1]);
optgroup1.appendChild(neuElement);
}
if (document.myform.charform.value > 0) document.myform.skill.appendChild(optgroup1);
break;
case "5":
neuElement = new Option(fertigkeiten[0][0],fertigkeiten[0][1]);
optgroup1.appendChild(neuElement);
if (document.myform.charform.value == 0)
{
if ((waffen[document.myform.waffe.value][4] == 2) || (waffen[document.myform.waffe.value][4] == 3))
{
neuElement = new Option(fertigkeiten[1][0],fertigkeiten[1][1]);
optgroup1.appendChild(neuElement);
}
if (waffen[document.myform.waffe.value][4] != 1)
{
neuElement = new Option(fertigkeiten[24][0],fertigkeiten[24][1]);
optgroup1.appendChild(neuElement);
neuElement = new Option(fertigkeiten[30][0],fertigkeiten[30][1]);
optgroup1.appendChild(neuElement);
neuElement = new Option(fertigkeiten[31][0],fertigkeiten[31][1]);
optgroup1.appendChild(neuElement);
neuElement = new Option(fertigkeiten[32][0],fertigkeiten[32][1]);
optgroup1.appendChild(neuElement);
}
if ((waffen[document.myform.waffe.value][2] == 0) || (waffen[document.myform.waffe.value][2] == 2) || (waffen[document.myform.waffe.value][2] == 4))
{
neuElement = new Option(fertigkeiten[25][0],fertigkeiten[25][1]);
optgroup1.appendChild(neuElement);
}
}
document.myform.skill.appendChild(optgroup1);
break;
case "7":
neuElement = new Option(fertigkeiten[0][0],fertigkeiten[0][1]);
optgroup1.appendChild(neuElement);
document.myform.skill.appendChild(optgroup1);
break;
case "8":
neuElement = new Option(fertigkeiten[3][0],fertigkeiten[3][1]);
optgroup1.appendChild(neuElement);
neuElement = new Option(fertigkeiten[0][0],fertigkeiten[0][1]);
optgroup1.appendChild(neuElement);
document.myform.skill.appendChild(optgroup1);
break;
case "9":
neuElement = new Option(fertigkeiten[0][0],fertigkeiten[0][1]);
optgroup1.appendChild(neuElement);
neuElement = new Option(fertigkeiten[22][0],fertigkeiten[22][1]);
optgroup1.appendChild(neuElement);
neuElement = new Option(fertigkeiten[23][0],fertigkeiten[23][1]);
optgroup1.appendChild(neuElement);
document.myform.skill.appendChild(optgroup1);
break;
default:
neuElement = new Option(fertigkeiten[0][0],fertigkeiten[0][1]);
optgroup1.appendChild(neuElement);
if (document.myform.charform.value == 0)
{
if ((waffen[document.myform.waffe.value][4] == 2) || (waffen[document.myform.waffe.value][4] == 3))
{
neuElement = new Option(fertigkeiten[1][0],fertigkeiten[1][1]);
optgroup1.appendChild(neuElement);
}
document.myform.skill.appendChild(optgroup1);
if (waffen[document.myform.waffe.value][5] == 1)
{
neuElement = new Option(fertigkeiten[24][0],fertigkeiten[24][1]);
optgroup2.appendChild(neuElement);
document.myform.skill.appendChild(optgroup2);
}
}
if (document.myform.charform.value > 0) document.myform.skill.appendChild(optgroup1);
break;
}
for(i=0; i < document.myform.skill.length; i++) { if ((document.myform.skill.options[i].value == tempSkill) && (document.myform.char.value != 8)) { document.myform.skill.selectedIndex = i; } }
}
function setzeSIAS()
{
if (statischFana == true)
{
statischFana = false;
while (document.myform.fana.length > 0) document.myform.fana.options[0] = null;
for (i=0; i <= 50; i++)
{
neuElement = new Option(i,Math.floor(Math.floor((110*i)/(6+i))*(40-10)/100)+10);
document.myform.fana.options[document.myform.fana.length] = neuElement;
if (i == 0) { document.myform.fana.options[document.myform.fana.length-1].value = 0; }
}
}
while (document.myform.frenzy.length > 0) document.myform.frenzy.options[0] = null;
if (document.myform.char.value == 2)
{
for (i=0; i <= 50; i++)
{
neuElement = new Option(i,Math.floor(Math.floor((110*i)/(6+i))*(50-0)/100)+0);
document.myform.frenzy.options[document.myform.frenzy.length] = neuElement;
if (i == 0) { document.myform.frenzy.options[document.myform.frenzy.length-1].value = 0; }
}
}
else
{
neuElement = new Option("-",0);
document.myform.frenzy.options[document.myform.frenzy.length] = neuElement;
}
while (document.myform.wolf.length > 0) document.myform.wolf.options[0] = null;
if ((document.myform.char.value == 2) || (document.myform.char.value == 3))
{
for (i=0; i <= 50; i++)
{
neuElement = new Option(i,Math.floor(Math.floor((110*i)/(6+i))*(80-10)/100)+10);
document.myform.wolf.options[document.myform.wolf.length] = neuElement;
if (i == 0) { document.myform.wolf.options[document.myform.wolf.length-1].value = 0; }
}
}
else
{
neuElement = new Option("-",0);
document.myform.wolf.options[document.myform.wolf.length] = neuElement;
}
while (document.myform.tempo.length > 0) document.myform.tempo.options[0] = null;
if (document.myform.char.value == 1)
{
for (i=0; i <= 50; i++)
{
neuElement = new Option(i,Math.floor(Math.floor((110*i)/(6+i))*(60-15)/100)+15);
document.myform.tempo.options[document.myform.tempo.length] = neuElement;
if (i == 0) { document.myform.tempo.options[document.myform.tempo.length-1].value = 0; }
}
}
else
{
neuElement = new Option("-",0);
document.myform.tempo.options[document.myform.tempo.length] = neuElement;
}
if (statischFrost == true)
{
statischFrost = false;
while (document.myform.holyfrost.length > 0) document.myform.holyfrost.options[0] = null;
for (i=0; i <= 30; i++)
{
neuElement = new Option(i,Math.floor(Math.floor((110*i)/(6+i))*(60-25)/100)+25);
document.myform.holyfrost.options[document.myform.holyfrost.length] = neuElement;
if (i == 0) { document.myform.holyfrost.options[document.myform.holyfrost.length-1].value = 0; }
}
}
}
function IASabstufung()
{
statischIAS = true;
if (mIAS == 1) { mIAS = 5; }
else { mIAS = 1; }
setzeIAS();
}
// XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
function FensterZauber()
{
FensterZ = window.open("", "Casting Speeds", "width=1200,height=700,left=110,top=50,scrollbars=yes");
FensterZ.focus();
FensterZ.document.write('Cast Speeds');
FensterZ.document.write('
| Amazon | Assassin | Barbarian | Druid | Necromancer | Paladin | Sorceress | Sorceress L/CL |
');
FensterZ.document.write('19 | 00 | | | | | | | 00 |
18 | 07 | | | 00 | | | | 07 |
');
FensterZ.document.write('17 | 14 | | | 04 | | | | 15 |
16 | 22 | 00 | | 10 | | | | 23 |
');
FensterZ.document.write('15 | 32 | 08 | | 19 | 00 | 00 | | 35 |
14 | 48 | 16 | | 30 | 09 | 09 | | 52 |
');
FensterZ.document.write('13 | 68 | 27 | 00 | 46 | 18 | 18 | 00 | 78 |
12 | 99 | 42 | 09 | 68 | 30 | 30 | 09 | 117 |
');
FensterZ.document.write('11 | 152 | 65 | 20 | 99 | 48 | 48 | 20 | 194 |
10 | | 102 | 37 | 163 | 75 | 75 | 37 | |
');
FensterZ.document.write('09 | | 174 | 63 | | 125 | 125 | 63 | |
08 | | | 105 | | | | 105 | |
');
FensterZ.document.write('07 | | | 200 | | | | 200 | |
');
FensterZ.document.write('L/CL: Skills "Lightning" und "Chain Lightning"
');
FensterZ.document.write('
');
FensterZ.document.write(' | Iron Wolf | Vampire | Werebear | Werewolf |
');
FensterZ.document.write('23 | | 00 | | |
22 | | 06 | | |
');
FensterZ.document.write('21 | | 11 | | |
20 | | 18 | | |
');
FensterZ.document.write('19 | | 24 | | |
18 | | 35 | | |
');
FensterZ.document.write('17 | 00 | 48 | | |
16 | 08 | 65 | 00 | 00 |
');
FensterZ.document.write('15 | 15 | 86 | 07 | 06 |
14 | 26 | 120 | 15 | 14 |
');
FensterZ.document.write('13 | 39 | 180 | 26 | 26 |
12 | 58 | | 40 | 40 |
');
FensterZ.document.write('11 | 86 | | 63 | 60 |
10 | 138 | | 99 | 95 |
');
FensterZ.document.write('09 | | | 163 | 157 |
');
}
function FensterBlock()
{
FensterB = window.open("", "Blocking Speeds", "width=1200,height=700,left=110,top=50,scrollbars=yes");
FensterB.focus();
FensterB.document.write('Blocking Speeds');
FensterB.document.write('
| Amazon 1hs | Amazon | Assassin | Barbarian | Druid | Necromancer | Paladin | Paladin HS | Sorceress |
');
FensterB.document.write('17 | 00 | | | | | | | | |
16 | 04 | | | | | | | | |
');
FensterB.document.write('15 | 06 | | | | | | | | |
14 | 11 | | | | | | | | |
');
FensterB.document.write('13 | 15 | | | | | | | | |
12 | 23 | | | | | | | | |
');
FensterB.document.write('11 | 29 | | | | 00 | 00 | | | |
10 | 40 | | | | 06 | 06 | | | |
');
FensterB.document.write('09 | 56 | | | | 13 | 13 | | | 00 |
08 | 80 | | | | 20 | 20 | | | 07 |
');
FensterB.document.write('07 | 120 | | | 00 | 32 | 32 | | | 15 |
06 | 200 | | | 09 | 52 | 52 | | | 27 |
');
FensterB.document.write('05 | 480 | 00 | 00 | 20 | 86 | 86 | 00 | | 48 |
04 | | 13 | 13 | 42 | 174 | 174 | 13 | | 86 |
');
FensterB.document.write('03 | | 32 | 32 | 86 | 600 | 600 | 32 | | 200 |
02 | | 86 | 86 | 280 | | | 86 | 00 | 4680 |
');
FensterB.document.write('01 | | 600 | 600 | | | | 600 | 86 | |
');
FensterB.document.write('1hs: single-handed swinging weapons (swords, axes, clubs, maces, sceptre, hammers, throwing axes)
HS: Skill "Holy Shield"
');
FensterB.document.write('
');
FensterB.document.write(' | Vampire | Werebear | Werewolf |
');
FensterB.document.write('15 | 00 | | |
14 | 02 | | |
');
FensterB.document.write('13 | 06 | | |
12 | 10 | 00 | |
');
FensterB.document.write('11 | 16 | 05 | |
10 | 24 | 10 | |
');
FensterB.document.write('09 | 34 | 16 | 00 |
08 | 48 | 27 | 07 |
');
FensterB.document.write('07 | 72 | 40 | 15 |
06 | 117 | 65 | 27 |
');
FensterB.document.write('05 | 208 | 109 | 48 |
04 | 638 | 223 | 86 |
');
FensterB.document.write('03 | | 1320 | 200 |
02 | | | 4680 |
');
}
function FensterTreffer()
{
FensterT = window.open("", "Hit Recovery Speeds", "width=1200,height=700,left=110,top=50,scrollbars=yes");
FensterT.focus();
FensterT.document.write('Hit Recovery Speeds');
FensterT.document.write('
| Amazon | Assassin | Barbarian | Druid 1hs | Druid | Necromancer | Paladin stf/2ht | Paladin | Sorceress |
');
FensterT.document.write('15 | | | | | | | | | 00 |
14 | | | | 00 | | | | | 05 |
');
FensterT.document.write('13 | | | | 03 | 00 | 00 | 00 | | 09 |
12 | | | | 07 | 05 | 05 | 03 | | 14 |
');
FensterT.document.write('11 | 00 | | | 13 | 10 | 10 | 07 | | 20 |
10 | 06 | | | 19 | 16 | 16 | 13 | | 30 |
');
FensterT.document.write('09 | 13 | 00 | 00 | 29 | 26 | 26 | 20 | 00 | 42 |
08 | 20 | 07 | 07 | 42 | 39 | 39 | 32 | 07 | 60 |
');
FensterT.document.write('07 | 32 | 15 | 15 | 63 | 56 | 56 | 48 | 15 | 86 |
06 | 52 | 27 | 27 | 99 | 86 | 86 | 75 | 27 | 142 |
');
FensterT.document.write('05 | 86 | 48 | 48 | 174 | 152 | 152 | 129 | 48 | 280 |
04 | 174 | 86 | 86 | 456 | 377 | 377 | 280 | 86 | 1480 |
');
FensterT.document.write('03 | 600 | 200 | 200 | | | | 4680 | 200 | |
02 | | 4680 | 4680 | | | | | 4680 | |
');
FensterT.document.write('1hs: single-handed swinging weapons (swords, axes, clubs, maces, sceptre, hammers, throwing axes)
stf/2ht: All two-handed weapons except swords
');
FensterT.document.write('
');
FensterT.document.write(' | Barbarian | Iron Wolf | Rogue | Town Guard | Vampire | Werebear | Werewolf |
');
FensterT.document.write('17 | | 00 | | | | | |
16 | | 05 | | | | | |
');
FensterT.document.write('15 | | 08 | | 00 | 00 | | |
14 | | 13 | | 05 | 02 | | |
');
FensterT.document.write('13 | | 18 | | 09 | 06 | 00 | |
12 | | 24 | | 14 | 10 | 05 | |
');
FensterT.document.write('11 | | 32 | 00 | 20 | 16 | 10 | |
10 | | 46 | 06 | 30 | 24 | 16 | |
');
FensterT.document.write('09 | 00 | 63 | 13 | 42 | 34 | 24 | |
08 | 07 | 86 | 20 | 60 | 48 | 37 | |
');
FensterT.document.write('07 | 15 | 133 | 32 | 86 | 72 | 54 | 00 |
06 | 27 | 232 | 52 | 142 | 117 | 86 | 09 |
');
FensterT.document.write('05 | 48 | 600 | 86 | 280 | 208 | 152 | 20 |
04 | 86 | | 174 | | | 360 | 42 |
');
FensterT.document.write('03 | 200 | | 600 | | | | 86 |
02 | 4680 | | | | | | 280 |
');
}
// XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
var werform = ["unchanged","Werebear","Werewolf"]
var startframe = [1,0,2,2,2,2,2,0,0]
var waffengattung =
[[[13,13],[11,12],[12,12],[16,16],[15,15],[14,14],[16,16],0,0,0,"unarmed"],
[[0,0],[11,12],[0,0],[0,0],[0,0],[0,0],[0,0],0,0,0,"claw"],
[[16,16],[15,15],[16,16],[19,19],[19,19],[15,15],[20,20],0,0,[16,16],"one-handed swinging weapon"],
[[20,20],[23,23],[18,18],[21,21],[23,23],[18,19],[24,24],0,0,[16,16],"two-handed sword"],
[[15,15],[15,15],[16,16],[19,19],[19,19],[17,17],[19,19],0,[16,16],0,"one-handed thrusting weapon"],
[[18,18],[23,23],[19,19],[23,23],[24,24],[20,20],[23,23],0,[16,16],0,"spear"],
[[20,20],[19,19],[19,19],[17,17],[20,20],[18,18],[18,18],0,[16,16],0,"two-handed weapon"],
[[14,14],[16,16],[15,15],[16,16],[18,18],[16,16],[17,17],[15,15],0,0,"bow"],
[[20,20],[21,21],[20,20],[20,20],[20,20],[20,20],[20,20],0,0,0,"crossbow"],
[16,16,16,18,20,16,20]] // throw
var aktionsframe =
[[8,6,6,8,8,7,9],
[0,0,0,0,0,0,0],
[10,7,7,9,9,7,12],
[12,11,8,10,11,8,14],
[9,7,7,8,9,8,11],
[11,10,9,9,10,8,13],
[12,9,9,9,11,9,11],
[6,7,7,8,9,8,9],
[9,10,10,10,11,10,11]]
// name,index,animation,sequenz-index,rollback 0 = A1, 1 = standart, 2 = werfen, 3 = kick, 4 = S1, 5 = S2, 6 = S3, 7 = sequenz
var fertigkeiten =
[["Standard",0,1,0,100],
["Throw",1,2,0,100],
["Impale",2,7,0,100],
["Jab",3,7,1,100],
["Strafe",4,0,0,50],
["Fend",5,0,0,40],
["Tiger Strike",6,0,0,100],
["Cobra Strike",7,0,0,100],
["Phoenix Strike",8,0,0,100],
["Fists of Fire",9,7,2,100],
["Claws of Thunder",10,7,2,100],
["Blades of Ice",11,7,2,100],
["Dragon Claw",12,7,2,100],
["Dragon Tail",13,3,0,100],
["Dragon Talon",14,3,0,0],
["Laying Traps",15,5,0,100],
["Double Swing",16,7,3,100],
["Frenzy",17,7,3,100],
["Double Throw",18,7,4,100],
["Whirlwind",19,7,0,100],
["Concentrate",20,0,0,100],
["Berserk",21,0,0,100],
["Bash",22,0,0,100],
["Stun",23,0,0,100],
["Zeal",24,0,0,0],
["Smite",25,4,0,100],
["Feral Rage",26,0,0,100],
["Hunger",27,6,0,100],
["Rabies",28,6,0,100],
["Fury",29,0,0,0],
["Sacrifice",30,0,0,100],
["Vengeance",31,0,0,100],
["Conversion",32,0,0,100]]
var sequenzen =
[[0,0,0,0,21,24,0,0,0], // hth,htx,1hs,2hs,1ht,2ht,stf,bow,xbw
[0,0,0,0,18,21,0,0,0],
[12,12,16,0,0,0,0,0,0],
[0,0,17,17,17,0,0,0,0],
[0,0,12,0,12,0,0,0,0]]
// name,WSM,waffengattung,charverwendung,waffenklasse,eifer
var waffen =
[["[unarmed]",0,0,-1,0,0],
["Ancient Axe",10,6,-1,0,1],
["Ancient Sword",0,2,-1,9,0],
["Arbalest",-10,8,-1,1,0],
["Archon Staff",10,6,-1,0,1],
["Ashwood Bow",0,7,0,1,0],
["Ataghan",-20,2,-1,9,0],
["Axe",10,2,-1,0,1],
["Balanced Axe",-10,2,-1,3,0],
["Balanced Knife",-20,4,-1,3,0],
["Ballista",10,8,-1,1,0],
["Balrog Blade",0,3,-1,9,1],
["Balrog Spear",10,4,-1,2,0],
["Barbed Club",0,2,-1,0,0],
["Bardiche",10,6,-1,8,0],
["Bastard Sword",10,3,-1,9,1],
["Battle Axe",10,6,-1,0,1],
["Battle Cestus",-10,1,1,0,0],
["Battle Dart",0,4,-1,3,0],
["Battle Hammer",20,2,-1,0,1],
["Battle Scythe",-10,6,-1,8,1],
["Battle Staff",0,6,-1,0,1],
["Battle Sword",0,2,-1,9,1],
["Bearded Axe",0,6,-1,0,1],
["Bec-de-Corbin",0,6,-1,8,1],
["Berserker Axe",0,2,-1,0,1],
["Bill",0,6,-1,8,1],
["Blade Bow",-10,7,-1,1,0],
["Blade Talons",-20,1,1,0,0],
["Blade",-10,4,-1,0,0],
["Bone Knife",-20,4,-1,0,0],
["Bone Wand",-20,2,-1,0,0],
["Brandistock",-20,5,-1,8,1],
["Broad Axe",0,6,-1,0,1],
["Broad Sword",0,2,-1,9,1],
["Burnt Wand",0,2,-1,0,0],
["Caduceus",-10,2,-1,0,1],
["Cedar Bow",0,7,-1,1,0],
["Cedar Staff",10,6,-1,0,1],
["Ceremonial Bow",10,7,0,1,0],
["Ceremonial Javelin",-10,4,0,2,0],
["Ceremonial Pike",20,5,0,8,1],
["Ceremonial Spear",0,5,0,8,1],
["Cestus",0,1,1,0,0],
["Champion Axe",-10,6,-1,0,1],
["Champion Sword",-10,3,-1,9,1],
["Chu-Ko-Nu",-60,8,-1,1,0],
["Cinquedeas",-20,4,-1,0,0],
["Clasped Orb",0,2,6,0,0],
["Claws",-10,1,1,0,0],
["Claymore",10,3,-1,9,1],
["Cleaver",10,2,-1,0,1],
["Cloudy Sphere",0,2,6,0,0],
["Club",-10,2,-1,0,0],
["Colossus Blade",5,3,-1,9,1],
["Colossus Crossbow",10,8,-1,1,0],
["Colossus Sword",10,3,-1,9,1],
["Colossus Voulge",10,6,-1,8,1],
["Composite Bow",-10,7,-1,1,0],
["Conquest Sword",0,2,-1,9,1],
["Crossbow",0,8,-1,1,0],
["Crowbill",-10,2,-1,0,1],
["Crusader Bow",10,7,-1,1,0],
["Cryptic Axe",10,6,-1,8,1],
["Cryptic Sword",-10,2,-1,9,1],
["Crystal Sword",0,2,-1,9,1],
["Crystalline Globe",-10,2,6,0,0],
["Cudgel",-10,2,-1,0,0],
["Cutlass",-30,2,-1,9,0],
["Dacian Falx",10,3,-1,9,1],
["Dagger",-20,4,-1,0,0],
["Decapitator",10,6,-1,0,1],
["Demon Crossbow",-60,8,-1,1,0],
["Demon Heart",0,2,6,0,0],
["Devil Star",10,2,-1,0,0],
["Diamond Bow",0,7,-1,1,0],
["Dimensional Blade",0,2,-1,9,1],
["Dimensional Shard",10,2,6,0,0],
["Dirk",0,4,-1,0,0],
["Divine Scepter",-10,2,-1,0,1],
["Double Axe",10,2,-1,0,1],
["Double Bow",-10,7,-1,1,0],
["Eagle Orb",-10,2,6,0,0],
["Edge Bow",5,7,-1,1,0],
["Elder Staff",0,6,-1,0,1],
["Eldritch Orb",-10,2,6,0,0],
["Elegant Blade",-10,2,-1,9,0],
["Espandon",0,3,-1,9,0],
["Ettin Axe",10,2,-1,0,1],
["Executioner Sword",10,3,-1,9,1],
["Falcata",0,2,-1,9,0],
["Falchion",20,2,-1,9,0],
["Fanged Knife",-20,4,-1,0,0],
["Fascia",10,1,1,0,0],
["Feral Axe",-15,6,-1,0,1],
["Feral Claws",-20,1,1,0,0],
["Flail",-10,2,-1,0,1],
["Flamberge",-10,3,-1,9,1],
["Flanged Mace",0,2,-1,0,0],
["Flying Axe",10,2,-1,3,0],
["Francisca",10,2,-1,3,0],
["Fuscina",0,5,-1,8,1],
["Ghost Glaive",20,4,-1,2,0],
["Ghost Spear",0,5,-1,8,1],
["Ghost Wand",10,2,-1,0,0],
["Giant Axe",10,6,-1,0,1],
["Giant Sword",0,3,-1,9,1],
["Giant Thresher",-10,6,-1,8,1],
["Gladius",0,2,-1,9,0],
["Glaive",20,4,-1,2,0],
["Glorious Axe",10,6,-1,0,1],
["Glowing Orb",-10,2,6,0,0],
["Gnarled Staff",10,6,-1,0,1],
["Gorgon Crossbow",0,8,-1,1,0],
["Gothic Axe",-10,6,-1,0,1],
["Gothic Bow",10,7,-1,1,0],
["Gothic Staff",0,6,-1,0,1],
["Gothic Sword",10,3,-1,9,1],
["Grand Matron Bow",10,7,0,1,0],
["Grand Scepter",10,2,-1,0,0],
["Grave Wand",0,2,-1,0,0],
["Great Axe",-10,6,-1,0,1],
["Great Bow",-10,7,-1,1,0],
["Great Maul",20,6,-1,0,1],
["Great Pilum",0,4,-1,2,0],
["Great Poleaxe",0,6,-1,8,1],
["Great Sword",10,3,-1,9,1],
["Greater Claws",-20,1,1,0,0],
["Greater Talons",-30,1,1,0,0],
["Grim Scythe",-10,6,-1,8,1],
["Grim Wand",0,2,-1,0,0],
["Halberd",0,6,-1,8,1],
["Hand Axe",0,2,-1,0,0],
["Hand Scythe",-10,1,1,0,0],
["Harpoon",-10,4,-1,2,0],
["Hatchet Hands",10,1,1,0,0],
["Hatchet",0,2,-1,0,0],
["Heavenly Stone",-10,2,6,0,0],
["Heavy Crossbow",10,8,-1,1,0],
["Highland Blade",-5,3,-1,9,1],
["Holy Water Sprinkler",10,2,-1,0,0],
["Hunter's Bow",-10,7,-1,1,0],
["Hurlbat",-10,2,-1,3,0],
["Hydra Bow",10,7,-1,1,0],
["Hydra Edge",10,2,-1,9,0],
["Hyperion Javelin",-10,4,-1,2,0],
["Hyperion Spear",-10,5,-1,8,0],
["Jagged Star",10,2,-1,0,0],
["Jared's Stone",10,2,6,0,0],
["Javelin",-10,4,-1,2,0],
["Jo Staff",-10,6,-1,0,0],
["Katar",-10,1,1,0,0],
["Knout",-10,2,-1,0,1],
["Kris",-20,4,-1,0,0],
["Lance",20,5,-1,8,1],
["Large Axe",-10,6,-1,0,1],
["Large Siege Bow",10,7,-1,1,0],
["Legend Spike",-10,4,-1,0,0],
["Legend Sword",-15,3,-1,9,0],
["Legendary Mallet",20,2,-1,0,1],
["Lich Wand",-20,2,-1,0,0],
["Light Crossbow",-10,8,-1,1,0],
["Lochaber Axe",10,6,-1,8,0],
["Long Battle Bow",10,7,-1,1,0],
["Long Bow",0,7,-1,1,0],
["Long Staff",0,6,-1,0,0],
["Long Sword",-10,2,-1,9,1],
["Long War Bow",10,7,-1,1,0],
["Mace",0,2,-1,0,0],
["Maiden Javelin",-10,4,0,2,0],
["Maiden Pike",10,5,0,8,1],
["Maiden Spear",0,5,0,8,1],
["Mancatcher",-20,5,-1,8,1],
["Martel de Fer",20,6,-1,0,1],
["Matriarchal Bow",-10,7,0,1,0],
["Matriarchal Javelin",-10,4,0,2,0],
["Matriarchal Pike",20,5,0,8,1],
["Matriarchal Spear",0,5,0,8,1],
["Maul",10,6,-1,0,1],
["Mighty Scepter",0,2,-1,0,0],
["Military Axe",-10,6,-1,0,1],
["Military Pick",-10,2,-1,0,1],
["Mithril Point",0,4,-1,0,0],
["Morning Star",10,2,-1,0,0],
["Mythical Sword",0,2,-1,9,0],
["Naga",0,2,-1,0,1],
["Ogre Axe",0,6,-1,8,0],
["Ogre Maul",10,6,-1,0,1],
["Partizan",10,6,-1,8,1],
["Pellet Bow",-10,8,-1,1,0],
["Petrified Wand",10,2,-1,0,0],
["Phaseblade",-30,2,-1,9,1],
["Pike",20,5,-1,8,1],
["Pilum",0,4,-1,2,0],
["Poignard",-20,4,-1,0,0],
["Poleaxe",10,6,-1,8,1],
["Polished Wand",0,2,-1,0,0],
["Quarterstaff",0,6,-1,0,0],
["Quhab",0,1,1,0,0],
["Razor Bow",-10,7,-1,1,0],
["Reflex Bow",10,7,0,1,0],
["Reinforced Mace",0,2,-1,0,0],
["Repeating Crossbow",-40,8,-1,1,0],
["Rondel",0,4,-1,0,0],
["Rune Bow",0,7,-1,1,0],
["Rune Scepter",0,2,-1,0,0],
["Rune Staff",20,6,-1,0,1],
["Rune Sword",-10,2,-1,9,1],
["Runic Talons",-30,1,1,0,0],
["Sabre",-10,2,-1,9,0],
["Sacred Globe",-10,2,6,0,0],
["Scepter",0,2,-1,0,0],
["Scimitar",-20,2,-1,9,0],
["Scissors Katar",-10,1,1,0,0],
["Scissors Quhab",0,1,1,0,0],
["Scissors Suwayyah",0,1,1,0,0],
["Scourge",-10,2,-1,0,1],
["Scythe",-10,6,-1,8,1],
["Seraph Rod",10,2,-1,0,0],
["Shadow Bow",0,7,-1,1,0],
["Shamshir",-10,2,-1,9,0],
["Shillelagh",0,6,-1,0,1],
["Short Battle Bow",0,7,-1,1,0],
["Short Bow",5,7,-1,1,0],
["Short Siege Bow",0,7,-1,1,0],
["Short Spear",10,4,-1,2,0],
["Short Staff",-10,6,-1,0,0],
["Short Sword",0,2,-1,9,0],
["Short War Bow",0,7,-1,1,0],
["Siege Crossbow",0,8,-1,1,0],
["Silver-edged Axe",0,6,-1,0,1],
["Simbilan",10,4,-1,2,0],
["Small Crescent",10,2,-1,0,1],
["Smoked Sphere",0,2,6,0,0],
["Sparkling Ball",0,2,6,0,0],
["Spear",-10,5,-1,8,0],
["Spetum",0,5,-1,8,1],
["Spiculum",20,4,-1,2,0],
["Spider Bow",5,7,-1,1,0],
["Spiked Club",0,2,-1,0,0],
["Stag Bow",0,7,0,1,0],
["Stalagmite",10,6,-1,0,0],
["Stiletto",-10,4,-1,0,0],
["Stygian Pike",0,5,-1,8,1],
["Stygian Pilum",0,4,-1,2,0],
["Suwayyah",0,1,1,0,0],
["Swirling Crystal",10,2,6,0,0],
["Tabar",10,6,-1,0,1],
["Thresher",-10,6,-1,8,1],
["Throwing Axe",10,2,-1,3,0],
["Throwing Knife",0,4,-1,3,0],
["Throwing Spear",-10,4,-1,2,0],
["Thunder Maul",20,6,-1,0,1],
["Tomahawk",0,2,-1,0,0],
["Tomb Wand",-20,2,-1,0,0],
["Trident",0,5,-1,8,1],
["Truncheon",-10,2,-1,0,0],
["Tulwar",20,2,-1,9,0],
["Tusk Sword",0,3,-1,9,1],
["Twin Axe",10,2,-1,0,1],
["Two-Handed Sword",0,3,-1,9,0],
["Tyrant Club",0,2,-1,0,0],
["Unearthed Wand",0,2,-1,0,0],
["Vortex Orb",0,2,6,0,0],
["Voulge",0,6,-1,8,1],
["Walking Stick",-10,6,-1,0,0],
["Wand",0,2,-1,0,0],
["War Axe",0,2,-1,0,1],
["War Club",10,6,-1,0,0],
["War Dart",-20,4,-1,3,0],
["War Fist",10,1,1,0,0],
["War Fork",-20,5,-1,8,1],
["War Hammer",20,2,-1,0,1],
["War Javelin",-10,4,-1,2,0],
["War Pike",20,5,-1,8,1],
["War Scepter",-10,2,-1,0,1],
["War Scythe",-10,6,-1,8,1],
["War Spear",-10,5,-1,8,0],
["War Spike",-10,2,-1,0,1],
["War Staff",20,6,-1,0,1],
["War Sword",0,2,-1,9,0],
["Ward Bow",0,7,-1,1,0],
["Winged Axe",-10,2,-1,3,0],
["Winged Harpoon",-10,4,-1,2,0],
["Winged Knife",-20,4,-1,3,0],
["Wrist Blade",0,1,1,0,0],
["Wrist Spike",-10,1,1,0,0],
["Wrist Sword",-10,1,1,0,0],
["Yari",0,5,-1,8,1],
["Yew Wand",10,2,-1,0,0],
["Zweihander",-10,3,-1,9,1]]
//-->
Calculator written by TitanSeal
Version 3