From ea74e1252ae98e5a070d514882059f038c76b96e Mon Sep 17 00:00:00 2001 From: Ben Lubar Date: Sun, 8 Feb 2015 13:55:39 -0600 Subject: [PATCH] fix attribute-changing syndromes in show-unit-syndromes --- scripts/show-unit-syndromes.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/show-unit-syndromes.rb b/scripts/show-unit-syndromes.rb index 087f4343c..54860b48c 100644 --- a/scripts/show-unit-syndromes.rb +++ b/scripts/show-unit-syndromes.rb @@ -775,12 +775,12 @@ def get_effect(logger, ce, ticks, showdisplayeffects) color = Output::BLUE when "PHYS_ATT_CHANGE" name = "Physical" - data = get_att_pairs(ce.phys_att_unk, ce.phys_att_perc, true) + data = get_att_pairs(ce.phys_att_add, ce.phys_att_perc, true) desc = data[0] color = data[1] when "MENT_ATT_CHANGE" name = "Mental" - data = get_att_pairs(ce.ment_att_unk, ce.ment_att_perc, false) + data = get_att_pairs(ce.ment_att_add, ce.ment_att_perc, false) desc = data[0] color = data[1] when "MATERIAL_FORCE_MULTIPLIER"