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,45 +0,0 @@
//::///////////////////////////////////////////////
//:: Blinding Beauty Enter
//:: race_blindbeauta.nss
//::///////////////////////////////////////////////
/*
Handles creatures entering the Aura AoE for
Blinding Beauty
*/
//:://////////////////////////////////////////////
//:: Created By: Fox
//:: Created On: Nov 27, 2007
//:://////////////////////////////////////////////
//#include "prc_alterations"
#include "prc_inc_spells"
void main()
{
object oTarget = GetEnteringObject();
object oNymph = GetAreaOfEffectCreator();
if(spellsIsTarget(oTarget, SPELL_TARGET_STANDARDHOSTILE, oNymph))
{
//don't blind self :P
if(oTarget == oNymph)
return;
//Fire cast spell at event for the specified target
SignalEvent(oTarget, EventSpellCastAt(oNymph, SPELL_NYMPH_BLINDING_BEAUTY));
// DC is charisma based
int nDC = 10 + (GetHitDice(oNymph) / 2) + GetAbilityModifier(ABILITY_CHARISMA, oNymph);
//Make Fort Save to negate effect
if (!/*Fort Save*/ PRCMySavingThrow(SAVING_THROW_FORT, oTarget, nDC, SAVING_THROW_TYPE_NONE))
{
effect eBlind = EffectBlindness();
effect eVis = EffectVisualEffect(VFX_IMP_BLIND_DEAF_M);
if(GetPRCSwitch(PRC_PNP_BLINDNESS_DEAFNESS))
eBlind = SupernaturalEffect(eBlind);
ApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, oTarget);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eBlind, oTarget);
}
}
}