PRC8_fork/trunk/newspellbook/bnd_binder.nss
Jaysyn904 1662218bb4 Initial upload.
Adding base PRC 4.19a files to repository.
2022-10-07 13:51:24 -04:00

13 lines
420 B
Plaintext

#include "prc_class_const"
void main()
{
object oBinder = OBJECT_SELF;
int nClass = GetLevelByClass(CLASS_TYPE_BINDER, oBinder);
if (nClass >= 13)
ApplyEffectToObject(DURATION_TYPE_PERMANENT, SupernaturalEffect(EffectImmunity(IMMUNITY_TYPE_NEGATIVE_LEVEL)), oBinder);
if (nClass >= 6)
ApplyEffectToObject(DURATION_TYPE_PERMANENT, SupernaturalEffect(EffectImmunity(IMMUNITY_TYPE_FEAR)), oBinder);
}