2025-04-15 Update
Added Elven blades to Weaponmaster prereqs Fixed Beckon the Frozen Fixed bug with Fire Brand Fixed duration bug with Improved Invisibility Added Soul Eater to Shifter prereqs Fixed ability based class prereqs in prc_prereq.nss Update Eye of Gruumsh for epic levels Update Ur-Priest for epic levels Update Forsaker for epic levels Update Anima Mage for epic levels Update Serene Guardian for epic levels Bladesinger abilities can use chain shirts Fixed Elemental Abjuration Fixed bug with prc cache creature. Forsakers can use non-magic items (heal kits, alchemy, etc) Updated ruleset.2da for NWNEE update Updated AotS bonus feats -Notes Added 3.5e Template index Added 3.5e update booklet Removed release archive
This commit is contained in:
@@ -8,12 +8,32 @@
|
||||
//:: Created By: Oni5115
|
||||
//:: Created On: July 19, 2004
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
#include "prc_alterations"
|
||||
#include "prc_feat_const"
|
||||
#include "prc_class_const"
|
||||
|
||||
void ApplyRitualScarringDefense(object oPC, object oSkin)
|
||||
|
||||
//:: Ritual Scarring Natural AC bonus now handled in cls_stat_eog.2da
|
||||
|
||||
/* void ApplyRitualScarringDefense(object oPC, object oSkin)
|
||||
{
|
||||
int iEOGLevel = GetLevelByClass(CLASS_TYPE_PRC_EYE_OF_GRUUMSH, oPC);
|
||||
int ACBonus = 0;
|
||||
|
||||
// For levels 3 and above, scale the bonus indefinitely:
|
||||
// Level 3-5: bonus = 1; Level 6-8: bonus = 2; Level 9-11: bonus = 3; etc.
|
||||
if (iEOGLevel >= 3)
|
||||
{
|
||||
ACBonus = iEOGLevel / 3;
|
||||
}
|
||||
|
||||
itemproperty ipACBonus = ItemPropertyACBonus(ACBonus);
|
||||
|
||||
SetCompositeBonus(oSkin, "RitualScarringDefenseBonus", ACBonus, ITEM_PROPERTY_AC_BONUS);
|
||||
SetLocalInt(oPC, "HasRitualScarring", 2);
|
||||
}
|
||||
*/
|
||||
/* void ApplyRitualScarringDefense(object oPC, object oSkin)
|
||||
{
|
||||
int ACBonus = 0;
|
||||
int iEOGLevel = GetLevelByClass(CLASS_TYPE_PRC_EYE_OF_GRUUMSH, oPC);
|
||||
@@ -35,13 +55,13 @@ void ApplyRitualScarringDefense(object oPC, object oSkin)
|
||||
|
||||
SetCompositeBonus(oSkin, "RitualScarringDefenseBonus", ACBonus, ITEM_PROPERTY_AC_BONUS);
|
||||
SetLocalInt(oPC, "HasRitualScarring", 2);
|
||||
}
|
||||
} */
|
||||
|
||||
void RemoveRitualScarringDefense(object oPC, object oSkin)
|
||||
/* void RemoveRitualScarringDefense(object oPC, object oSkin)
|
||||
{
|
||||
SetCompositeBonus(oSkin, "RitualScarringDefenseBonus", 0, ITEM_PROPERTY_AC_BONUS);
|
||||
SetLocalInt(oPC, "HasRitualScarring", 1);
|
||||
}
|
||||
} */
|
||||
|
||||
void ApplySightOfGruumsh(object oPC, object oSkin)
|
||||
{
|
||||
@@ -75,7 +95,7 @@ void main()
|
||||
// Because the variables are not yet set.
|
||||
if(GetLocalInt(oPC, "HasRitualScarring") == 0 || GetLocalInt(oPC, "HasSightOfGruumsh") == 0 )
|
||||
{
|
||||
RemoveRitualScarringDefense(oPC, oSkin);
|
||||
//RemoveRitualScarringDefense(oPC, oSkin);
|
||||
RemoveSightOfGruumsh(oPC, oSkin);
|
||||
|
||||
if(GetHasFeat(FEAT_SIGHT_OF_GRUUMSH, oPC) )
|
||||
|
Reference in New Issue
Block a user