#include "x2_inc_itemprop" #include "x3_inc_skin" void fnSpeedMonitor() { // PURPOSE: Monitor speed should be moving object oMe=OBJECT_SELF; effect eSpeed; if (GetLocalInt(oMe,"bBurstOfSpeed")) eSpeed=EffectMovementSpeedIncrease(99); else { eSpeed=EffectMovementSpeedIncrease(33); } ApplyEffectToObject(DURATION_TYPE_TEMPORARY,eSpeed,oMe,5.03); DelayCommand(5.0,fnSpeedMonitor()); } // fnSpeedMonitor() void main() { /* object oPC=OBJECT_SELF; itemproperty iProp; object oSkin=GetItemInSlot(INVENTORY_SLOT_CARMOUR,oPC); SetSkinInt(oPC,"bSetWemicProperties",TRUE); // set properties iProp=ItemPropertyAbilityBonus(ABILITY_STRENGTH,2); IPSafeAddItemProperty(oSkin,iProp); iProp=ItemPropertyAbilityBonus(ABILITY_CONSTITUTION,2); IPSafeAddItemProperty(oSkin,iProp); iProp=ItemPropertyDecreaseAbility(ABILITY_INTELLIGENCE,2); IPSafeAddItemProperty(oSkin,iProp); AssignCommand(oPC,fnSpeedMonitor()); SendMessageToPC(oPC,"Wemic Properties have been applied to your character."); */ }