From 7177f4cc07f6c88f26ff317c730e4015d833562a Mon Sep 17 00:00:00 2001 From: Schmoozerd Date: Tue, 28 Aug 2012 03:46:53 +0200 Subject: [PATCH] [12149] Add some placeholders for missing target types --- src/game/SharedDefines.h | 16 ++++++++++++++++ src/shared/revision_nr.h | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/src/game/SharedDefines.h b/src/game/SharedDefines.h index 8fb5e6b7b..36c1780ca 100644 --- a/src/game/SharedDefines.h +++ b/src/game/SharedDefines.h @@ -1368,11 +1368,13 @@ enum Targets TARGET_SELF = 1, TARGET_RANDOM_ENEMY_CHAIN_IN_AREA = 2, // only one spell has that, but regardless, it's a target type after all TARGET_RANDOM_FRIEND_CHAIN_IN_AREA = 3, + TARGET_4 = 4, // some plague spells that are infectious - maybe targets not-infected friends inrange TARGET_PET = 5, TARGET_CHAIN_DAMAGE = 6, TARGET_AREAEFFECT_INSTANT = 7, // targets around provided destination point TARGET_AREAEFFECT_CUSTOM = 8, TARGET_INNKEEPER_COORDINATES = 9, // uses in teleport to innkeeper spells + TARGET_11 = 11, // used by spell 4 'Word of Recall Other' TARGET_ALL_ENEMY_IN_AREA = 15, TARGET_ALL_ENEMY_IN_AREA_INSTANT = 16, TARGET_TABLE_X_Y_Z_COORDINATES = 17, // uses in teleport spells and some other @@ -1386,6 +1388,7 @@ enum Targets TARGET_GAMEOBJECT_ITEM = 26, TARGET_MASTER = 27, TARGET_ALL_ENEMY_IN_AREA_CHANNELED = 28, + TARGET_29 = 29, TARGET_ALL_FRIENDLY_UNITS_AROUND_CASTER = 30, // select friendly for caster object faction (in different original caster faction) in TargetB used only with TARGET_ALL_AROUND_CASTER and in self casting range in TargetA TARGET_ALL_FRIENDLY_UNITS_IN_AREA = 31, TARGET_MINION = 32, @@ -1413,6 +1416,8 @@ enum Targets TARGET_LARGE_FRONTAL_CONE = 54, TARGET_ALL_RAID_AROUND_CASTER = 56, TARGET_SINGLE_FRIEND_2 = 57, + TARGET_58 = 58, + TARGET_59 = 59, TARGET_NARROW_FRONTAL_CONE = 60, TARGET_AREAEFFECT_PARTY_AND_CLASS = 61, TARGET_DUELVSPLAYER_COORDINATES = 63, @@ -1420,8 +1425,13 @@ enum Targets TARGET_BEHIND_VICTIM = 65, // used in teleport behind spells, caster/target dependent from spell effect TARGET_RIGHT_FROM_VICTIM = 66, TARGET_LEFT_FROM_VICTIM = 67, + TARGET_68 = 68, + TARGET_69 = 69, + TARGET_70 = 70, TARGET_RANDOM_NEARBY_LOC = 72, // used in teleport onto nearby locations TARGET_RANDOM_CIRCUMFERENCE_POINT = 73, + TARGET_74 = 74, + TARGET_75 = 75, TARGET_DYNAMIC_OBJECT_COORDINATES = 76, TARGET_SINGLE_ENEMY = 77, TARGET_POINT_AT_NORTH = 78, // 78-85 possible _COORDINATES at radius with pi/4 step around target in unknown order, N? @@ -1434,9 +1444,15 @@ enum Targets TARGET_POINT_AT_SW = 85, // from spell desc: "(SW)" TARGET_RANDOM_NEARBY_DEST = 86, // "Test Nearby Dest Random" - random around selected destination TARGET_SELF2 = 87, + TARGET_88 = 88, // Smoke Flare(s) and Hurricane TARGET_DIRECTLY_FORWARD = 89, TARGET_NONCOMBAT_PET = 90, TARGET_91 = 91, + TARGET_92 = 92, + TARGET_94 = 94, + TARGET_95 = 95, + TARGET_96 = 96, + TARGET_97 = 97, TARGET_IN_FRONT_OF_CASTER_30 = 104, TARGET_105 = 105, TARGET_106 = 106, diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index ddd4e0893..ca8f2b9c2 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "12148" + #define REVISION_NR "12149" #endif // __REVISION_NR_H__