Scripts/BRC: to not trigger Obsidius' transformation when the incomming damage is higher than Obsidius' total life (oneshot cases)
This commit is contained in:
1 parent
c7ea391fff
commit
344e07e826
1 file changed
+3
+3
@@ -143,6 +143,9 @@ struct boss_ascendant_lord_obsidius : public BossAI
|
||||
|
||||
void DamageTaken(Unit* /*attacker*/, uint32& damage) override
|
||||
{
|
||||
if (damage >= me->GetHealth())
|
||||
return;
|
||||
|
||||
if ((me->HealthBelowPctDamaged(69, damage) && _transformationCount == 0)
|
||||
|| (me->HealthBelowPctDamaged(34, damage) && _transformationCount == 1))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user