<commit_before>/*
 * AscEmu Framework based on ArcEmu MMORPG Server
 * Copyright (C) 2014-2015 AscEmu Team <http://www.ascemu.org/>
 * Copyright (C) 2008-2012 ArcEmu Team <http://www.ArcEmu.org/>
 * Copyright (C) 2005-2007 Ascent Team
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 *
 */

#include "StdAfx.h"

#define WATER_ELEMENTAL         510
#define WATER_ELEMENTAL_NEW     37994
#define PET_IMP                 416
#define PET_VOIDWALKER          1860
#define PET_SUCCUBUS            1863
#define PET_FELHUNTER           417
#define PET_FELGUARD            17252
#define SHADOWFIEND             19668
#define SPIRITWOLF              29264
#define DANCINGRUNEWEAPON       27893

uint32 Pet::GetAutoCastTypeForSpell(SpellEntry* ent)
{
    switch (ent->NameHash)
    {
        //////////////////////////////////////////////////////////////////////////////////////////
        // Warlock Pet Spells
        case SPELL_HASH_BLOOD_PACT:             // Blood Pact
        case SPELL_HASH_FEL_INTELLIGENCE:
        case SPELL_HASH_AVOIDANCE:<commit_msg>Include Creature.h in Pet.cpp<commit_after>/*
 * AscEmu Framework based on ArcEmu MMORPG Server
 * Copyright (C) 2014-2015 AscEmu Team <http://www.ascemu.org/>
 * Copyright (C) 2008-2012 ArcEmu Team <http://www.ArcEmu.org/>
 * Copyright (C) 2005-2007 Ascent Team
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 *
 */

#include "Creature.h"
#include "StdAfx.h"

#define WATER_ELEMENTAL         510
#define WATER_ELEMENTAL_NEW     37994
#define PET_IMP                 416
#define PET_VOIDWALKER          1860
#define PET_SUCCUBUS            1863
#define PET_FELHUNTER           417
#define PET_FELGUARD            17252
#define SHADOWFIEND             19668
#define SPIRITWOLF              29264
#define DANCINGRUNEWEAPON       27893

uint32 Pet::GetAutoCastTypeForSpell(SpellEntry* ent)
{
    switch (ent->NameHash)
    {
        //////////////////////////////////////////////////////////////////////////////////////////
        // Warlock Pet Spells
        case SPELL_HASH_BLOOD_PACT:             // Blood Pact
        case SPELL_HASH_FEL_INTELLIGENCE:
        case SPELL_HASH_AVOIDANCE:
{'fraction_non_alphanumeric': 0.11708482676224612, 'fraction_numerical': 0.04121863799283154, 'mean_word_length': 2.3191278493557976, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7415859', 'n_tokens_mistral': 1070, 'n_tokens_neox': 947, 'n_words': 348}