Initial Upload
Initial Upload
This commit is contained in:
14
_module/nss/turntopenguin.nss
Normal file
14
_module/nss/turntopenguin.nss
Normal file
@@ -0,0 +1,14 @@
|
||||
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!");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user