[Bug Fix] Illusions will now properly display armor to other clients when they zone in. (#1958)

* Fix for illusion wear change

On zone in, mobs with illusions were not displaying correct armor.

* [Bug Fix] Illusions will now properly display armor to other clients when they zone in

better looping
This commit is contained in:
KayenEQ
2022-02-03 22:04:15 -05:00
committed by GitHub
parent cc0371c16e
commit 5ce2889210
7 changed files with 52 additions and 0 deletions
+8
View File
@@ -1460,6 +1460,10 @@ void Mob::ApplyAABonuses(const AA::Rank &rank, StatBonuses *newbon)
break;
}
case SE_Illusion:
newbon->Illusion = true;
break;
case SE_IllusionPersistence:
newbon->IllusionPersistence = base_value;
break;
@@ -3541,6 +3545,10 @@ void Mob::ApplySpellsBonuses(uint16 spell_id, uint8 casterlevel, StatBonuses *ne
break;
}
case SE_Illusion:
new_bonus->Illusion = true;
break;
case SE_IllusionPersistence:
new_bonus->IllusionPersistence = effect_value;
break;