HoS_PRC8/_mod/_module/nss/effect_hb.nss
Jaysyn904 04165202c0 Initial upload
Initial upload
2024-11-25 19:36:07 -05:00

9 lines
306 B
Plaintext

void main()
{
object oMe=OBJECT_SELF;
int nEffect=GetLocalInt(oMe,"nEffect");
effect eVFX=EffectVisualEffect(nEffect);
if (GetNearestCreature(CREATURE_TYPE_PLAYER_CHAR,PLAYER_CHAR_IS_PC,oMe,1)!=OBJECT_INVALID)
ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY,eVFX,GetLocation(oMe),6.1);
}