UseAmulet(PlayObject, 1, 2, nAmuletIdx);
CheckAmulet(PlayObject, 1, 2, nAmuletIdx)
boFuWen:false;
boDuYao:false;
CheckBoxGroupMbAttackPlayObject
if (not g_Config.boDuYao) or (CheckAmulet(PlayObject, 1, 2, nAmuletIdx) and g_Config.boDuYao) then
if g_Config.boDuYao then UseAmulet(PlayObject, 1, 2, nAmuletIdx);
if (not g_Config.boFuWen) or (CheckAmulet(PlayObject, 1, 2, nAmuletIdx) and g_Config.boFuWen) then
if g_Config.boFuWen then UseAmulet(PlayObject, 1, 2, nAmuletIdx);
New(TakeOffItem);
TakeOffItem^:=m_UseItems[btWhere];
AddItemToBag(TakeOffItem);
SendAddItem(TakeOffItem);
function CheckUserItems(nIdx:integer;StdItem:pTStdItem):Boolean; //004B2D70
be