diff options
-rwxr-xr-x | tmw-info | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -323,7 +323,7 @@ elif [ "$1" == "mob-search" ]; then DROP_NAME=$(echo "$DROP_NAMES" | awk "{print $"$DROP_COUNT"}") DROP_PERC=$(echo "$DROP_PERCS" | awk "{print $"$DROP_COUNT"}") DROP_PERCENT=$(echo "scale=2; $DROP_PERC / 100" | bc) - DROP_RATIO=$(echo "100 / $DROP_PERCENT" | bc) + DROP_RATIO=$(echo "scale=2; 100 / $DROP_PERCENT" | bc | sed 's/.00$//g' ) #echo "DROP_NAME: $DROP_NAME" #echo "DROP_PERC: $DROP_PERC" echo "$DROP_NAME($DROP_PERCENT% | $DROP_RATIO:1)," >> "$TMW_INFO/mob-drops-$MOB_ID.tmp" |