mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-18 02:22:25 +00:00
Merge branch 'master' into auras
This commit is contained in:
commit
24ab98be4b
@ -1281,6 +1281,10 @@ void Client::Clearance(int8 response)
|
||||
} else {
|
||||
zs_addr = zs->GetIP().c_str();
|
||||
|
||||
if (!zs_addr[0]) {
|
||||
zs_addr = WorldConfig::get()->LocalAddress.c_str();
|
||||
}
|
||||
|
||||
if(strcmp(zs_addr, "127.0.0.1") == 0)
|
||||
{
|
||||
Log(Logs::Detail, Logs::World_Server, "Local zone address was %s, setting local address to: %s", zs_addr, WorldConfig::get()->LocalAddress.c_str());
|
||||
|
||||
@ -173,7 +173,5 @@ void Mob::CalculateNewFearpoint()
|
||||
}
|
||||
if (currently_fleeing)
|
||||
m_FearWalkTarget = glm::vec3(ranx, rany, ranz);
|
||||
else //Break fear
|
||||
BuffFadeByEffect(SE_Fear);
|
||||
}
|
||||
|
||||
|
||||
@ -3644,7 +3644,7 @@ void Mob::DoBuffTic(const Buffs_Struct &buff, int slot, Mob *caster)
|
||||
|
||||
case SE_Fear: {
|
||||
if (zone->random.Roll(RuleI(Spells, FearBreakCheckChance))) {
|
||||
float resist_check = ResistSpell(spells[buff.spellid].resisttype, buff.spellid, caster);
|
||||
float resist_check = ResistSpell(spells[buff.spellid].resisttype, buff.spellid, caster,0,0,true);
|
||||
|
||||
if (resist_check == 100)
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user