-
Notifications
You must be signed in to change notification settings - Fork 293
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[12371] Implement spell effects for spells 74452 and 74455
Also limit the targets of 74452 depending on dungeon difficulty
- Loading branch information
Showing
3 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1762,6 +1762,24 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList& | |
case 63482: // Lightning Whirl (h) (Ulduar, Stormcaller Brundir) | ||
unMaxTargets = urand(3, 6); | ||
break; | ||
case 74452: // Conflagration (Saviana, Ruby Sanctum) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
Schmoozerd
Member
|
||
{ | ||
if (m_caster) | ||
{ | ||
switch (m_caster->GetMap()->GetDifficulty()) | ||
{ | ||
case RAID_DIFFICULTY_10MAN_NORMAL: | ||
case RAID_DIFFICULTY_10MAN_HEROIC: | ||
unMaxTargets = 3; | ||
break; | ||
case RAID_DIFFICULTY_25MAN_NORMAL: | ||
case RAID_DIFFICULTY_25MAN_HEROIC: | ||
unMaxTargets = 6; | ||
break; | ||
} | ||
} | ||
break; | ||
} | ||
default: | ||
break; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#ifndef __REVISION_NR_H__ | ||
#define __REVISION_NR_H__ | ||
#define REVISION_NR "12370" | ||
#define REVISION_NR "12371" | ||
#endif // __REVISION_NR_H__ |
in 25 spell casted double times, as i remember...