sc: attack order primarily by damage, only fallback to size
authorMischa POSLAWSKY <perl@shiar.org>
Sun, 29 May 2022 12:25:32 +0000 (14:25 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Thu, 2 Jun 2022 21:57:11 +0000 (23:57 +0200)
sc.plp

diff --git a/sc.plp b/sc.plp
index 01b4957c5e07b69489b34ec0a082f5dcd1e6642f..3c018e56c86ab60846cc1a7cc13cc2773845d5fd 100644 (file)
--- a/sc.plp
+++ b/sc.plp
@@ -400,7 +400,7 @@ sub showrangeint {
                        ) for @rows;
                }
                elsif ($get{order} eq 'attack') {
-                       $_->{order} = $_->{hp} / 1024 + $_->{shield} / 1008 + max(
+                       $_->{order} = $_->{hp} / 16384 + max(
                                map {
                                        ($_->{dps} ? $_->{dps}->[-1] :
                                                ($_->{damage} + $_->{upgrade} * 3)