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:
@@ -77,6 +77,7 @@ void AddRacialRestrictions(object oItem)
|
||||
AddRaceIP(oItem, RACIAL_TYPE_SATYR);
|
||||
AddRaceIP(oItem, RACIAL_TYPE_HYBSIL);
|
||||
AddRaceIP(oItem, RACIAL_TYPE_GLOURA);
|
||||
AddRaceIP(oItem, RACIAL_TYPE_JAEBRIN);
|
||||
}
|
||||
if(array_get_string(oItem, ARRAY_NAME, RACIAL_TYPE_GIANT) != "")
|
||||
{
|
||||
@@ -158,6 +159,7 @@ void AddRacialRestrictions(object oItem)
|
||||
AddRaceIP(oItem, RACIAL_TYPE_MARRULURK);
|
||||
AddRaceIP(oItem, RACIAL_TYPE_MARRUSAULT);
|
||||
AddRaceIP(oItem, RACIAL_TYPE_MARRUTACT);
|
||||
AddRaceIP(oItem, RACIAL_TYPE_HOBGOBLIN_WARSOUL);
|
||||
}
|
||||
if(array_get_string(oItem, ARRAY_NAME, RACIAL_TYPE_HALFORC) != "")
|
||||
{
|
||||
|
@@ -452,7 +452,17 @@ void main()
|
||||
{
|
||||
SetCreatureWingType(CREATURE_WING_TYPE_BUTTERFLY, oPC);
|
||||
}
|
||||
|
||||
if(GetRacialType(oPC) == RACIAL_TYPE_JAEBRIN)
|
||||
{
|
||||
SetCompositeBonus(oSkin, "Jaebrin_Spell", 4, ITEM_PROPERTY_SKILL_BONUS, SKILL_SPELLCRAFT);
|
||||
IPSafeAddItemProperty(oSkin, ItemPropertySpellImmunitySchool(IP_CONST_SPELLSCHOOL_ENCHANTMENT), 0.0f, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE);
|
||||
string sResRef = "prc_troll_bite_";
|
||||
int nSize = PRCGetCreatureSize(oPC);
|
||||
//:: Needs 1d3 @ Medium
|
||||
nSize--;
|
||||
sResRef += GetAffixForSize(nSize);
|
||||
AddNaturalPrimaryWeapon(oPC, sResRef, 1);
|
||||
}
|
||||
|
||||
//fire resistance 5
|
||||
if(GetHasFeat(FEAT_RESIST_FIRE5))
|
||||
|
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());
|
||||
}
|
||||
|
||||
|
||||
|
39
nwn/nwnprc/trunk/racescripts/race_wrsl_tyrant.nss
Normal file
39
nwn/nwnprc/trunk/racescripts/race_wrsl_tyrant.nss
Normal file
@@ -0,0 +1,39 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Soul Tyrant
|
||||
//:: race_wrsl_tyrant.nss
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
As a swift action, a warsoul can draw arcane
|
||||
power from a willing hobgoblin within 30 feet who has 10
|
||||
or fewer hit points. That hobgoblin is immediately slain,
|
||||
leaving behind a desiccated corpse. The warsoul heals 1
|
||||
hit point per Hit Die she has, and she receives a +2 bonus
|
||||
to the save DC of the next spell she casts. She also gains
|
||||
a +2 bonus on any attack roll required by the next spell
|
||||
she casts. If that spell deals damage, the warsoul receives
|
||||
a bonus on the damage roll equal to her Hit Dice.
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Stratovarius
|
||||
//:: Created On: Oct 27th, 2024
|
||||
//:://////////////////////////////////////////////
|
||||
#include "prc_alterations"
|
||||
#include "inc_npc"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oTarget = PRCGetSpellTargetObject();
|
||||
string sRes = GetResRef(oTarget);
|
||||
object oMaster = GetMaster(oTarget);
|
||||
|
||||
// If it has no master, it can be cleaned up as well
|
||||
if (OBJECT_SELF == oMaster || !GetIsObjectValid(oMaster))
|
||||
{
|
||||
if(sRes == "prc_wrsl_war")
|
||||
{
|
||||
DestroyObject(oTarget);
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectHeal(GetHitDice(OBJECT_SELF)), OBJECT_SELF);
|
||||
SetLocalInt(OBJECT_SELF, "WarsoulTyrant", 2);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user