mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-30 16:20:21 +00:00
Adjust NPC response to pickpocket attempts (Fixes #2219)
This commit is contained in:
parent
4aed5158cc
commit
35d2bfabca
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user