mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
Some update and fix Glyph of the Monkey
This commit is contained in:
parent
baf1e7dfc3
commit
04786e7ee8
4 changed files with 7 additions and 5 deletions
|
|
@ -392,7 +392,7 @@ void InitializeOpcodes()
|
|||
OPCODE(CMSG_CANCEL_CHANNELLING, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleCancelChanneling );
|
||||
OPCODE(SMSG_AI_REACTION, STATUS_NEVER, PROCESS_INPLACE, &WorldSession::Handle_ServerSide );
|
||||
OPCODE(CMSG_SET_SELECTION, STATUS_LOGGEDIN, PROCESS_INPLACE, &WorldSession::HandleSetSelectionOpcode );
|
||||
OPCODE(CMSG_DELETEEQUIPMENT_SET, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleEquipmentSetDeleteOpcode );
|
||||
OPCODE(CMSG_EQUIPMENT_SET_DELETE, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleEquipmentSetDeleteOpcode );
|
||||
//OPCODE(CMSG_INSTANCE_LOCK_RESPONSE, STATUS_NEVER, PROCESS_INPLACE, &WorldSession::Handle_NULL );
|
||||
//OPCODE(CMSG_DEBUG_PASSIVE_AURA, STATUS_NEVER, PROCESS_INPLACE, &WorldSession::Handle_NULL );
|
||||
OPCODE(CMSG_ATTACKSWING, STATUS_LOGGEDIN, PROCESS_INPLACE, &WorldSession::HandleAttackSwingOpcode );
|
||||
|
|
|
|||
|
|
@ -376,7 +376,7 @@ enum Opcodes
|
|||
CMSG_CANCEL_CHANNELLING = 0x6C25, // 4.3.4 15595
|
||||
SMSG_AI_REACTION = 0x0637, // 4.3.4 15595
|
||||
CMSG_SET_SELECTION = 0x0506, // 4.3.4 15595
|
||||
CMSG_DELETEEQUIPMENT_SET = 0x4D07, // 4.3.4 15595
|
||||
CMSG_EQUIPMENT_SET_DELETE = 0x4D07, // 4.3.4 15595
|
||||
CMSG_INSTANCE_LOCK_RESPONSE = 0x1140,
|
||||
CMSG_DEBUG_PASSIVE_AURA = 0x1141,
|
||||
CMSG_ATTACKSWING = 0x0926, // 4.3.4 15595
|
||||
|
|
|
|||
|
|
@ -4595,13 +4595,12 @@ void Player::ResurrectPlayer(float restore_percent, bool applySickness)
|
|||
|
||||
// remove death flag + set aura
|
||||
SetByteValue(UNIT_FIELD_BYTES_1, 3, 0x00);
|
||||
|
||||
SetDeathState(ALIVE);
|
||||
|
||||
if (getRace() == RACE_NIGHTELF)
|
||||
RemoveAurasDueToSpell(20584); // speed bonuses
|
||||
RemoveAurasDueToSpell(8326); // SPELL_AURA_GHOST
|
||||
|
||||
SetDeathState(ALIVE);
|
||||
|
||||
SetWaterWalk(false);
|
||||
SetRoot(false);
|
||||
|
||||
|
|
|
|||
|
|
@ -4018,6 +4018,9 @@ void Aura::HandleAuraTransform(bool apply, bool Real)
|
|||
if (Unit* caster = GetCaster())
|
||||
if (caster->HasAura(52648)) // Glyph of the Penguin
|
||||
model_id = 26452;
|
||||
else
|
||||
if (caster->HasAura(57927)) // Glyph of the Monkey
|
||||
model_id = 21362;
|
||||
|
||||
target->SetDisplayId(model_id);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue