Battledale_PRC8/_module/nss/fr_obeliskused.nss
Jaysyn904 7b9e44ebbb 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.
2024-03-11 23:44:08 -04:00

18 lines
339 B
Plaintext

void main()
{
object oPlayer = GetLastUsedBy();
int iDC = 32;
int iBonus = GetSkillRank(SKILL_LORE, oPlayer);
int iResult = iBonus + d20(1);
if (iResult >= iDC)
{
SendMessageToPC(oPlayer, "Written in arcane runes: The blessed black rock of the skies.");
}
else
{
SendMessageToPC(oPlayer, "You cannot understand the runes.");
}
}