View difference between Paste ID: 9UxuqQTT and ghdKAvcP
SHOW: | | - or go back to the newest paste.
1
//To change single characters damage
2
 var l = Object.keys(e);
3
    for (var c = 0; c < l.length; c++) {
4
        var h = e[l[c]];
5
        if(h.schemaPrimativeID.includes("jade_stat1")){    
6-
            h.maximum = 800;
6+
            h.maximum = 9999;
7-
            h.value = 800;
7+
            h.value = 9999;
8
    }
9
}
10
 
11
 
12
//To change all of the characters damage at once
13
var l = Object.keys(e);
14
    for (var c = 0; c < l.length; c++) {
15
        var h = e[l[c]];
16
        if(h.schemaPrimativeID.includes("_stat1")){    
17-
            h.maximum = 800;
17+
            h.maximum = 9999;
18-
            h.value = 800;
18+
            h.value = 9999;
19
    }
20
}