Core/Spells: Allow overriding aura stack amount from CastCustomSpell

This commit is contained in:
Shauren
2011-05-21 21:36:37 +02:00
parent 1e783cc446
commit 78ea0075e1
4 changed files with 12 additions and 24 deletions
+3 -1
View File
@@ -239,16 +239,18 @@ class SpellCastTargets
struct SpellValue
{
explicit SpellValue(SpellEntry const *proto)
explicit SpellValue(SpellEntry const* proto)
{
for (uint32 i = 0; i < MAX_SPELL_EFFECTS; ++i)
EffectBasePoints[i] = proto->EffectBasePoints[i];
MaxAffectedTargets = proto->MaxAffectedTargets;
RadiusMod = 1.0f;
AuraStackAmount = 1;
}
int32 EffectBasePoints[3];
uint32 MaxAffectedTargets;
float RadiusMod;
uint8 AuraStackAmount;
};
enum SpellState