Merge pull request #541 from BenLubar/fix-show-unit-syndromes

Fix show-unit-syndromes (part 2)
develop
Lethosor 2015-02-08 15:48:40 -05:00
commit 383baea8da
1 changed files with 2 additions and 2 deletions

@ -775,12 +775,12 @@ def get_effect(logger, ce, ticks, showdisplayeffects)
color = Output::BLUE color = Output::BLUE
when "PHYS_ATT_CHANGE" when "PHYS_ATT_CHANGE"
name = "Physical" 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] desc = data[0]
color = data[1] color = data[1]
when "MENT_ATT_CHANGE" when "MENT_ATT_CHANGE"
name = "Mental" 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] desc = data[0]
color = data[1] color = data[1]
when "MATERIAL_FORCE_MULTIPLIER" when "MATERIAL_FORCE_MULTIPLIER"