Battledale_PRC8/_module/nss/jw_nun_wildent.nss

15 lines
409 B
Plaintext
Raw Normal View History

void main()
{
// Sets the wild magic trigger to true for whoever walked in
object oPC=GetEnteringObject();
SetLocalInt(oPC,"jw_nun_wildm",TRUE);
// spellcraft check to see if PC notices
if (GetIsSkillSuccessful(oPC,SKILL_SPELLCRAFT,15))
{
FloatingTextStringOnCreature("You feel queasy",oPC,FALSE);
SendMessageToPC(oPC,"Spellcraft check succesful - you realise that you have entered a wild magic area");
}
}