mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2025-12-23 21:27:16 -05:00
Initial upload.
Adding base PRC 4.19a files to repository.
This commit is contained in:
11
trunk/newspellbook/bnd_vest_deshsmt.nss
Normal file
11
trunk/newspellbook/bnd_vest_deshsmt.nss
Normal file
@@ -0,0 +1,11 @@
|
||||
#include "prc_inc_smite"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oBinder = OBJECT_SELF;
|
||||
if(!BindAbilCooldown(oBinder, GetSpellId(), VESTIGE_DESHARIS)) return;
|
||||
object oTarget = PRCGetSpellTargetObject();
|
||||
int nRace = MyPRCGetRacialType(oTarget);
|
||||
if(nRace == RACIAL_TYPE_ANIMAL || nRace == RACIAL_TYPE_BEAST || nRace == RACIAL_TYPE_ELEMENTAL || nRace == RACIAL_TYPE_FEY || nRace == RACIAL_TYPE_PLANT)
|
||||
DoSmite(oBinder, oTarget, SMITE_TYPE_DESHARIS);
|
||||
}
|
||||
Reference in New Issue
Block a user