[7523] Fixed: players will now drop flag in battleground if they cast immunity buff on themselves. Author: `win

TODO: players who carry flag in bg are imune to immunity buffs casted by friendly players. (todo added to code).
    Bug: if paladin casts Hand of protection on flag carrier - flag will be dropped, but he should get "target is immune" message.
    Fixed: Do not call Battleground::Update for battleground template objects.
    Fixed: Do not allow immune player to click on object in battleground (not sure if this is correct in all cases).

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-03-24 09:36:50 -06:00
1 parent 9dfe48747f
commit 7d9a71a6cf
8 files changed
+90 -145

No files matched your search

-2
View File
@@ -548,8 +548,6 @@ bool IsPositiveEffect(uint32 spellId, uint32 effIndex, bool deep)
switch(spellId)
{
case 23333: case 23335: case 34976: // BG spell
return true;
case 28441: // not positive dummy spell
case 37675: // Chaos Blast
case 41519: // Mark of Stormrage