mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-01 03:16:42 +00:00
[Spells] Implemented SPA 281 SE_PetFeignMinion (#1900)
* start * update * debugs in * test * clean up * debugs removed * Update mob_ai.cpp * Update spdat.h * [Spells] Implemented SPA 281 SE_PetFeignMinion debug remoevd * [Spells] Implemented SPA 281 SE_PetFeignMinion npc forget timer * [Spells] Implemented SPA 281 SE_PetFeignMinion
This commit is contained in:
@@ -145,7 +145,6 @@ Client::Client(EQStreamInterface* ieqs)
|
||||
global_channel_timer(1000),
|
||||
fishing_timer(8000),
|
||||
endupkeep_timer(1000),
|
||||
forget_timer(0),
|
||||
autosave_timer(RuleI(Character, AutosaveIntervalS) * 1000),
|
||||
client_scan_npc_aggro_timer(RuleI(Aggro, ClientAggroCheckIdleInterval)),
|
||||
client_zone_wide_full_position_update_timer(5 * 60 * 1000),
|
||||
@@ -186,7 +185,6 @@ Client::Client(EQStreamInterface* ieqs)
|
||||
character_id = 0;
|
||||
conn_state = NoPacketsReceived;
|
||||
client_data_loaded = false;
|
||||
feigned = false;
|
||||
berserk = false;
|
||||
dead = false;
|
||||
eqs = ieqs;
|
||||
@@ -2677,22 +2675,6 @@ void Client::MemorizeSpell(uint32 slot,uint32 spellid,uint32 scribing, uint32 re
|
||||
safe_delete(outapp);
|
||||
}
|
||||
|
||||
void Client::SetFeigned(bool in_feigned) {
|
||||
if (in_feigned)
|
||||
{
|
||||
if(RuleB(Character, FeignKillsPet))
|
||||
{
|
||||
SetPet(0);
|
||||
}
|
||||
SetHorseId(0);
|
||||
entity_list.ClearFeignAggro(this);
|
||||
forget_timer.Start(FeignMemoryDuration);
|
||||
} else {
|
||||
forget_timer.Disable();
|
||||
}
|
||||
feigned=in_feigned;
|
||||
}
|
||||
|
||||
void Client::LogMerchant(Client* player, Mob* merchant, uint32 quantity, uint32 price, const EQ::ItemData* item, bool buying)
|
||||
{
|
||||
if(!player || !merchant || !item)
|
||||
|
||||
Reference in New Issue
Block a user