I have randomly generated swords
but there's a problem I pick up the sword or buy the swords.
it goes one generation ahead it seems I've been trying to fix it for weeks
for people curious the code is just setting a variable linked with an array to set animation of the weapon part and setting the stats based on which animations are playing