18 lines
623 B
Plaintext
18 lines
623 B
Plaintext
#include "x2_inc_itemprop"
|
|
#include "x3_inc_skin"
|
|
|
|
void main()
|
|
{
|
|
/* object oPC=OBJECT_SELF;
|
|
itemproperty iProp;
|
|
object oSkin=GetItemInSlot(INVENTORY_SLOT_CARMOUR,oPC);
|
|
SetSkinInt(oPC,"bSetBrownieProperties",TRUE);
|
|
// set properties
|
|
iProp=ItemPropertyAbilityBonus(ABILITY_DEXTERITY,4);
|
|
IPSafeAddItemProperty(oSkin,iProp);
|
|
iProp=ItemPropertyDecreaseAbility(ABILITY_STRENGTH,4);
|
|
IPSafeAddItemProperty(oSkin,iProp);
|
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT,EffectMovementSpeedDecrease(10),oPC);
|
|
SendMessageToPC(oPC,"Brownie Properties have been applied to your character."); */
|
|
}
|