13 lines
424 B
Plaintext
13 lines
424 B
Plaintext
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));
|
|
}
|