Adjusted stat display so that aveDam and offhandDam have 4 columns

master
Durel 7 years ago
parent 6273a35a26
commit b263d0e02c

@ -20,6 +20,7 @@ Version history:
v0.2 - 2017-08-12 - Converted scripts into a plugin
v0.3 - 2017-09-26 - Functional plugin published to github
v1.0 - 2017-10-01 - It's alive! Most pieces are verified by alpha testers.
v2.0 - 2017-10-03 - Bumping major because mush plugins think v1.10 == v1.1 :P We'll use 2.0001 next.
Description
===========
@ -84,7 +85,7 @@ dbot.callback : Module to help manage callback functions and parameters
save_state="y"
date_written="2017-08-12 08:45:15"
requires="4.98"
version="1.9"
version="2.0001"
>
<description trim="y">
<![CDATA[
@ -12763,7 +12764,7 @@ end -- if
-- Returns "didFindAStat", retval. This is helpful in knowing if there was actually a difference
-- between the two given sets. The "msgString" is a prefix appended to each display line. The
-- between the two given sets. The "msgString" is a prefix prepended to each display line. The
-- "doPrintHeader" boolean indicates if we should print a stat header before displaying the stats.
function inv.set.displayDiff(set1, set2, level, msgString, doPrintHeader)
if (set1 == nil) or (set2 == nil) then
@ -12895,7 +12896,7 @@ function inv.set.displayStats(setStats, msgString, doPrintHeader, doDisplayIfZer
end -- for
setStats.totResists = totResists
local statSizes = { { avedam = 3 }, { offhandDam = 3 }, { hit = 3 }, { dam = 3 },
local statSizes = { { avedam = 4 }, { offhandDam = 4 }, { hit = 3 }, { dam = 3 },
{ int = 3 }, { wis = 3 }, { luck = 3 }, { str = 3 }, { dex = 3 }, { con = 3 },
{ totResists = 3 }, { hp = 4 }, { mana = 4 }, { moves = 4 } }

Loading…
Cancel
Save