13 lines
352 B
Plaintext
13 lines
352 B
Plaintext
#include "x2_inc_itemprop"
|
|
|
|
void main()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
object oItem = GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oPC);
|
|
if (!GetIsObjectValid(oItem)) return;
|
|
|
|
itemproperty ipAdd = ItemPropertyVisualEffect(ITEM_VISUAL_EVIL);
|
|
|
|
IPSafeAddItemProperty(oItem, ipAdd, 0.0, X2_IP_ADDPROP_POLICY_REPLACE_EXISTING, TRUE, TRUE);
|
|
}
|