g3.3
This commit is contained in:
1 parent
31769d1719
commit
10f65e6ad5
1 file changed
+1
@@ -115,6 +115,7 @@ async function activateSkill(elm, data) {
|
|||||||
elm.setAttribute("fill", "lightgreen");
|
elm.setAttribute("fill", "lightgreen");
|
||||||
}
|
}
|
||||||
for (var i of coll) {
|
for (var i of coll) {
|
||||||
|
if (!(userData["abilities"] ??= []).includes(i)) continue;
|
||||||
exeSkill(i, false);
|
exeSkill(i, false);
|
||||||
for (var elm of document.getElementsByClassName("skill_" + i)) {
|
for (var elm of document.getElementsByClassName("skill_" + i)) {
|
||||||
elm.setAttribute("fill", "rgb(187, 243, 183)");
|
elm.setAttribute("fill", "rgb(187, 243, 183)");
|
||||||
|
|||||||
Reference in new issue
Block a user