mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-16 01:01:30 +00:00
Remove debugging from hate changes
This commit is contained in:
parent
73fe229e25
commit
8983953d7d
@ -2414,7 +2414,7 @@ void Mob::AddToHateList(Mob* other, uint32 hate /*= 0*/, int32 damage /*= 0*/, b
|
||||
|
||||
bool wasengaged = IsEngaged();
|
||||
Mob* owner = other->GetOwner();
|
||||
Mob* mypet = this->GetPet();
|
||||
Mob* mypet = this->GetPet();
|
||||
Mob* myowner = this->GetOwner();
|
||||
Mob* targetmob = this->GetTarget();
|
||||
|
||||
|
||||
@ -158,10 +158,10 @@ Mob* HateList::GetClosestEntOnHateList(Mob *hater)
|
||||
return close_entity;
|
||||
}
|
||||
|
||||
#include <iostream>
|
||||
// #include <iostream>
|
||||
void HateList::AddEntToHateList(Mob *in_entity, uint32 in_hate, int32 in_damage, bool in_is_entity_frenzy, bool iAddIfNotExist)
|
||||
{
|
||||
std::cout << "AddEntToHateList name: " << owner->GetCleanName() << " in_hate " << in_hate << " in_damage " << in_damage << std::endl;
|
||||
// std::cout << "AddEntToHateList name: " << owner->GetCleanName() << " in_hate " << in_hate << " in_damage " << in_damage << std::endl;
|
||||
|
||||
if (!in_entity) {
|
||||
return;
|
||||
|
||||
@ -27,7 +27,7 @@ struct ExtraAttackOptions;
|
||||
|
||||
struct struct_HateList {
|
||||
Mob *entity_on_hatelist;
|
||||
int32 hatelist_damage;
|
||||
uint32 hatelist_damage;
|
||||
uint32 stored_hate_amount;
|
||||
bool is_entity_frenzy;
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user