LoD_PRC8/_module/nss/lcs_rarm_prev.nss
Jaysyn904 94990edc60 Initial Upload
Initial Upload
2023-09-21 21:20:34 -04:00

11 lines
313 B
Plaintext

#include "lcs_armr_include"
void main()
{
object oPC = GetPCSpeaker();
object oItem = GetItemInSlot(INVENTORY_SLOT_CHEST, oPC);
int nNewLine = lcs_GetPreviousValidArmor2DALine(oItem, ITEM_APPR_ARMOR_MODEL_RFOREARM);
lcs_ModifyandEquipNewArmor(oItem, ITEM_APPR_ARMOR_MODEL_RFOREARM, nNewLine);
}