Scripts/Ulduar/XT002:

- Fix heart phase triggering if boss recovered health from scrapbots previously
- Fix scrapbot enter vehicle visual
- Allover cleanup and codestyle appliance
This commit is contained in:
Machiavelli
2011-06-21 01:15:43 +02:00
parent 508fcd3eb3
commit acb47d719c
2 changed files with 225 additions and 228 deletions
-3
View File
@@ -5832,9 +5832,6 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
// Todo: Check if this amount is blizzlike
vehicleBase->ModifyHealth(int32(vehicleBase->CountPctFromMaxHealth(1)));
// Despawns the scrapbot
ToCreature()->DespawnOrUnsummon();
break;
}
}