*Allow custom spell to change radius mod.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-29 00:11:15 -05:00
parent 4121087a8e
commit 220dcb65dd
4 changed files with 15 additions and 23 deletions
+3
View File
@@ -213,9 +213,11 @@ struct SpellValue
for(uint32 i = 0; i < 3; ++i)
EffectBasePoints[i] = proto->EffectBasePoints[i];
MaxAffectedTargets = proto->MaxAffectedTargets;
RadiusMod = 1.0f;
}
int32 EffectBasePoints[3];
uint32 MaxAffectedTargets;
float RadiusMod;
};
enum SpellState
@@ -473,6 +475,7 @@ class Spell
void CleanupTargetList();
void SetSpellValue(SpellValueMod mod, int32 value);
//void SetSpellValue(SpellValueMod mod, float value);
protected:
void SendLoot(uint64 guid, LootType loottype);