Conditions | 3 |
Paths | 3 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | /** |
||
25 | this.resetElement = function(player, element) { |
||
26 | let exotic = data.elements[element].exotic; |
||
27 | if (!player.resources[exotic].unlocked) { |
||
28 | return; |
||
29 | } |
||
30 | |||
31 | let resources = player.resources; |
||
32 | for (let resource of data.elements[element].includes) { |
||
33 | resources[resource].number = 0; |
||
34 | } |
||
35 | }; |
||
36 | } |
||
38 |