PRC8_fork/nwn/trunk/scripts/prc_ai_con_spawn.nss
Jaysyn904 5914ed2ab5 Updated Release Archive
Updated Release Archive.  Fixed Mage-killer prereqs.  Removed old LETO & ConvoCC related files.  Added organized spell scroll store.  Fixed Gloura spellbook. Various TLK fixes.  Reorganized Repo.  Removed invalid user folders. Added DocGen back in.
2023-08-22 10:00:21 -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);
}
}