/** * Thrallherd: Twofold Master * 16/04/2005 * Stratovarius * Type of Feat: Class Specific * Prerequisite: Thrallherd level 10. * Specifics: The Thrallherd gains a second thrall. This thrall's maximum level is equal to the thrallherd's level minus 2. * Use: Selected. */ #include "inc_rand_equip" #include "prc_alterations" #include "nw_o2_coninclude" void CleanCopy(object oImage) { SetLootable(oImage, FALSE); object oItem = GetFirstItemInInventory(oImage); while(GetIsObjectValid(oItem)) { SetDroppableFlag(oItem, FALSE); SetItemCursedFlag(oItem, TRUE); AddItemProperty(DURATION_TYPE_PERMANENT, ItemPropertyWeightReduction(IP_CONST_REDUCEDWEIGHT_10_PERCENT), oItem); SetIdentified(oItem, TRUE); oItem = GetNextItemInInventory(oImage); } int i; for(i=0;i= nMax) SetMaxHenchmen(i+1); effect eVis = EffectVisualEffect(VFX_FNF_SUMMON_UNDEAD); int nHD = GetHitDice(OBJECT_SELF); int nLevel = nHD - 2; object oCreature = CreateObject(OBJECT_TYPE_CREATURE, "psi_thrall_sorc", GetSpellTargetLocation(), FALSE, "psi_thrall_twofold"); AddHenchman(OBJECT_SELF, oCreature); ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eVis, GetLocation(oCreature)); int n; for(n=1;n