HOTFIX: powder special early termination

This commit is contained in:
hppeng 2022-09-15 23:00:44 -07:00
parent 518af81d22
commit 8767616c0a

View file

@ -414,6 +414,7 @@ function displayExpandedItem(item, parent_id){
} }
} }
} }
if (element) { break; } // terminate early if already found.
} }
if (element) {//powder special is "[e,t,w,f,a]+[0,1,2,3,4]" if (element) {//powder special is "[e,t,w,f,a]+[0,1,2,3,4]"
const powderSpecial = powderSpecialStats[skp_elements.indexOf(element)]; const powderSpecial = powderSpecialStats[skp_elements.indexOf(element)];