Battledale_PRC8/_module/nss/px_polymorph_rat.nss

8 lines
333 B
Plaintext
Raw Permalink Normal View History

void main()
{
object oSpeaker = GetPCSpeaker();
ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectVisualEffect(VFX_FNF_SOUND_BURST_SILENT),GetLocalObject(oSpeaker,"polymorphtarget"), 1.0);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY,EffectPolymorph(POLYMORPH_TYPE_WERERAT, TRUE),GetLocalObject(oSpeaker,"polymorphtarget"), 1000.0);
}