git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e162106
)
sc: attack order primarily by damage, only fallback to size
author
Mischa POSLAWSKY
<perl@shiar.org>
Sun, 29 May 2022 12:25:32 +0000
(14:25 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Thu, 2 Jun 2022 21:57:11 +0000
(23:57 +0200)
sc.plp
patch
|
blob
|
history
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} / 1
024 + $_->{shield} / 1008
+ max(
+ $_->{order} = $_->{hp} / 1
6384
+ max(
map {
($_->{dps} ? $_->{dps}->[-1] :
($_->{damage} + $_->{upgrade} * 3)