DB/SummonProperties: Difference between revisions

From wowdev
Jump to navigation Jump to search
mNo edit summary
 
Line 61: Line 61:
! width="400" | Description
! width="400" | Description
|-
|-
| 1 || Attack Summoner
| 0x00000001 || Attack Summoner
|-
|-
| 2 || Help when Summoned in combat
| 0x00000002 || Help when Summoned in combat
|-
|-
| 3 || Use Level Offset
| 0x00000004 || Use Level Offset
|-
|-
| 4 || Despawn on Summoner Death
| 0x00000008 || Despawn on Summoner Death
|-
|-
| 5 || Only Visible to Summoner
| 0x00000010 || Only Visible to Summoner
|-
|-
| 6 || Cannot Dismiss Pet
| 0x00000020 || Cannot Dismiss Pet
|-
|-
| 7 || Use Demon Timeout
| 0x00000040 || Use Demon Timeout
|-
|-
| 8 || Unlimited Summons
| 0x00000080 || Unlimited Summons
|-
|-
| 9 || Use Creature Level
| 0x00000100 || Use Creature Level
|-
|-
| 10 || Join Summoner's Spawn Group
| 0x00000200 || Join Summoner's Spawn Group
|-
|-
| 11 || Do Not Toggle
| 0x00000400 || Do Not Toggle
|-
|-
| 12 || Despawn When Expired
| 0x00000800 || Despawn When Expired
|-
|-
| 13 || Use Summoner Faction
| 0x00001000 || Use Summoner Faction
|-
|-
| 14 || Do Not Follow Mounted Summoner
| 0x00002000 || Do Not Follow Mounted Summoner
|-
|-
| 15 || Save Pet Autocast
| 0x00004000 || Save Pet Autocast
|-
|-
| 16 || Ignore Summoner's Phase (Wild Only)
| 0x00008000 || Ignore Summoner's Phase (Wild Only)
|-
|-
| 17 || Only Visible to Summoner's Group
| 0x00010000 || Only Visible to Summoner's Group
|-
|-
| 18 || Despawn on Summoner Logout
| 0x00020000 || Despawn on Summoner Logout
|-
|-
| 19 || Cast Ride Vehicle Spell on Summoner
| 0x00040000 || Cast Ride Vehicle Spell on Summoner
|-
|-
| 20 || Guardian Acts Like a Pet
| 0x00080000 || Guardian Acts Like a Pet
|-
|-
| 21 || Don't Snap Sessile To Ground
| 0x00100000 || Don't Snap Sessile To Ground
|-
|-
| 22 || Summons from Battle Pet Journal
| 0x00200000 || Summons from Battle Pet Journal
|-
|-
| 23 || Unit Clutter
| 0x00400000 || Unit Clutter
|-
|-
| 24 || Default Name Color
| 0x00800000 || Default Name Color
|-
|-
| 25 || Use Own Invisibility Detection (Ignore Owner's Invisibility Detection)
| 0x01000000 || Use Own Invisibility Detection (Ignore Owner's Invisibility Detection)
|-
|-
| 26 || Despawn When Replaced (Totem Slots Only)
| 0x02000000 || Despawn When Replaced (Totem Slots Only)
|-
|-
| 27 || Despawn When Teleporting Out of Range
| 0x04000000 || Despawn When Teleporting Out of Range
|-
|-
| 28 || Summoned at Group Formation Position
| 0x08000000 || Summoned at Group Formation Position
|-
|-
| 29 || Don't Despawn On Summoner's Death
| 0x10000000 || Don't Despawn On Summoner's Death
|-
|-
| 30 || Use Title As Creature Name
| 0x20000000 || Use Title As Creature Name
|-
|-
| 31 || Attackable By Summoner
| 0x40000000 || Attackable By Summoner
|-
|-
| 32 || Don't dismiss when an encounter is aborted
| 0x80000000 || Don't dismiss when an encounter is aborted
|-
|-
| 33 || Flag 33 (Coming soon!)
|}
|}



Latest revision as of 20:23, 2 June 2022

≥ BC

struct SummonPropertiesEntry
{
    uint32  Id;                                             // 0
    uint32  Control;                                        // 1, 0 : - NONE -, 1 : Guardian, 2 : Pet, 3 : Possessed	, 4 : Possessed Vehicle, 5 : Vehicle (Wild, but Ride Spell will be cast)	
    uint32  Faction;                                        // 2, 14 rows > 0
    uint32  Type;                                           // 3, see enum below
    uint32  Slot;                                           // 4, [-1]-[6]. 0 : None,  1-4 : Totem 1-4, 5: Critter, 6: Quest (Players Only), -1 = Any Available Totem
    uint32  Flags;                                          // 5 see enum below
};

6.0.1.18179

struct SummonPropertiesRec {
  uint32_t m_id;
  uint32_t m_control;
  uint32_t m_faction;
  uint32_t m_title;
  uint32_t m_slot;
  uint32_t m_flags;
};

Summon Types (3.3.5)

ID Name
0 None
1 Pet
2 Guardian
3 Minion
4 Totem
5 Mini pet
6 Guardian2
7 Wild2
8 Wild3
9 Vehicle
10 Vehicle2
11 Lightwell
12 Jeeves

Flags (from Classic TBC client)

Value Description
0x00000001 Attack Summoner
0x00000002 Help when Summoned in combat
0x00000004 Use Level Offset
0x00000008 Despawn on Summoner Death
0x00000010 Only Visible to Summoner
0x00000020 Cannot Dismiss Pet
0x00000040 Use Demon Timeout
0x00000080 Unlimited Summons
0x00000100 Use Creature Level
0x00000200 Join Summoner's Spawn Group
0x00000400 Do Not Toggle
0x00000800 Despawn When Expired
0x00001000 Use Summoner Faction
0x00002000 Do Not Follow Mounted Summoner
0x00004000 Save Pet Autocast
0x00008000 Ignore Summoner's Phase (Wild Only)
0x00010000 Only Visible to Summoner's Group
0x00020000 Despawn on Summoner Logout
0x00040000 Cast Ride Vehicle Spell on Summoner
0x00080000 Guardian Acts Like a Pet
0x00100000 Don't Snap Sessile To Ground
0x00200000 Summons from Battle Pet Journal
0x00400000 Unit Clutter
0x00800000 Default Name Color
0x01000000 Use Own Invisibility Detection (Ignore Owner's Invisibility Detection)
0x02000000 Despawn When Replaced (Totem Slots Only)
0x04000000 Despawn When Teleporting Out of Range
0x08000000 Summoned at Group Formation Position
0x10000000 Don't Despawn On Summoner's Death
0x20000000 Use Title As Creature Name
0x40000000 Attackable By Summoner
0x80000000 Don't dismiss when an encounter is aborted