-
Notifications
You must be signed in to change notification settings - Fork 49
pet_autocast_spell_list
killerwife edited this page Jun 9, 2026
·
17 revisions
Back to world database list of tables.
Functions as pet version of creature spell lists
Designed to enable case-by-case targeting and scripting (using conditions) for player-controlled pets.
Best example is Dash ability, which is not meant to be used while in melee and not chasing in any way. Previously this logic was estimated through guesswork functions and logic hardcoded in core. It is meant to fully remove the guesswork once an entry for a spell is defined in this table and use the supplied column data as the only logic.
Hunter pet is scripted using CreatureEntry: 1 (same way as other pet tables)
| Field | Type | Null | Key | Default | Comment |
|---|---|---|---|---|---|
| CreatureEntry | int unsigned | NO | Primary Key | 0 | creature_template.Entry |
| SpellId | int unsigned | NO | NULL | 0 | spell_template.Id |
| CombatCondition | int | NO | NULL | -1 | combat_condition.Id |
| TargetId | int unsigned | NO | NULL | 0 | creature_spell_targeting.Id |
| Comments | varchar(255) unsigned | NO | NULL | 0 | Description of spell use |