PoA_PRC8/_module/nss/secretbathyes.nss

13 lines
424 B
Plaintext
Raw Permalink Normal View History

2022-10-07 14:20:31 -04:00
void main()
{
object oPC = GetPCSpeaker();
//get the target waypoint destination
object oDrop = GetWaypointByTag("bathsecretentrance");
effect eBlood = EffectDamage(75, DAMAGE_TYPE_SLASHING, DAMAGE_POWER_PLUS_FIVE);
ApplyEffectToObject(DURATION_TYPE_INSTANT, eBlood, oPC);
SendMessageToPC(oPC, "The bloody tentacles slice at you as you pass.");
//jump the PC to the destination
AssignCommand (oPC,JumpToObject(oDrop));
}