mirror of
https://github.com/mangosfour/server.git
synced 2025-12-21 10:37:06 +00:00
[8944] Use DBC data for summon effect functionality.
Also some more local fixes: * Alow multiply same type guardians req. for some spells. * Apply spell duration mods to summons Many summon spells must start work. Great work qsa! :) Thanks The_Game_Master for updaing patch to recent sources. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
e8b1905630
commit
ffca4301d0
10 changed files with 136 additions and 213 deletions
|
|
@ -1544,17 +1544,15 @@ struct StableSlotPricesEntry
|
|||
uint32 Price;
|
||||
};
|
||||
|
||||
/* unused currently
|
||||
struct SummonPropertiesEntry
|
||||
{
|
||||
uint32 Id; // 0
|
||||
uint32 Group; // 1, enum SummonPropGroup, 0 - can't be controlled?, 1 - something guardian?, 2 - pet?, 3 - something controllable?, 4 - taxi/mount?
|
||||
uint32 Group; // 1, enum SummonPropGroup
|
||||
uint32 FactionId; // 2, 14 rows > 0
|
||||
uint32 Type; // 3, enum SummonPropType
|
||||
uint32 Slot; // 4, 0-6
|
||||
uint32 Slot; // 4, if type = SUMMON_PROP_TYPE_TOTEM, its actual slot 0-6
|
||||
uint32 Flags; // 5, enum SummonPropFlags
|
||||
};
|
||||
*/
|
||||
|
||||
#define MAX_TALENT_RANK 5
|
||||
#define MAX_PET_TALENT_RANK 3 // use in calculations, expected <= MAX_TALENT_RANK
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue