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
35 lines
1.4 KiB
Plaintext
35 lines
1.4 KiB
Plaintext
|
|
//:////////////////////////////////////
|
|
//: Eye of Gruumsh - Command the Horde
|
|
//: Gives +2 will saves to all allied
|
|
//: non-good orcs and half-orcs
|
|
//:////////////////////////////////////
|
|
#include "prc_alterations"
|
|
#include "prc_class_const"
|
|
#include "prc_spell_const"
|
|
|
|
void main()
|
|
{
|
|
object oCaster = OBJECT_SELF;
|
|
object oTarget = GetFirstObjectInShape(SHAPE_SPHERE, RADIUS_SIZE_COLOSSAL, GetLocation(oCaster) );
|
|
while(GetIsObjectValid(oTarget))
|
|
{
|
|
if(oTarget != oCaster &&
|
|
GetIsFriend(oTarget) &&
|
|
MyPRCGetRacialType(oTarget) == RACIAL_TYPE_HALFORC ||
|
|
MyPRCGetRacialType(oTarget) == RACIAL_TYPE_HUMANOID_ORC &&
|
|
GetAlignmentGoodEvil(oTarget) != ALIGNMENT_GOOD &&
|
|
!GetHasSpellEffect(SPELL_COMMAND_THE_HORDE, oTarget) )
|
|
{
|
|
int iEOGLevel = GetLevelByClass(CLASS_TYPE_PRC_EYE_OF_GRUUMSH, oCaster);
|
|
effect eWill = EffectSavingThrowIncrease(SAVING_THROW_WILL, 2, SAVING_THROW_TYPE_ALL);
|
|
eWill = ExtraordinaryEffect(eWill);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eWill, oTarget, HoursToSeconds(iEOGLevel) );
|
|
|
|
effect eVis = EffectVisualEffect(VFX_IMP_WILL_SAVING_THROW_USE, FALSE);
|
|
ApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, oTarget);
|
|
}
|
|
oTarget = GetNextObjectInShape(SHAPE_SPHERE, RADIUS_SIZE_COLOSSAL, GetLocation(oCaster) );
|
|
}
|
|
} |