15 lines
409 B
Plaintext
15 lines
409 B
Plaintext
|
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");
|
||
|
}
|
||
|
|
||
|
}
|