mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[10725] Add a few comments for SUMMON_PROP_TYPE_CRITTER
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
8a1c5bd800
commit
6e1605caef
3 changed files with 5 additions and 2 deletions
|
|
@ -1632,7 +1632,7 @@ struct SummonPropertiesEntry
|
||||||
uint32 Group; // 1, enum SummonPropGroup
|
uint32 Group; // 1, enum SummonPropGroup
|
||||||
uint32 FactionId; // 2, 14 rows > 0
|
uint32 FactionId; // 2, 14 rows > 0
|
||||||
uint32 Type; // 3, enum SummonPropType
|
uint32 Type; // 3, enum SummonPropType
|
||||||
uint32 Slot; // 4, if type = SUMMON_PROP_TYPE_TOTEM, its actual slot 0-6
|
uint32 Slot; // 4, if type = SUMMON_PROP_TYPE_TOTEM, its actual slot (0-6). Slot may have other uses, selection of pet type in some cases?
|
||||||
uint32 Flags; // 5, enum SummonPropFlags
|
uint32 Flags; // 5, enum SummonPropFlags
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4094,6 +4094,9 @@ void Spell::EffectSummonType(SpellEffectIndex eff_idx)
|
||||||
break;
|
break;
|
||||||
case SUMMON_PROP_TYPE_CRITTER:
|
case SUMMON_PROP_TYPE_CRITTER:
|
||||||
DoSummonCritter(eff_idx, summon_prop->FactionId);
|
DoSummonCritter(eff_idx, summon_prop->FactionId);
|
||||||
|
// TODO: differenciate between regular 'critter' types and 'critter' that are fighting.
|
||||||
|
// prop_id == 387 are expected to be fighting (but they have postfix 'companion').
|
||||||
|
// Note: summon_prop->Slot==6 may be related to how selection are done for this type (need more research)
|
||||||
break;
|
break;
|
||||||
case SUMMON_PROP_TYPE_PHASING:
|
case SUMMON_PROP_TYPE_PHASING:
|
||||||
case SUMMON_PROP_TYPE_LIGHTWELL:
|
case SUMMON_PROP_TYPE_LIGHTWELL:
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "10724"
|
#define REVISION_NR "10725"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue