Show
Ignore:
Timestamp:
11/22/08 01:55:16 (17 years ago)
Author:
yumileroy
Message:

*Alterac Valley. By Bogie and Balrok. Note: some core contents are modified. Will fix them later. Some sql are disabled because of possible conflict with offical DB. Use them at your own risk.

Original author: megamage
Date: 2008-11-21 19:45:49-06:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/SpellHandler.cpp

    r279 r283  
    3434#include "ScriptCalls.h" 
    3535#include "Totem.h" 
    36 #include "TemporarySummon.h" 
    3736 
    3837void WorldSession::HandleUseItemOpcode(WorldPacket& recvPacket) 
     
    378377                return; 
    379378            } 
    380             else if (spellInfo->Effect[i] == SPELL_EFFECT_SUMMON &&  
    381                 (spellInfo->EffectMiscValueB[i] == SUMMON_TYPE_POSESSED ||  
    382                  spellInfo->EffectMiscValueB[i] == SUMMON_TYPE_POSESSED2 ||  
    383                  spellInfo->EffectMiscValueB[i] == SUMMON_TYPE_POSESSED3)) 
    384             { 
    385                 // Possession is removed in the UnSummon function 
    386                 ((TemporarySummon*)_player->GetCharm())->UnSummon(); 
    387             } 
    388379        } 
    389380    }