10 lines
193 B
Plaintext
10 lines
193 B
Plaintext
|
void main()
|
||
|
{
|
||
|
object oPC = GetEnteringObject();
|
||
|
if (GetIsPC(oPC)){
|
||
|
if (GetWillSavingThrow(oPC) >= d20() ){
|
||
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectConfused(), oPC, 10.0);
|
||
|
}
|
||
|
}
|
||
|
}
|