*Use #defines instead of spellids for often used spells.

*Make recently broken talent Improved Healthstone work again - by iadus3.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-08-12 18:51:19 +02:00
parent 864e179240
commit bee1dff87f
6 changed files with 30 additions and 62 deletions

View File

@@ -155,7 +155,7 @@ void WorldSession::HandleMoveWorldportAckOpcode()
// honorless target
if(GetPlayer()->pvpInfo.inHostileArea)
GetPlayer()->CastSpell(GetPlayer(), 2479, true);
GetPlayer()->CastSpell(GetPlayer(), SPELL_ID_HONORLESS_TARGET, true);
// resummon pet
GetPlayer()->ResummonPetTemporaryUnSummonedIfAny();
@@ -203,7 +203,7 @@ void WorldSession::HandleMoveTeleportAck(WorldPacket& recv_data)
{
// honorless target
if(plMover->pvpInfo.inHostileArea)
plMover->CastSpell(plMover, 2479, true);
plMover->CastSpell(plMover, SPELL_ID_HONORLESS_TARGET, true);
}
// resummon pet