mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-19 03:45:43 +00:00
fix(DB): Scholomance Occultists behavior (#5314)
This commit is contained in:
@@ -441,10 +441,13 @@ bool Creature::UpdateEntry(uint32 Entry, const CreatureData* data, bool changele
|
||||
SetAttackTime(RANGED_ATTACK, cInfo->RangeAttackTime);
|
||||
|
||||
uint32 previousHealth = GetHealth();
|
||||
uint32 previousPlayerDamageReq = m_PlayerDamageReq;
|
||||
|
||||
SelectLevel(changelevel);
|
||||
if (previousHealth > 0)
|
||||
{
|
||||
SetHealth(previousHealth);
|
||||
m_PlayerDamageReq = previousPlayerDamageReq;
|
||||
}
|
||||
|
||||
SetMeleeDamageSchool(SpellSchools(cInfo->dmgschool));
|
||||
|
||||
Reference in New Issue
Block a user