mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
[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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user