A for loop to get the index is probably best in any case, as it means you can loop over
unit.attacks
(using ipairs()
) instead of wml.child_range(unit.__cfg, "attack")
.Statistics: Posted by Celtic_Minstrel — Yesterday, 12:37 pm