Show
Ignore:
Timestamp:
11/22/08 00:35:41 (17 years ago)
Author:
yumileroy
Message:

Delete possessed AI only on creature delete.

Original author: gvcoman
Date: 2008-11-16 14:38:02-05:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/SpellAuras.h

    r257 r272  
    1111 * This program is distributed in the hope that it will be useful, 
    1212 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
    1414 * GNU General Public License for more details. 
    1515 * 
    1616 * You should have received a copy of the GNU General Public License 
    1717 * along with this program; if not, write to the Free Software 
    18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
     18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 
    1919 */ 
    2020#ifndef TRINITY_SPELLAURAS_H 
     
    186186        void HandleModRating(bool apply, bool Real); 
    187187        void HandleModTargetResistance(bool apply, bool Real); 
     188        void HandleAuraAttackPowerAttacker(bool apply, bool Real); 
    188189        void HandleAuraModAttackPowerPercent(bool apply, bool Real); 
    189190        void HandleAuraModRangedAttackPowerPercent(bool apply, bool Real); 
    190191        void HandleAuraModRangedAttackPowerOfStatPercent(bool apply, bool Real); 
    191192        void HandleSpiritOfRedemption(bool apply, bool Real); 
     193        void HandleAuraHealingPct(bool apply, bool Real); 
    192194        void HandleModManaRegen(bool apply, bool Real); 
    193195        void HandleComprehendLanguage(bool apply, bool Real); 
     196        void HandleAuraHealing(bool apply, bool Real); 
    194197        void HandleShieldBlockValue(bool apply, bool Real); 
    195198        void HandleModSpellCritChanceShool(bool apply, bool Real); 
     
    251254            uint8 slot = GetAuraSlot(); 
    252255 
    253             // only aura in slot with charges and without stack limitation 
     256            // only aura inslot with charges and without stack limitation 
    254257            if (slot < MAX_AURAS && m_procCharges >= 1 && GetSpellProto()->StackAmount==0) 
    255258                SetAuraApplication(slot, m_procCharges - 1);