mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 14:41:28 +00:00
Fix AffectedBySpellExcludingSlot
This commit is contained in:
parent
b468945eb7
commit
771c3b175e
@ -5963,7 +5963,8 @@ bool Mob::TryDeathSave() {
|
||||
|
||||
bool Mob::AffectedBySpellExcludingSlot(int slot, int effect)
|
||||
{
|
||||
for (int i = 0; i <= EFFECT_COUNT; i++)
|
||||
int buff_count = GetMaxTotalSlots();
|
||||
for (int i = 0; i < buff_count; i++)
|
||||
{
|
||||
if (i == slot)
|
||||
continue;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user