Battledale_PRC8/_module/nss/fr_log_west.nss

16 lines
355 B
Plaintext
Raw Permalink Normal View History

void main()
{
object oPC=GetLastUsedBy();
int iDC = 24;
int iBonus = GetAbilityModifier(ABILITY_DEXTERITY, GetPCSpeaker());
if (!((d20() + iBonus) >= iDC))
{
DelayCommand(0.7,AssignCommand(oPC,JumpToObject(GetWaypointByTag("fr_log_west00"),FALSE)));
}
else
{
SendMessageToPC(oPC,"You failed to balance yourself, so you did not feel safe to cross.");
}
}