Further file organization

Further file organization
This commit is contained in:
Jaysyn904
2023-08-23 22:11:00 -04:00
parent 3062876237
commit d87fe14826
22364 changed files with 0 additions and 3253 deletions

View File

@@ -0,0 +1,23 @@
/*
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);
}