mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 03:31:08 +00:00
Implement OP_CancelSneakHide
Didn't test every client, but they should all work
This commit is contained in:
+7
-3
@@ -5854,10 +5854,8 @@ int Mob::CheckBaneDamage(const ItemInst *item)
|
||||
return damage;
|
||||
}
|
||||
|
||||
void Mob::CommonBreakInvisible()
|
||||
void Mob::CancelSneakHide()
|
||||
{
|
||||
BreakInvisibleSpells();
|
||||
|
||||
if (hidden || improved_hidden) {
|
||||
hidden = false;
|
||||
improved_hidden = false;
|
||||
@@ -5871,6 +5869,12 @@ void Mob::CommonBreakInvisible()
|
||||
}
|
||||
}
|
||||
|
||||
void Mob::CommonBreakInvisible()
|
||||
{
|
||||
BreakInvisibleSpells();
|
||||
CancelSneakHide();
|
||||
}
|
||||
|
||||
#ifdef BOTS
|
||||
bool Mob::JoinHealRotationTargetPool(std::shared_ptr<HealRotation>* heal_rotation)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user