mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 10:37:03 +00:00
Updated battlegrounds stuff
This commit is contained in:
parent
e6115cdd55
commit
30142bd7cd
3 changed files with 12 additions and 6 deletions
|
|
@ -1041,10 +1041,10 @@ bool BattleGround::AddSpiritGuide(uint32 type, float x, float y, float z, float
|
||||||
|
|
||||||
pCreature->SetUInt64Value(UNIT_FIELD_CHANNEL_OBJECT, pCreature->GetGUID());
|
pCreature->SetUInt64Value(UNIT_FIELD_CHANNEL_OBJECT, pCreature->GetGUID());
|
||||||
// aura
|
// aura
|
||||||
pCreature->SetUInt32Value(UNIT_FIELD_AURA, SPELL_SPIRIT_HEAL_CHANNEL);
|
pCreature->SetVisibleAura(0, SPELL_SPIRIT_HEAL_CHANNEL);
|
||||||
pCreature->SetUInt32Value(UNIT_FIELD_AURAFLAGS, 0x00000009);
|
//pCreature->SetUInt32Value(UNIT_FIELD_AURAFLAGS, 0x00000009);
|
||||||
pCreature->SetUInt32Value(UNIT_FIELD_AURALEVELS, 0x0000003C);
|
//pCreature->SetUInt32Value(UNIT_FIELD_AURALEVELS, 0x0000003C);
|
||||||
pCreature->SetUInt32Value(UNIT_FIELD_AURAAPPLICATIONS, 0x000000FF);
|
//pCreature->SetUInt32Value(UNIT_FIELD_AURAAPPLICATIONS, 0x000000FF);
|
||||||
// casting visual effect
|
// casting visual effect
|
||||||
pCreature->SetUInt32Value(UNIT_CHANNEL_SPELL, SPELL_SPIRIT_HEAL_CHANNEL);
|
pCreature->SetUInt32Value(UNIT_CHANNEL_SPELL, SPELL_SPIRIT_HEAL_CHANNEL);
|
||||||
// correct cast speed
|
// correct cast speed
|
||||||
|
|
|
||||||
|
|
@ -140,7 +140,10 @@ enum BattleGroundTypeId
|
||||||
BATTLEGROUND_BE = 5,
|
BATTLEGROUND_BE = 5,
|
||||||
BATTLEGROUND_AA = 6,
|
BATTLEGROUND_AA = 6,
|
||||||
BATTLEGROUND_EY = 7,
|
BATTLEGROUND_EY = 7,
|
||||||
BATTLEGROUND_RL = 8
|
BATTLEGROUND_RL = 8,
|
||||||
|
BATTLEGROUND_SA = 9,
|
||||||
|
BATTLEGROUND_DS = 10,
|
||||||
|
BATTLEGROUND_RV = 11
|
||||||
};
|
};
|
||||||
|
|
||||||
enum ScoreType
|
enum ScoreType
|
||||||
|
|
|
||||||
|
|
@ -572,6 +572,9 @@ void BattleGroundMgr::BuildPvpLogDataPacket(WorldPacket *data, BattleGround *bg)
|
||||||
case BATTLEGROUND_BE:
|
case BATTLEGROUND_BE:
|
||||||
case BATTLEGROUND_AA:
|
case BATTLEGROUND_AA:
|
||||||
case BATTLEGROUND_RL:
|
case BATTLEGROUND_RL:
|
||||||
|
case BATTLEGROUND_SA: // wotlk
|
||||||
|
case BATTLEGROUND_DS: // wotlk
|
||||||
|
case BATTLEGROUND_RV: // wotlk
|
||||||
*data << (int32)0; // 0
|
*data << (int32)0; // 0
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue