mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-14 18:39:27 -05:00
Fix prettier errors
This commit is contained in:
+2
-2
@@ -4129,7 +4129,7 @@ function init_io() {
|
|||||||
}
|
}
|
||||||
if (method == "equip_batch") {
|
if (method == "equip_batch") {
|
||||||
var cost = 1;
|
var cost = 1;
|
||||||
if(Array.isArray(data)) {
|
if (Array.isArray(data)) {
|
||||||
cost += data.length / 2;
|
cost += data.length / 2;
|
||||||
}
|
}
|
||||||
add_call_cost(CC.equip * cost);
|
add_call_cost(CC.equip * cost);
|
||||||
@@ -6458,7 +6458,7 @@ function init_io() {
|
|||||||
penalty += 120;
|
penalty += 120;
|
||||||
resolve.push({ num: equip_def.num, slot });
|
resolve.push({ num: equip_def.num, slot });
|
||||||
}
|
}
|
||||||
if("penalty_cd" in player.s) {
|
if ("penalty_cd" in player.s) {
|
||||||
player.s.penalty_cd.ms = min(player.s.penalty_cd.ms + penalty, 120000);
|
player.s.penalty_cd.ms = min(player.s.penalty_cd.ms + penalty, 120000);
|
||||||
} else {
|
} else {
|
||||||
player.s.penalty_cd = { ms: penalty };
|
player.s.penalty_cd = { ms: penalty };
|
||||||
|
|||||||
Reference in New Issue
Block a user