PRC8/nwn/nwnprc/trunk/psionics/psi_pyro_lash.nss
Jaysyn904 6ec137a24e Updated AMS marker feats
Updated AMS marker feats.  Removed arcane & divine marker feats.  Updated Dread Necromancer for epic progression. Updated weapon baseitem models.  Updated new weapons for crafting & npc equip.
 Updated prefix.  Updated release archive.
2024-02-11 14:01:05 -05:00

24 lines
663 B
Plaintext

/*
prc_pyro_lash
Fire Lash code
By: Flaming_Sword
Created: Dec 6, 2007
Modified: Dec 7, 2007
*/
#include "prc_alterations"
#include "prc_x2_itemprop"
void main()
{
object oPC = OBJECT_SELF;
object oWhip = CreateItemOnObject("prc_pyro_lash_wh", oPC);
SetName(oWhip, GetPersistantLocalString(oPC, "PyroString") + " Lash");
IPSafeAddItemProperty(oWhip, ItemPropertyVisualEffect(GetPersistantLocalInt(oPC, "PyroVis")), 99999.0, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE);
AssignCommand(oPC, ActionEquipItem(oWhip, INVENTORY_SLOT_RIGHTHAND));
SetDroppableFlag(oWhip, FALSE);
SetItemCursedFlag(oWhip, TRUE);
}