mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Spells: Update auraeffects for shapeshift forms with a few missing ones (kills off some more logspam as well)
--HG-- branch : trunk
This commit is contained in:
@@ -2988,33 +2988,45 @@ void AuraEffect::HandleAuraModShapeshift(AuraApplication const * aurApp, uint8 m
|
||||
|
||||
switch(form)
|
||||
{
|
||||
case FORM_CAT:
|
||||
case FORM_GHOUL:
|
||||
case FORM_CAT: // 0x01
|
||||
case FORM_GHOUL: // 0x07
|
||||
PowerType = POWER_ENERGY;
|
||||
break;
|
||||
case FORM_BEAR:
|
||||
case FORM_DIREBEAR:
|
||||
case FORM_BATTLESTANCE:
|
||||
case FORM_BERSERKERSTANCE:
|
||||
case FORM_DEFENSIVESTANCE:
|
||||
|
||||
case FORM_BEAR: // 0x05
|
||||
case FORM_DIREBEAR: // 0x08
|
||||
|
||||
case FORM_BATTLESTANCE: // 0x11
|
||||
case FORM_DEFENSIVESTANCE: // 0x12
|
||||
case FORM_BERSERKERSTANCE: // 0x13
|
||||
PowerType = POWER_RAGE;
|
||||
break;
|
||||
case FORM_TRAVEL:
|
||||
case FORM_AQUA:
|
||||
case FORM_CREATUREBEAR:
|
||||
case FORM_GHOSTWOLF:
|
||||
case FORM_FLIGHT:
|
||||
case FORM_MOONKIN:
|
||||
case FORM_FLIGHT_EPIC:
|
||||
case FORM_METAMORPHOSIS:
|
||||
case FORM_MASTER_ANGLER:
|
||||
case FORM_AMBIENT:
|
||||
case FORM_SHADOW:
|
||||
case FORM_STEALTH:
|
||||
case FORM_UNDEAD:
|
||||
case FORM_SHADOW_DANCE:
|
||||
case FORM_TREE:
|
||||
case FORM_SPIRITOFREDEMPTION:
|
||||
|
||||
case FORM_TREE: // 0x02
|
||||
case FORM_TRAVEL: // 0x03
|
||||
case FORM_AQUA: // 0x04
|
||||
case FORM_AMBIENT: // 0x06
|
||||
|
||||
case FORM_STEVES_GHOUL: // 0x09
|
||||
case FORM_THARONJA_SKELETON: // 0x0A
|
||||
case FORM_TEST_OF_STRENGTH: // 0x0B
|
||||
case FORM_BLB_PLAYER: // 0x0C
|
||||
case FORM_SHADOW_DANCE: // 0x0D
|
||||
case FORM_CREATUREBEAR: // 0x0E
|
||||
case FORM_CREATURECAT: // 0x0F
|
||||
case FORM_GHOSTWOLF: // 0x10
|
||||
|
||||
case FORM_TEST: // 0x14
|
||||
case FORM_ZOMBIE: // 0x15
|
||||
case FORM_METAMORPHOSIS: // 0x16
|
||||
case FORM_UNDEAD: // 0x19
|
||||
case FORM_MASTER_ANGLER: // 0x1A
|
||||
case FORM_FLIGHT_EPIC: // 0x1B
|
||||
case FORM_SHADOW: // 0x1C
|
||||
case FORM_FLIGHT: // 0x1D
|
||||
case FORM_STEALTH: // 0x1E
|
||||
case FORM_MOONKIN: // 0x1F
|
||||
case FORM_SPIRITOFREDEMPTION: // 0x20
|
||||
break;
|
||||
default:
|
||||
sLog->outError("Auras: Unknown Shapeshift Type: %u", GetMiscValue());
|
||||
|
||||
Reference in New Issue
Block a user