mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-22 22:12:26 +00:00
Fix buff tics
This will not fade buffs at 6s :P
This commit is contained in:
parent
5f588934a9
commit
83548ee405
@ -3394,7 +3394,7 @@ void Mob::BuffProcess()
|
|||||||
{
|
{
|
||||||
--buffs[buffs_i].ticsremaining;
|
--buffs[buffs_i].ticsremaining;
|
||||||
|
|
||||||
if ((buffs[buffs_i].ticsremaining == 0 && !(IsShortDurationBuff(buffs[buffs_i].spellid) || IsBardSong(buffs[buffs_i].spellid))) || buffs[buffs_i].ticsremaining < 0) {
|
if (buffs[buffs_i].ticsremaining < 0) {
|
||||||
Log.Out(Logs::Detail, Logs::Spells, "Buff %d in slot %d has expired. Fading.", buffs[buffs_i].spellid, buffs_i);
|
Log.Out(Logs::Detail, Logs::Spells, "Buff %d in slot %d has expired. Fading.", buffs[buffs_i].spellid, buffs_i);
|
||||||
BuffFadeBySlot(buffs_i);
|
BuffFadeBySlot(buffs_i);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user