From a5d9faf8ea69458847cdb83c450319b45f1ddd5c Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Thu, 4 Jun 2015 01:02:48 -0400 Subject: [PATCH] Allow bard DOTs to get random extra tick This extra tick business needs to be figured out more ... bard invul and crescendo songs DO NOT get this extra tick, but DOTs do --- zone/effects.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zone/effects.cpp b/zone/effects.cpp index c1d037670..55e56cdac 100644 --- a/zone/effects.cpp +++ b/zone/effects.cpp @@ -423,7 +423,9 @@ int32 Mob::GetActSpellDuration(uint16 spell_id, int32 duration) // unsure on the exact details, but bard songs that don't cost mana at some point get an extra tick, 60 for now // a level 53 bard reported getting 2 tics - if (IsShortDurationBuff(spell_id) && IsBardSong(spell_id) && spells[spell_id].mana == 0 && GetClass() == BARD && GetLevel() > 60) + // bard DOTs do get this extra tick, but beneficial long bard songs don't? (invul, crescendo) + if ((IsShortDurationBuff(spell_id) || IsDetrimentalSpell(spell_id)) && IsBardSong(spell_id) && + spells[spell_id].mana == 0 && GetClass() == BARD && GetLevel() > 60) tic_inc++; float focused = ((duration * increase) / 100.0f) + tic_inc; int ifocused = static_cast(focused);