I made it so the minion can spawn in chunk 3 and 11, and when you defeat it, it takes 100 sec for it to spawn again. I also fixed some bugs. I finished the code for rare sword. I also finished the gold mine/cave; touch gold ore to get gold, and you get gold from killing enemies.
Consider Einstein rarity The five rarities: Basic Rare Legendary Mystical/Mythical Ultimate/Einstein