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,24 @@
#include "prc_inc_spells"
#include "x0_i0_modes"
void main()
{
object oPC = OBJECT_SELF;
if(GetIsAreaNatural(GetArea(oPC)) != AREA_NATURAL)
{
FloatingTextStringOnCreature("*You need natural surroundings to camouflage yourself in front of your foes.*", oPC, FALSE);
return;
}
object oSkin = GetPCSkin(oPC);
DelayCommand(0.2, SetActionMode(oPC, ACTION_MODE_STEALTH, TRUE));
DelayCommand(0.21, UseStealthMode());
DelayCommand(0.2, ActionUseSkill(SKILL_HIDE, oPC));
DelayCommand(0.2, ActionUseSkill(SKILL_MOVE_SILENTLY, oPC));
//AddItemProperty(DURATION_TYPE_TEMPORARY,PRCItemPropertyBonusFeat(31),oSkin,3.0f);
AddSkinFeat(FEAT_HIDE_IN_PLAIN_SIGHT, IP_CONST_FEAT_HIDE_IN_PLAIN_SIGHT, oSkin, oPC, 3.0f);
SetActionMode(oPC, ACTION_MODE_STEALTH, TRUE);
}