Restore the pq6.2 levelling schedule. Some half-baked online game support from 2018 that's now commented out.

This commit is contained in:
Eric Fredricksen
2021-11-16 19:41:38 -08:00
committed by Eric Fredricksen
parent 40df70eac4
commit 60c28cd79b
7 changed files with 59 additions and 31 deletions
+11 -2
View File
@@ -27,7 +27,7 @@ function RollEm() {
stats.seed = randseed();
total = 0;
var best = -1;
$.each(K.PrimeStats, function () {
$.each(K.PrimeStats, function () {
total += Roll(this);
if (best < stats[this]) {
best = stats[this];
@@ -37,7 +37,7 @@ function RollEm() {
stats['HP Max'] = Random(8) + stats.CON.div(6);
stats['MP Max'] = Random(8) + stats.INT.div(6);
var color =
var color =
(total >= (63+18)) ? 'red' :
(total > (4 * 18)) ? 'yellow' :
(total <= (63-18)) ? 'grey' :
@@ -191,6 +191,15 @@ function sold() {
]
};
/*
if ($("#multiplayer:checked").length > 0) {
newguy.online = {
realm: "Alpaquil",
host: "http://progressquest.com/alpa.php",
}
}
*/
if (document) {
newguy.Traits.Name = $("#Name").val();
newguy.Traits.Race = $("input:radio[name=Race]:checked").val();