PRC8/nwn/nwnprc/trunk/newspellbook/bnd_vest_andsmt.nss
Jaysyn904 d87fe14826 Further file organization
Further file organization
2023-08-23 22:11:00 -04:00

11 lines
366 B
Plaintext

#include "prc_inc_smite"
void main()
{
object oBinder = OBJECT_SELF;
if(!BindAbilCooldown(oBinder, GetSpellId(), VESTIGE_ANDRAS)) return;
object oTarget = PRCGetSpellTargetObject();
if(GetAlignmentGoodEvil(oTarget) == ALIGNMENT_GOOD || GetAlignmentGoodEvil(oTarget) == ALIGNMENT_EVIL)
DoSmite(oBinder, oTarget, SMITE_TYPE_ANDRAS);
}