From 728399e3727109937fff58cb3fda6c989c273fa4 Mon Sep 17 00:00:00 2001 From: KayenEQ Date: Sun, 2 Nov 2014 05:35:09 -0500 Subject: [PATCH] Make sure virus is an actual buff before starting timer --- zone/spell_effects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/spell_effects.cpp b/zone/spell_effects.cpp index fb50f1203..b9d1885aa 100644 --- a/zone/spell_effects.cpp +++ b/zone/spell_effects.cpp @@ -158,7 +158,7 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial) } } - if(spells[spell_id].viral_targets > 0) { + if(buffslot >= 0 && spells[spell_id].viral_targets > 0) { if(!viral_timer.Enabled()) viral_timer.Start(1000);