mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[8997] Implement SUMMON_PROP_TYPE_REPAIR_BOT(12) support
Used only for item 49040 summon. Need DB support for proper work summoned creature.
This commit is contained in:
parent
457807eb80
commit
e17d3043ea
3 changed files with 4 additions and 2 deletions
|
|
@ -346,7 +346,8 @@ enum SummonPropType
|
||||||
SUMMON_PROP_TYPE_PHASING = 8, // something todo with DK prequest line, 2 spells in 3.0.3 "%s's Opponent"
|
SUMMON_PROP_TYPE_PHASING = 8, // something todo with DK prequest line, 2 spells in 3.0.3 "%s's Opponent"
|
||||||
SUMMON_PROP_TYPE_SIEGE_VEH = 9, // summon different vehicles, 14 spells in 3.0.3 "%s's Vehicle"
|
SUMMON_PROP_TYPE_SIEGE_VEH = 9, // summon different vehicles, 14 spells in 3.0.3 "%s's Vehicle"
|
||||||
SUMMON_PROP_TYPE_DRAKE_VEH = 10, // summon drake (vehicle), 3 spells
|
SUMMON_PROP_TYPE_DRAKE_VEH = 10, // summon drake (vehicle), 3 spells
|
||||||
SUMMON_PROP_TYPE_LIGHTWELL = 11 // summon lightwell, 6 spells in 3.0.3
|
SUMMON_PROP_TYPE_LIGHTWELL = 11, // summon lightwell, 6 spells in 3.0.3
|
||||||
|
SUMMON_PROP_TYPE_REPAIR_BOT = 12 // summon repir bot, 1 spells in 3.2.2a
|
||||||
};
|
};
|
||||||
|
|
||||||
// SummonProperties.dbc, col 5
|
// SummonProperties.dbc, col 5
|
||||||
|
|
|
||||||
|
|
@ -3442,6 +3442,7 @@ void Spell::EffectSummonType(uint32 i)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case SUMMON_PROP_TYPE_CRITTER:
|
case SUMMON_PROP_TYPE_CRITTER:
|
||||||
|
case SUMMON_PROP_TYPE_REPAIR_BOT:
|
||||||
{
|
{
|
||||||
EffectSummonCritter(i, summon_prop->FactionId);
|
EffectSummonCritter(i, summon_prop->FactionId);
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "8996"
|
#define REVISION_NR "8997"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue