PRC8/trunk/spells/sp_cracklepdr.nss
Jaysyn904 1662218bb4 Initial upload.
Adding base PRC 4.19a files to repository.
2022-10-07 13:51:24 -04:00

23 lines
901 B
Plaintext

///////////////////////////////////////////////////////////////
// Crackle Powder
// sp_cracklepdr.nss
///////////////////////////////////////////////////////////////
/*
Crackle Powder: This alchemical powder creates a loud
crackling noise, like a broomstick breaking, whenever it is
jostled or struck. A single packet covers a 5-foot-radius area;
applying the powder requires a full-round action. Once in
place, the powder remains active for 1 hour and imposes a
-10 penalty on Move Silently checks made when traversing
the area.*/
#include "prc_inc_spells"
void main()
{
location lLoc = PRCGetSpellTargetLocation();
effect eAoE = EffectAreaOfEffect(AOE_PER_CRACKLEPOWDER);
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_DUST_EXPLOSION), lLoc);
ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, eAoE, lLoc, HoursToSeconds(1));
}