Core/SmartAI: Drop support for SMART_ACTION_SEND_CASTCREATUREORGO. It is unused in the current newest TDB, it never even worked like it should and the exact same purpose of this function is already fulfilled by SMART_ACTION_CALL_CASTEDCREATUREORGO (the correct way).
This commit is contained in:
1 parent
b7d88a3c46
commit
80bd5b363a
3 files changed
+6
-41
No files matched your search
@@ -397,7 +397,7 @@ enum SMART_ACTION
|
||||
SMART_ACTION_THREAT_SINGLE_PCT = 13, // Threat%
|
||||
SMART_ACTION_THREAT_ALL_PCT = 14, // Threat%
|
||||
SMART_ACTION_CALL_AREAEXPLOREDOREVENTHAPPENS = 15, // QuestID
|
||||
SMART_ACTION_SEND_CASTCREATUREORGO = 16, // QuestID, SpellId
|
||||
SMART_ACTION_UNUSED_16 = 16, // UNUSED
|
||||
SMART_ACTION_SET_EMOTE_STATE = 17, // emoteID
|
||||
SMART_ACTION_SET_UNIT_FLAG = 18, // Flags (may be more than one field OR'd together), Target
|
||||
SMART_ACTION_REMOVE_UNIT_FLAG = 19, // Flags (may be more than one field OR'd together), Target
|
||||
@@ -572,12 +572,6 @@ struct SmartAction
|
||||
uint32 threatDEC;
|
||||
} threatPCT;
|
||||
|
||||
struct
|
||||
{
|
||||
uint32 quest;
|
||||
uint32 spell;
|
||||
} castCreatureOrGO;
|
||||
|
||||
struct
|
||||
{
|
||||
uint32 flag1;
|
||||
@@ -623,7 +617,7 @@ struct SmartAction
|
||||
{
|
||||
uint32 creature;
|
||||
uint32 spell;
|
||||
} castedCreatureOrGO;
|
||||
} callCastedCreatureOrGO;
|
||||
|
||||
struct
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user