Rather than creating a "Raid Spammer" that has no nuance for how energy is being distributed, a "Hero Upgrade" script would be more useful. The user would select a particular hero and the script uses the energy to upgrade all items for a particular hero that needs resources.
This current script does not do anything that you can't already do with an auto-clicker or basic macro creator/recorder (but with more control).
Rather than creating a "Raid Spammer" that has no nuance for how energy is being distributed, a "Hero Upgrade" script would be more useful. The user would select a particular hero and the script uses the energy to upgrade all items for a particular hero that needs resources.
This current script does not do anything that you can't already do with an auto-clicker or basic macro creator/recorder (but with more control).