eve-seat / seat

SeAT 0x. [UNSUPPORTED]
https://github.com/eveseat/seat
MIT License
69 stars 38 forks source link

Fix sovereignty bonus on tower strontium consumption and improve algo #399

Closed warlof closed 9 years ago

warlof commented 9 years ago
Zumochi commented 9 years ago

This is nice but it also needs faction towers. The page on the Evelopedia is still accurate AFAIK to use as source: https://wiki.eveonline.com/en/wiki/Starbase#Fuel_Usage

MilosRasic commented 9 years ago
$tower_size = $tower_type_name[3];

is not a good was to get tower size, because of already mentioned faction towers but especially since Large towers won't have Large in the end. A quick and dirty fix:

            $tower_size = $tower_type_name[count($tower_type_name) - 1];
            if ($tower_size == 'Tower')
                $tower_size = 'Large';
warlof commented 9 years ago

Well, faction tower are not yet take in charge. So not fault of my commit. I'm working on an improvement.

warlof commented 9 years ago

fix in #400