LoD_PRC8/_module/nss/turntopenguin.nss
Jaysyn904 94990edc60 Initial Upload
Initial Upload
2023-09-21 21:20:34 -04:00

15 lines
341 B
Plaintext

void main()
{
object oPC = GetLastOpenedBy();
if ( GetIsPC( oPC ) )
{
effect epolymorph = EffectPolymorph(POLYMORPH_TYPE_PENGUIN );
ActionWait(0.5);
ActionCastSpellAtObject( SPELL_POLYMORPH_SELF , oPC);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, epolymorph, oPC, 20.0);
SendMessageToPC(oPC, "You feel funky!");
}
}