mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 13:28:25 +00:00
Added CanDoCombat() checks to certain actions
This commit is contained in:
+2
-1
@@ -1534,7 +1534,8 @@ void NPC::PickPocket(Client* thief)
|
||||
}
|
||||
|
||||
if(zone->random.Roll(5)) {
|
||||
AddToHateList(thief, 50);
|
||||
if (zone->CanDoCombat())
|
||||
AddToHateList(thief, 50);
|
||||
Say("Stop thief!");
|
||||
thief->Message(13, "You are noticed trying to steal!");
|
||||
thief->SendPickPocketResponse(this, 0, PickPocketFailed);
|
||||
|
||||
Reference in New Issue
Block a user