Added Vow of Poverty
Added Vow of Poverty, Jaebrin, Hobgoblin Warsoul & Forsaker fixes (thanks PRC5 & @Fencas). Added iprp_matcost.2da for new materials. Updated PRC8 Tester module. Cohorts updated to support 8 classes. Fixed ranged disarm w/ Fighter. Updated release archive.
This commit is contained in:
36
nwn/nwnprc/trunk/racescripts/race_wrsl_thrall.nss
Normal file
36
nwn/nwnprc/trunk/racescripts/race_wrsl_thrall.nss
Normal file
@@ -0,0 +1,36 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Summon Cohort
|
||||
//:: Cohort
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Summons a Rashemen Barbarian as a Hathran cohort
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Sir Attilla
|
||||
//:: Created On: January 3 , 2004
|
||||
//:: Modified By: Stratovarius, bugfixes.
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
#include "prc_class_const"
|
||||
|
||||
void main()
|
||||
{
|
||||
effect eVis = EffectVisualEffect(VFX_FNF_SUMMON_GATE);
|
||||
|
||||
int nMaxHenchmen = GetMaxHenchmen();
|
||||
SetMaxHenchmen(99);
|
||||
|
||||
int nMax = d4(2);
|
||||
int i;
|
||||
for (i = 1; i <= nMax; i++)
|
||||
{
|
||||
object oCreature = CreateObject(OBJECT_TYPE_CREATURE, "prc_wrsl_war", GetSpellTargetLocation());
|
||||
AddHenchman(OBJECT_SELF, oCreature);
|
||||
}
|
||||
|
||||
SetMaxHenchmen(nMaxHenchmen);
|
||||
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eVis, GetSpellTargetLocation());
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user