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.");
|
||
|
}
|
||
|
|
||
|
}
|