mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 10:31:29 +00:00
Make sure virus is an actual buff before starting timer
This commit is contained in:
parent
51a3302288
commit
728399e372
@ -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())
|
if(!viral_timer.Enabled())
|
||||||
viral_timer.Start(1000);
|
viral_timer.Start(1000);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user