mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-06 20:32:27 +00:00
Merge branch 'master' of https://github.com/EQEmu/Server
This commit is contained in:
commit
0ee3168241
@ -253,7 +253,7 @@ bool Mob::CheckWillAggro(Mob *mob) {
|
|||||||
//sometimes if a client has some lag while zoning into a dangerous place while either invis or a GM
|
//sometimes if a client has some lag while zoning into a dangerous place while either invis or a GM
|
||||||
//they will aggro mobs even though it's supposed to be impossible, to lets make sure we've finished connecting
|
//they will aggro mobs even though it's supposed to be impossible, to lets make sure we've finished connecting
|
||||||
if (mob->IsClient()) {
|
if (mob->IsClient()) {
|
||||||
if (!mob->CastToClient()->ClientFinishedLoading() || mob->CastToClient()->IsHoveringForRespawn())
|
if (!mob->CastToClient()->ClientFinishedLoading() || mob->CastToClient()->IsHoveringForRespawn() || mob->CastToClient()->zoning)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1563,7 +1563,7 @@ bool Client::Death(Mob* killerMob, int32 damage, uint16 spell, EQEmu::skills::Sk
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
entity_list.RemoveFromTargets(this);
|
entity_list.RemoveFromTargets(this, true);
|
||||||
hate_list.RemoveEntFromHateList(this);
|
hate_list.RemoveEntFromHateList(this);
|
||||||
RemoveAutoXTargets();
|
RemoveAutoXTargets();
|
||||||
|
|
||||||
|
|||||||
@ -795,7 +795,7 @@ void EntityList::AESpell(Mob *caster, Mob *center, uint16 spell_id, bool affect_
|
|||||||
continue;
|
continue;
|
||||||
if (dist_targ < min_range2) //make sure they are in range
|
if (dist_targ < min_range2) //make sure they are in range
|
||||||
continue;
|
continue;
|
||||||
if (isnpc && curmob->IsNPC()) { //check npc->npc casting
|
if (isnpc && curmob->IsNPC() && spells[spell_id].targettype != ST_AreaNPCOnly) { //check npc->npc casting
|
||||||
FACTION_VALUE f = curmob->GetReverseFactionCon(caster);
|
FACTION_VALUE f = curmob->GetReverseFactionCon(caster);
|
||||||
if (bad) {
|
if (bad) {
|
||||||
//affect mobs that are on our hate list, or
|
//affect mobs that are on our hate list, or
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user