1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 09:23:51 +00:00

Adjust NPC response to pickpocket attempts (Fixes #2219)

This commit is contained in:
scrawl 2014-12-18 18:02:09 +01:00
parent 4aed5158cc
commit 35d2bfabca

View file

@ -1053,7 +1053,7 @@ namespace MWMechanics
if (type == OT_Trespassing || type == OT_SleepingInOwnedBed) if (type == OT_Trespassing || type == OT_SleepingInOwnedBed)
fight = esmStore.get<ESM::GameSetting>().find("iFightTrespass")->getInt(); fight = esmStore.get<ESM::GameSetting>().find("iFightTrespass")->getInt();
else if (type == OT_Pickpocket) else if (type == OT_Pickpocket)
fight = esmStore.get<ESM::GameSetting>().find("iFightPickpocket")->getInt(); fight = esmStore.get<ESM::GameSetting>().find("iFightPickpocket")->getInt() * 4; // *4 according to research wiki
else if (type == OT_Assault) // Note: iFightAttack is for the victim, iFightAttacking for witnesses? else if (type == OT_Assault) // Note: iFightAttack is for the victim, iFightAttacking for witnesses?
fight = esmStore.get<ESM::GameSetting>().find("iFightAttack")->getInt(); fight = esmStore.get<ESM::GameSetting>().find("iFightAttack")->getInt();
else if (type == OT_Murder) else if (type == OT_Murder)