Post what you've discovered, guides, hints & tips
#76766 by Xticks Sat Nov 24, 2018 3:08 pm
Here's an awfully bad piece of python to find the best art setup. So far it just considers rof and %damage. It's rudimentary but someone asked, so why hog it when i can try to drive you mad with it.

It actually found a better setup for my Crystal, so LWG damage went from 3970k to 4043k and coincidentally, armor reduction per mine climbed from 15.7k to 16.8k

Code: Select all
#
# A code abomination brought to you by xticks to torment you in your sleep
#

from itertools import combinations
from copy import deepcopy

slots = 5

names = ['',
'Exceptional Weapon Hypercharger',
'Superior Weapon Hypercharger',
'Weapon Hypercharger',
'Energy Booster'
]

arts = [
{'name': 1, 'rof':  82.3, 'dmg':    0, 'Dlvl': 130, 'Clvl': 124, 'rank': 1},
{'name': 1, 'rof':  64.3, 'dmg':    0, 'Dlvl':  75, 'Clvl':  88, 'rank': 2},
{'name': 1, 'rof':  56.9, 'dmg': 34.8, 'Dlvl': 130, 'Clvl': 109, 'rank': 8},
{'name': 1, 'rof':  56.6, 'dmg': 49.4, 'Dlvl': 130, 'Clvl': 115, 'rank': 9},
{'name': 2, 'rof':  52.0, 'dmg': 44.8, 'Dlvl': 130, 'Clvl': 129, 'rank':11},
{'name': 2, 'rof':  48.8, 'dmg': 60.2, 'Dlvl': 130, 'Clvl': 107, 'rank':13},
{'name': 4, 'rof':   0.0, 'dmg':165.8, 'Dlvl': 115, 'Clvl':  98, 'rank': 1},
{'name': 4, 'rof':   0.0, 'dmg':147.3, 'Dlvl': 130, 'Clvl': 158, 'rank': 2},
{'name': 4, 'rof':   0.0, 'dmg':143.5, 'Dlvl': 125, 'Clvl': 121, 'rank': 3},
{'name': 4, 'rof':  31.6, 'dmg': 82.3, 'Dlvl': 130, 'Clvl': 116, 'rank':15}
]

rofbonus = 1.3
dmgbonus = 2.5

def pad(value , padding, align='r'):
    x = len(str(value))
    p = (padding - x) * ' '
    if align == 'l':
        return str(value) + p
    return p + str(value)

def genName(art):
    global names
    name = pad(names[art['name']], 34, 'l') + " "
    droplvl = pad(art['Dlvl'], 3)
    curlvl = pad(art['Clvl'], 3)
    rank = pad(art['rank'], 3)
    name += "Level: {}/{}   rank: {}".format(droplvl, curlvl, rank)
    return name
   
counter = 0
maximum = 0
for combo in combinations(arts, slots):
    rof = 1 + rofbonus
    dmg = 1 + dmgbonus
    for art in combo:
        rof += art['rof'] / 100
        dmg += art['dmg'] / 100
    total = rof * dmg
   
    if total > maximum:
        maximum = total
        winner = deepcopy(combo)
        #for art in combo:
        #    print(genName(art))
        #print (rof, dmg, total)
        #print('current max:' + str(maximum))
        #print('')
    counter += 1
   
print('')
print('I tried {} combinations and the winning one is:\n'.format(counter))
for art in winner:
    print(genName(art))



What you don't do can be a destructive force. (Eleanor Roosevelt)
Failure: a few errors in judgement, repeated every day.
#76775 by Xticks Sun Nov 25, 2018 4:22 pm
My arts are not completely useless but still far away from what people had in 2017:

arts.png
arts.png (87.8 KiB) Viewed 576 times


Based on best arts

What you don't do can be a destructive force. (Eleanor Roosevelt)
Failure: a few errors in judgement, repeated every day.

Who is online

Users browsing this forum: No registered users and 1 guest

About

Welcome to the AstroFlux forum! This forum is here to provide you with a friendly environment where you can ask questions and receive helpful information from experienced players. Please Join the discussions in the Astroflux forums. The game developers are active here and are happy to hear what you think!

AstroFlux is a MMO space shooter with numerous weapons, upgrades and abilities. Explore the galaxy and collect space junk to gain resources for new technologies.