Initial upload
Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
This commit is contained in:
15
_module/nss/fr_log_west.nss
Normal file
15
_module/nss/fr_log_west.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
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.");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user