Clear out experimental .35 files

Clear out experimental .35 files
This commit is contained in:
Jaysyn904
2024-02-11 13:04:14 -05:00
parent 2112b92e24
commit 618cd42b82
22356 changed files with 0 additions and 1248956 deletions

View File

@@ -1,28 +0,0 @@
/**
* Hexblade: Dark Companion
* 14/09/2005
* Stratovarius
* Type of Feat: Class Specific
* Prerequisite: Hexblade level 4.
* Specifics: The Hexblade gains a dark companion. It is an illusionary creature that does not engage in combat, but all monsters near it take a -2 penalty to AC and Saves.
* Use: Selected.
*/
#include "prc_class_const"
void main()
{
//Declare major variables
object oPC = GetAreaOfEffectCreator();
object oTarget = GetEnteringObject();
// Apply the Dark Companion penalties.
// Doesn't affect allies
if(!GetIsFriend(oTarget, oPC))
{
int nPen = GetLevelByClass(CLASS_TYPE_HEXBLADE, oPC) > 20 ? 4 : 2;
effect eLink = EffectSavingThrowDecrease(SAVING_THROW_ALL, nPen);
eLink = EffectLinkEffects(eLink, EffectACDecrease(nPen));
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eLink, oTarget, 6.0);
}
}