[8134] Fixed typo in ACTION_T_MORPH_TO_ENTRY_OR_MODEL check. Author: VladimirMangos
--HG-- branch : trunk
This commit is contained in:
@@ -473,9 +473,8 @@ void CreatureEventAIMgr::LoadCreatureEventAI_Scripts()
|
|||||||
action.morph.modelId = 0;
|
action.morph.modelId = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case ACTION_T_SOUND:
|
case ACTION_T_SOUND:
|
||||||
if (!sSoundEntriesStore.LookupEntry(action.sound.soundId))
|
if (!sSoundEntriesStore.LookupEntry(action.sound.soundId))
|
||||||
sLog.outErrorDb("CreatureEventAI: Event %u Action %u uses non-existant SoundID %u.", i, j+1, action.sound.soundId);
|
sLog.outErrorDb("CreatureEventAI: Event %u Action %u uses non-existant SoundID %u.", i, j+1, action.sound.soundId);
|
||||||
|
|||||||
@@ -251,6 +251,7 @@ enum SpellCategory
|
|||||||
#define SPELL_ATTR_UNAFFECTED_BY_INVULNERABILITY 0x20000000 // 29 unaffected by invulnerability (hmm possible not...)
|
#define SPELL_ATTR_UNAFFECTED_BY_INVULNERABILITY 0x20000000 // 29 unaffected by invulnerability (hmm possible not...)
|
||||||
#define SPELL_ATTR_BREAKABLE_BY_DAMAGE 0x40000000 // 30 breakable by damage?
|
#define SPELL_ATTR_BREAKABLE_BY_DAMAGE 0x40000000 // 30 breakable by damage?
|
||||||
#define SPELL_ATTR_CANT_CANCEL 0x80000000 // 31 positive aura can't be canceled
|
#define SPELL_ATTR_CANT_CANCEL 0x80000000 // 31 positive aura can't be canceled
|
||||||
|
|
||||||
#define SPELL_ATTR_EX_DISMISS_PET 0x00000001 // 0 dismiss pet and not allow to summon new one?
|
#define SPELL_ATTR_EX_DISMISS_PET 0x00000001 // 0 dismiss pet and not allow to summon new one?
|
||||||
#define SPELL_ATTR_EX_DRAIN_ALL_POWER 0x00000002 // 1 use all power (Only paladin Lay of Hands and Bunyanize)
|
#define SPELL_ATTR_EX_DRAIN_ALL_POWER 0x00000002 // 1 use all power (Only paladin Lay of Hands and Bunyanize)
|
||||||
#define SPELL_ATTR_EX_CHANNELED_1 0x00000004 // 2 channeled target
|
#define SPELL_ATTR_EX_CHANNELED_1 0x00000004 // 2 channeled target
|
||||||
|
|||||||
Reference in New Issue
Block a user