LoD_PRC8/_module/nss/lcs_wpn_tc_next.nss

11 lines
309 B
Plaintext
Raw Normal View History

2023-09-21 21:20:34 -04:00
#include "lcs_wpn_include"
void main()
{
object oPC = GetPCSpeaker();
object oItem = GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oPC);
int nNewLine = lcs_GetNextValidWeaponColor(oItem, ITEM_APPR_WEAPON_COLOR_TOP);
lcs_ModifyColorandEquipNewWeapon(oItem, ITEM_APPR_WEAPON_COLOR_TOP, nNewLine);
}