X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/bb11561d64e299ad7f4a25e689063b99264a16fb..929c590c28463bc9f80f61250858eec6b4cab747:/sc.plp diff --git a/sc.plp b/sc.plp index fc3156c..59ef95c 100644 --- a/sc.plp +++ b/sc.plp @@ -66,9 +66,11 @@ sub coltoggle { <:= coltoggle(qw'size size') :> HP shield - armor - ground - air + ⛨ + ground + dps + air + dps range sight speed @@ -220,10 +222,10 @@ sub showval { && 'L', ), '' . $_->{hp} // '', - '' . ( - $_->{shield} ? sprintf('%.0f%%', 100 * $_->{shield} / $_->{hp}) : ' ' - ), - '' . showval($_, 'armor'), + $_->{shield} ? sprintf('%.0f%%{shield} / $_->{hp} + ) : '' . showval($_, 'armor'), showattack($_, 'ground'), showattack($_, 'air'), '' . showval($_, 'attack', 'range'),