Skip to content

Commit

Permalink
Add missing items to Targets enum.
Browse files Browse the repository at this point in the history
  • Loading branch information
technoir42 authored and LordJZ committed Oct 17, 2010
1 parent 785b613 commit ee89001
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions SpellWork/Spell/SpellEnums.cs
Expand Up @@ -577,15 +577,22 @@ public 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,
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_10 = 10,
TARGET_11 = 11,
TARGET_12 = 12,
TARGET_13 = 13,
TARGET_14 = 14,
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
TARGET_EFFECT_SELECT = 18, // highly depends on the spell effect
TARGET_19 = 19,
TARGET_ALL_PARTY_AROUND_CASTER = 20,
TARGET_SINGLE_FRIEND = 21,
TARGET_CASTER_COORDINATES = 22, // used only in TargetA, target selection dependent from TargetB
Expand All @@ -595,6 +602,7 @@ public 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, // 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,
Expand All @@ -616,20 +624,31 @@ public enum Targets
TARGET_DYNAMIC_OBJECT_BEHIND = 48,
TARGET_DYNAMIC_OBJECT_LEFT_SIDE = 49,
TARGET_DYNAMIC_OBJECT_RIGHT_SIDE = 50,
TARGET_51 = 51,
TARGET_AREAEFFECT_CUSTOM_2 = 52,
TARGET_CURRENT_ENEMY_COORDINATES = 53, // set unit coordinates as dest, only 16 target B imlemented
TARGET_LARGE_FRONTAL_CONE = 54,
TARGET_55 = 55,
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_62 = 62,
TARGET_DUELVSPLAYER_COORDINATES = 63,
TARGET_INFRONT_OF_VICTIM = 64,
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_71 = 71,
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?
Expand All @@ -642,9 +661,29 @@ public 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,
TARGET_DIRECTLY_FORWARD = 89,
TARGET_NONCOMBAT_PET = 90,
TARGET_91 = 91,
TARGET_92 = 92,
TARGET_93 = 93,
TARGET_94 = 94,
TARGET_95 = 95,
TARGET_96 = 96,
TARGET_97 = 97,
TARGET_98 = 98,
TARGET_99 = 99,
TARGET_100 = 100,
TARGET_101 = 101,
TARGET_102 = 102,
TARGET_103 = 103,
TARGET_IN_FRONT_OF_CASTER_30 = 104,
TARGET_105 = 105,
TARGET_106 = 106,
TARGET_107 = 107,
TARGET_108 = 108,
TARGET_109 = 109,
TARGET_110 = 110,
};

///<summary>
Expand Down

0 comments on commit ee89001

Please sign in to comment.