TrinityCore/TrinityCore — Issue #3733: [Core/Creatures] Heroic creatures dont succeed immune mask of main entry
Author: Amit86
Created: 2011-10-28 19:23:39+00:00
State: open

Heroic creatures dont succeed immune mask of main entry

Detailed:
Lets take a dungeon for example: Onyxia Lair
This dungeon contains a boss named Onyxia its entry is 10184
If you enter this dungeon in 25 men mode its entry becomes 36538 (difficulty_entry_1 of 10184)

10184 (as main creature) has the following immune mask (for example): 650854267
while 36538 has mechanic_immune_mask 0

36538 should succeed its main creature vaule if the current caule is 0, if its not 0 it should keep whats in there

I know this is kind of a bad example since both have immune mask, but some creatures doesnt and it makes things messed up