Core/Conditions: Convert npc_spellclick_spells data to condition system. This implements CONDITION_SOURCE_TYPE_SPELL_CLICK_EVENT (previous CONDITION_SOURCE_TYPE_UNUSED_18). Wiki needs to be updated accordingly.
This commit is contained in:
@@ -337,12 +337,7 @@ std::string GetScriptCommandName(ScriptCommands command);
|
||||
struct SpellClickInfo
|
||||
{
|
||||
uint32 spellId;
|
||||
uint32 questStart; // quest start (quest must be active or rewarded for spell apply)
|
||||
uint32 questEnd; // quest end (quest must not be rewarded for spell apply)
|
||||
bool questStartCanActive; // if true then quest start can be active (not only rewarded)
|
||||
uint8 castFlags;
|
||||
uint32 auraRequired;
|
||||
uint32 auraForbidden;
|
||||
SpellClickUserTypes userType;
|
||||
|
||||
// helpers
|
||||
|
||||
Reference in New Issue
Block a user