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

14 lines
375 B
Plaintext

#include "x2_inc_switches"
void main()
{
ExecuteScript("nw_ch_acani9", OBJECT_SELF);
//lootable, but not ressurectable
SetLootable(OBJECT_SELF, TRUE);
SetIsDestroyable(FALSE, FALSE, TRUE);
//fix attack count
int nNumber = GetLocalInt(OBJECT_SELF,CREATURE_VAR_NUMBER_OF_ATTACKS);
if (nNumber >0 )
{
SetBaseAttackBonus(nNumber);
}
}