mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-19 12:21:34 +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)
|
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)
|
if (i == slot)
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user