From 5f58b15d8fcd9f201f9df475e73d25c7fae8c99e Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Sun, 18 Jan 2015 12:46:56 -0500 Subject: [PATCH] Fix poison monster ability from legacy scenarios activating on all attacks instead of just the first, for monsters with multiple attacks --- src/boe.combat.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/boe.combat.cpp b/src/boe.combat.cpp index 1bd34ca0..b1b5c212 100644 --- a/src/boe.combat.cpp +++ b/src/boe.combat.cpp @@ -2416,7 +2416,10 @@ void monster_attack_pc(short who_att,short target) { case eDamageType::DEMON: add_string_to_buf(" Unholy touch!"); break; } break; - case eMonstAbil::STATUS: case eMonstAbil::STATUS2: + case eMonstAbil::STATUS2: + // STATUS2 is active only on attack #1; STATUS is active on all attacks + if(i > 0) continue; + case eMonstAbil::STATUS: switch(abil.second.gen.stat) { case eStatus::POISON: add_string_to_buf(" Poisonous!"); break; case eStatus::DISEASE: add_string_to_buf(" Causes disease!"); break;