Fixed and cleaned up Client::Escape()

Fixed SE_FadingMemories to use Client::Escape()
Rogue AA Escape now uses a spell instead of AA Action
Bard AA Fading Memories now only uses the AA Action to eat mana
This commit is contained in:
mackal
2013-03-23 18:34:06 -04:00
parent ac040b5197
commit 2073ca8d38
6 changed files with 19 additions and 19 deletions
+3 -15
View File
@@ -3128,22 +3128,10 @@ uint8 Client::SlotConvert2(uint8 slot){
void Client::Escape()
{
hidden = true;
entity_list.ClearFeignAggro(this);
entity_list.RemoveFromTargets(this, true);
SetInvisible(1);
EQApplicationPacket *outapp = new EQApplicationPacket(OP_SimpleMessage,12);
SimpleMessage_Struct *msg=(SimpleMessage_Struct *)outapp->pBuffer;
msg->color=0x010E;
msg->string_id=114;
FastQueuePacket(&outapp);
outapp = new EQApplicationPacket(OP_SpawnAppearance, sizeof(SpawnAppearance_Struct));
SpawnAppearance_Struct* sa_out = (SpawnAppearance_Struct*)outapp->pBuffer;
sa_out->spawn_id = GetID();
sa_out->type = 0x03;
sa_out->parameter = 1;
entity_list.QueueClients(this, outapp);
safe_delete(outapp);
Message_StringID(MT_Skills, ESCAPE);
}
float Client::CalcPriceMod(Mob* other, bool reverse)