mirror of
https://bitbucket.org/grumdrig/pq-web.git
synced 2026-09-29 00:34:00 -06:00
Restore the pq6.2 levelling schedule. Some half-baked online game support from 2018 that's now commented out.
This commit is contained in:
committed by
Eric Fredricksen
parent
40df70eac4
commit
60c28cd79b
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user