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.
18 lines
339 B
Plaintext
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.");
|
|
}
|
|
|
|
}
|