HoS_PRC8/_mod/_module/nss/effect_hb.nss

9 lines
306 B
Plaintext
Raw Permalink Normal View History

2024-11-25 19:36:07 -05:00
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);
}