mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
[Bug Fix] Do not check tics remaining on non-buff spells (#1633)
This commit is contained in:
parent
657cbbcabe
commit
c30dbf6628
@ -164,7 +164,7 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial, int level_ove
|
|||||||
std::string buf = fmt::format(
|
std::string buf = fmt::format(
|
||||||
"{} {} {} {}",
|
"{} {} {} {}",
|
||||||
caster ? caster->GetID() : 0,
|
caster ? caster->GetID() : 0,
|
||||||
buffs[buffslot].ticsremaining,
|
buffslot >= 0 ? buffs[buffslot].ticsremaining : 0,
|
||||||
caster ? caster->GetLevel() : 0,
|
caster ? caster->GetLevel() : 0,
|
||||||
buffslot
|
buffslot
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user